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
806d8552
Commit
806d8552
authored
May 30, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
May 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Introduce NtUserClipboardWindowProc.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
parent
b4bf1fb7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
driver.c
dlls/win32u/driver.c
+7
-0
message.c
dlls/win32u/message.c
+2
-0
ntuser.h
include/ntuser.h
+3
-2
gdi_driver.h
include/wine/gdi_driver.h
+1
-0
No files found.
dlls/win32u/driver.c
View file @
806d8552
...
...
@@ -1099,6 +1099,11 @@ static BOOL loaderdrv_ClipCursor( const RECT *clip )
return
load_driver
()
->
pClipCursor
(
clip
);
}
static
LRESULT
nulldrv_ClipboardWindowProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
static
void
loaderdrv_UpdateClipboard
(
void
)
{
load_driver
()
->
pUpdateClipboard
();
...
...
@@ -1172,6 +1177,7 @@ static const struct user_driver_funcs lazy_load_driver =
loaderdrv_SetCursorPos
,
loaderdrv_ClipCursor
,
/* clipboard functions */
nulldrv_ClipboardWindowProc
,
loaderdrv_UpdateClipboard
,
/* display modes */
loaderdrv_ChangeDisplaySettingsEx
,
...
...
@@ -1247,6 +1253,7 @@ void CDECL __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT v
SET_USER_FUNC
(
GetCursorPos
);
SET_USER_FUNC
(
SetCursorPos
);
SET_USER_FUNC
(
ClipCursor
);
SET_USER_FUNC
(
ClipboardWindowProc
);
SET_USER_FUNC
(
UpdateClipboard
);
SET_USER_FUNC
(
ChangeDisplaySettingsEx
);
SET_USER_FUNC
(
EnumDisplaySettingsEx
);
...
...
dlls/win32u/message.c
View file @
806d8552
...
...
@@ -2911,6 +2911,8 @@ LRESULT WINAPI NtUserMessageCall( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
return
send_notify_message
(
hwnd
,
msg
,
wparam
,
lparam
,
ansi
);
case
NtUserSendMessageCallback
:
return
send_message_callback
(
hwnd
,
msg
,
wparam
,
lparam
,
(
void
*
)
result_info
,
ansi
);
case
NtUserClipboardWindowProc
:
return
user_driver
->
pClipboardWindowProc
(
hwnd
,
msg
,
wparam
,
lparam
);
case
NtUserSpyEnter
:
spy_enter_message
(
ansi
,
hwnd
,
msg
,
wparam
,
lparam
);
return
0
;
...
...
include/ntuser.h
View file @
806d8552
...
...
@@ -189,8 +189,9 @@ enum
NtUserSendNotifyMessage
=
0x02b7
,
NtUserSendMessageCallback
=
0x02b8
,
/* Wine-specific exports */
NtUserSpyEnter
=
0x0300
,
NtUserSpyExit
=
0x0301
,
NtUserClipboardWindowProc
=
0x0300
,
NtUserSpyEnter
=
0x0301
,
NtUserSpyExit
=
0x0302
,
};
/* NtUserThunkedMenuItemInfo codes */
...
...
include/wine/gdi_driver.h
View file @
806d8552
...
...
@@ -291,6 +291,7 @@ struct user_driver_funcs
BOOL
(
*
pSetCursorPos
)(
INT
,
INT
);
BOOL
(
*
pClipCursor
)(
LPCRECT
);
/* clipboard functions */
LRESULT
(
*
pClipboardWindowProc
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
void
(
*
pUpdateClipboard
)(
void
);
/* display modes */
LONG
(
*
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