Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b39a0f00
Commit
b39a0f00
authored
Sep 26, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove no longer used clipboard driver entry points.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0fbf1a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
96 deletions
+0
-96
driver.c
dlls/user32/driver.c
+0
-89
user_private.h
dlls/user32/user_private.h
+0
-7
No files found.
dlls/user32/driver.c
View file @
b39a0f00
...
...
@@ -121,13 +121,6 @@ static const USER_DRIVER *load_driver(void)
GET_USER_FUNC
(
GetCursorPos
);
GET_USER_FUNC
(
SetCursorPos
);
GET_USER_FUNC
(
ClipCursor
);
GET_USER_FUNC
(
EmptyClipboard
);
GET_USER_FUNC
(
SetClipboardData
);
GET_USER_FUNC
(
GetClipboardData
);
GET_USER_FUNC
(
CountClipboardFormats
);
GET_USER_FUNC
(
EnumClipboardFormats
);
GET_USER_FUNC
(
IsClipboardFormatAvailable
);
GET_USER_FUNC
(
EndClipboardUpdate
);
GET_USER_FUNC
(
UpdateClipboard
);
GET_USER_FUNC
(
ChangeDisplaySettingsEx
);
GET_USER_FUNC
(
EnumDisplayMonitors
);
...
...
@@ -337,39 +330,6 @@ static BOOL CDECL nulldrv_ClipCursor( LPCRECT clip )
return
FALSE
;
}
static
BOOL
CDECL
nulldrv_CountClipboardFormats
(
void
)
{
return
0
;
}
static
void
CDECL
nulldrv_EmptyClipboard
(
void
)
{
}
static
void
CDECL
nulldrv_EndClipboardUpdate
(
void
)
{
}
static
UINT
CDECL
nulldrv_EnumClipboardFormats
(
UINT
format
)
{
return
0
;
}
static
HANDLE
CDECL
nulldrv_GetClipboardData
(
UINT
format
)
{
return
0
;
}
static
BOOL
CDECL
nulldrv_IsClipboardFormatAvailable
(
UINT
format
)
{
return
FALSE
;
}
static
BOOL
CDECL
nulldrv_SetClipboardData
(
UINT
format
,
HANDLE
handle
,
BOOL
owner
)
{
return
FALSE
;
}
static
void
CDECL
nulldrv_UpdateClipboard
(
void
)
{
}
...
...
@@ -546,13 +506,6 @@ static USER_DRIVER null_driver =
nulldrv_SetCursorPos
,
nulldrv_ClipCursor
,
/* clipboard functions */
nulldrv_CountClipboardFormats
,
nulldrv_EmptyClipboard
,
nulldrv_EndClipboardUpdate
,
nulldrv_EnumClipboardFormats
,
nulldrv_GetClipboardData
,
nulldrv_IsClipboardFormatAvailable
,
nulldrv_SetClipboardData
,
nulldrv_UpdateClipboard
,
/* display modes */
nulldrv_ChangeDisplaySettingsEx
,
...
...
@@ -687,41 +640,6 @@ static BOOL CDECL loaderdrv_ClipCursor( LPCRECT clip )
return
load_driver
()
->
pClipCursor
(
clip
);
}
static
BOOL
CDECL
loaderdrv_CountClipboardFormats
(
void
)
{
return
load_driver
()
->
pCountClipboardFormats
();
}
static
void
CDECL
loaderdrv_EmptyClipboard
(
void
)
{
load_driver
()
->
pEmptyClipboard
();
}
static
void
CDECL
loaderdrv_EndClipboardUpdate
(
void
)
{
load_driver
()
->
pEndClipboardUpdate
();
}
static
UINT
CDECL
loaderdrv_EnumClipboardFormats
(
UINT
format
)
{
return
load_driver
()
->
pEnumClipboardFormats
(
format
);
}
static
HANDLE
CDECL
loaderdrv_GetClipboardData
(
UINT
format
)
{
return
load_driver
()
->
pGetClipboardData
(
format
);
}
static
BOOL
CDECL
loaderdrv_IsClipboardFormatAvailable
(
UINT
format
)
{
return
load_driver
()
->
pIsClipboardFormatAvailable
(
format
);
}
static
BOOL
CDECL
loaderdrv_SetClipboardData
(
UINT
format
,
HANDLE
handle
,
BOOL
owner
)
{
return
load_driver
()
->
pSetClipboardData
(
format
,
handle
,
owner
);
}
static
void
CDECL
loaderdrv_UpdateClipboard
(
void
)
{
load_driver
()
->
pUpdateClipboard
();
...
...
@@ -809,13 +727,6 @@ static USER_DRIVER lazy_load_driver =
loaderdrv_SetCursorPos
,
loaderdrv_ClipCursor
,
/* clipboard functions */
loaderdrv_CountClipboardFormats
,
loaderdrv_EmptyClipboard
,
loaderdrv_EndClipboardUpdate
,
loaderdrv_EnumClipboardFormats
,
loaderdrv_GetClipboardData
,
loaderdrv_IsClipboardFormatAvailable
,
loaderdrv_SetClipboardData
,
loaderdrv_UpdateClipboard
,
/* display modes */
loaderdrv_ChangeDisplaySettingsEx
,
...
...
dlls/user32/user_private.h
View file @
b39a0f00
...
...
@@ -80,13 +80,6 @@ typedef struct tagUSER_DRIVER {
BOOL
(
CDECL
*
pSetCursorPos
)(
INT
,
INT
);
BOOL
(
CDECL
*
pClipCursor
)(
LPCRECT
);
/* clipboard functions */
BOOL
(
CDECL
*
pCountClipboardFormats
)(
void
);
/* Count available clipboard formats */
void
(
CDECL
*
pEmptyClipboard
)(
void
);
/* Empty clipboard data */
void
(
CDECL
*
pEndClipboardUpdate
)(
void
);
/* End clipboard update */
UINT
(
CDECL
*
pEnumClipboardFormats
)(
UINT
);
/* Enumerate clipboard formats */
HANDLE
(
CDECL
*
pGetClipboardData
)(
UINT
);
/* Get specified selection data */
BOOL
(
CDECL
*
pIsClipboardFormatAvailable
)(
UINT
);
/* Check if specified format is available */
BOOL
(
CDECL
*
pSetClipboardData
)(
UINT
,
HANDLE
,
BOOL
);
/* Set specified selection data */
void
(
CDECL
*
pUpdateClipboard
)(
void
);
/* display modes */
LONG
(
CDECL
*
pChangeDisplaySettingsEx
)(
LPCWSTR
,
LPDEVMODEW
,
HWND
,
DWORD
,
LPVOID
);
...
...
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