Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c7de3401
Commit
c7de3401
authored
Nov 30, 2001
by
Andriy Palamarchuk
Committed by
Alexandre Julliard
Nov 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed Get/SetScreenSaveTimeout user driver functions because they
are not used.
parent
caf81dc0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
59 deletions
+0
-59
ttydrv.spec
dlls/ttydrv/ttydrv.spec
+0
-2
user.c
dlls/ttydrv/user.c
+0
-20
user_main.c
dlls/user/user_main.c
+0
-2
x11drv.spec
dlls/x11drv/x11drv.spec
+0
-2
x11drv_main.c
dlls/x11drv/x11drv_main.c
+0
-31
user.h
include/user.h
+0
-2
No files found.
dlls/ttydrv/ttydrv.spec
View file @
c7de3401
...
...
@@ -55,8 +55,6 @@ debug_channels (ttydrv)
@ cdecl SetCursor(ptr) TTYDRV_SetCursor
@ cdecl GetScreenSaveActive() TTYDRV_GetScreenSaveActive
@ cdecl SetScreenSaveActive(long) TTYDRV_SetScreenSaveActive
@ cdecl GetScreenSaveTimeout() TTYDRV_GetScreenSaveTimeout
@ cdecl SetScreenSaveTimeout(long) TTYDRV_SetScreenSaveTimeout
@ cdecl LoadOEMResource(long long) TTYDRV_LoadOEMResource
@ cdecl CreateWindow(long ptr long) TTYDRV_CreateWindow
@ cdecl DestroyWindow(long) TTYDRV_DestroyWindow
...
...
dlls/ttydrv/user.c
View file @
c7de3401
...
...
@@ -85,26 +85,6 @@ void TTYDRV_SetScreenSaveActive(BOOL bActivate)
FIXME
(
"(%d): stub
\n
"
,
bActivate
);
}
/***********************************************************************
* GetScreenSaveTimeout (TTYDRV.@)
*
* Return the screen saver timeout
*/
int
TTYDRV_GetScreenSaveTimeout
(
void
)
{
return
0
;
}
/***********************************************************************
* SetScreenSaveTimeout (TTYDRV.@)
*
* Set the screen saver timeout
*/
void
TTYDRV_SetScreenSaveTimeout
(
int
nTimeout
)
{
FIXME
(
"(%d): stub
\n
"
,
nTimeout
);
}
/**********************************************************************
* LoadOEMResource (TTYDRV.@)
*/
...
...
dlls/user/user_main.c
View file @
c7de3401
...
...
@@ -73,8 +73,6 @@ static BOOL load_driver(void)
GET_USER_FUNC
(
SetCursorPos
);
GET_USER_FUNC
(
GetScreenSaveActive
);
GET_USER_FUNC
(
SetScreenSaveActive
);
GET_USER_FUNC
(
GetScreenSaveTimeout
);
GET_USER_FUNC
(
SetScreenSaveTimeout
);
GET_USER_FUNC
(
LoadOEMResource
);
GET_USER_FUNC
(
AcquireClipboard
);
GET_USER_FUNC
(
ReleaseClipboard
);
...
...
dlls/x11drv/x11drv.spec
View file @
c7de3401
...
...
@@ -72,8 +72,6 @@ debug_channels (bitblt bitmap clipboard cursor dinput event font gdi graphics
@ cdecl SetCursorPos(long long) X11DRV_SetCursorPos
@ cdecl GetScreenSaveActive() X11DRV_GetScreenSaveActive
@ cdecl SetScreenSaveActive(long) X11DRV_SetScreenSaveActive
@ cdecl GetScreenSaveTimeout() X11DRV_GetScreenSaveTimeout
@ cdecl SetScreenSaveTimeout(long) X11DRV_SetScreenSaveTimeout
@ cdecl LoadOEMResource(long long) X11DRV_LoadOEMResource
@ cdecl CreateWindow(long ptr long) X11DRV_CreateWindow
@ cdecl DestroyWindow(long) X11DRV_DestroyWindow
...
...
dlls/x11drv/x11drv_main.c
View file @
c7de3401
...
...
@@ -501,34 +501,3 @@ void X11DRV_SetScreenSaveActive(BOOL bActivate)
TSXSetScreenSaver
(
gdi_display
,
timeout
,
interval
,
prefer_blanking
,
allow_exposures
);
}
/***********************************************************************
* GetScreenSaveTimeout (X11DRV.@)
*
* Return the screen saver timeout
*/
int
X11DRV_GetScreenSaveTimeout
(
void
)
{
int
timeout
,
temp
;
TSXGetScreenSaver
(
gdi_display
,
&
timeout
,
&
temp
,
&
temp
,
&
temp
);
return
timeout
;
}
/***********************************************************************
* SetScreenSaveTimeout (X11DRV.@)
*
* Set the screen saver timeout
*/
void
X11DRV_SetScreenSaveTimeout
(
int
nTimeout
)
{
int
timeout
,
interval
,
prefer_blanking
,
allow_exposures
;
TSXGetScreenSaver
(
gdi_display
,
&
timeout
,
&
interval
,
&
prefer_blanking
,
&
allow_exposures
);
/* timeout is a 16bit entity (CARD16) in the protocol, so it should
* not get over 32767 or it will get negative. */
if
(
nTimeout
>
32767
)
nTimeout
=
32767
;
TSXSetScreenSaver
(
gdi_display
,
nTimeout
,
interval
,
prefer_blanking
,
allow_exposures
);
}
include/user.h
View file @
c7de3401
...
...
@@ -63,8 +63,6 @@ typedef struct tagUSER_DRIVER {
/* screen saver functions */
BOOL
(
*
pGetScreenSaveActive
)(
void
);
void
(
*
pSetScreenSaveActive
)(
BOOL
);
int
(
*
pGetScreenSaveTimeout
)(
void
);
void
(
*
pSetScreenSaveTimeout
)(
int
);
/* resource functions */
HANDLE
(
*
pLoadOEMResource
)(
WORD
,
WORD
);
/* clipboard functions */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment