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
61b80f67
Commit
61b80f67
authored
Aug 01, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Remove no longer needed NtUserSendDriverMessage.
All messages are packed now anyway.
parent
f693d660
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
message.c
dlls/win32u/message.c
+0
-4
macdrv.h
dlls/winemac.drv/macdrv.h
+1
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-1
ntuser.h
include/ntuser.h
+4
-5
No files found.
dlls/win32u/message.c
View file @
61b80f67
...
@@ -4286,10 +4286,6 @@ LRESULT WINAPI NtUserMessageCall( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
...
@@ -4286,10 +4286,6 @@ LRESULT WINAPI NtUserMessageCall( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpa
else
RtlSetLastWin32Error
(
ERROR_MESSAGE_SYNC_ONLY
);
else
RtlSetLastWin32Error
(
ERROR_MESSAGE_SYNC_ONLY
);
return
FALSE
;
return
FALSE
;
case
NtUserSendDriverMessage
:
/* used by driver to send packed messages */
return
send_message
(
hwnd
,
msg
,
wparam
,
lparam
);
case
NtUserSpyEnter
:
case
NtUserSpyEnter
:
spy_enter_message
(
ansi
,
hwnd
,
msg
,
wparam
,
lparam
);
spy_enter_message
(
ansi
,
hwnd
,
msg
,
wparam
,
lparam
);
return
0
;
return
0
;
...
...
dlls/winemac.drv/macdrv.h
View file @
61b80f67
...
@@ -290,7 +290,7 @@ extern NTSTATUS macdrv_client_func(enum macdrv_client_funcs func, const void *pa
...
@@ -290,7 +290,7 @@ extern NTSTATUS macdrv_client_func(enum macdrv_client_funcs func, const void *pa
static
inline
LRESULT
send_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
static
inline
LRESULT
send_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
{
return
NtUserMessageCall
(
hwnd
,
msg
,
wparam
,
lparam
,
NULL
,
NtUserSend
Driver
Message
,
FALSE
);
return
NtUserMessageCall
(
hwnd
,
msg
,
wparam
,
lparam
,
NULL
,
NtUserSendMessage
,
FALSE
);
}
}
static
inline
LRESULT
send_message_timeout
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
static
inline
LRESULT
send_message_timeout
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
...
...
dlls/winex11.drv/x11drv.h
View file @
61b80f67
...
@@ -862,7 +862,7 @@ static inline UINT get_palette_entries( HPALETTE palette, UINT start, UINT count
...
@@ -862,7 +862,7 @@ static inline UINT get_palette_entries( HPALETTE palette, UINT start, UINT count
static
inline
LRESULT
send_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
static
inline
LRESULT
send_message
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
{
return
NtUserMessageCall
(
hwnd
,
msg
,
wparam
,
lparam
,
NULL
,
NtUserSend
Driver
Message
,
FALSE
);
return
NtUserMessageCall
(
hwnd
,
msg
,
wparam
,
lparam
,
NULL
,
NtUserSendMessage
,
FALSE
);
}
}
static
inline
LRESULT
send_message_timeout
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
static
inline
LRESULT
send_message_timeout
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
,
...
...
include/ntuser.h
View file @
61b80f67
...
@@ -301,11 +301,10 @@ enum
...
@@ -301,11 +301,10 @@ enum
/* Wine-specific exports */
/* Wine-specific exports */
NtUserClipboardWindowProc
=
0x0300
,
NtUserClipboardWindowProc
=
0x0300
,
NtUserGetDispatchParams
=
0x3001
,
NtUserGetDispatchParams
=
0x3001
,
NtUserSendDriverMessage
=
0x3002
,
NtUserSpyGetMsgName
=
0x3002
,
NtUserSpyGetMsgName
=
0x3003
,
NtUserSpyEnter
=
0x0303
,
NtUserSpyEnter
=
0x0304
,
NtUserSpyExit
=
0x0304
,
NtUserSpyExit
=
0x0305
,
NtUserImeDriverCall
=
0x0305
,
NtUserImeDriverCall
=
0x0306
,
};
};
/* NtUserThunkedMenuItemInfo codes */
/* NtUserThunkedMenuItemInfo codes */
...
...
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