Author: jimtabor
Date: Sat Apr 5 00:44:45 2008
New Revision: 32867
URL:
http://svn.reactos.org/svn/reactos?rev=32867&view=rev
Log:
Update NtUserMessageCall prototype. Used Wine message tests to track down types.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/message.c
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Sat Apr 5 00:44:45 2008
@@ -1584,16 +1584,23 @@
DWORD keyboardId,
HKL dwhkl );
-DWORD
+#define NUMC_SENDMESSAGE 0x02B0
+// Kernel has option to use TO or normal msg send, based on type of msg.
+#define NUMC_SENDMESSAGEWTOOPTION 0x02B1
+#define NUMC_SENDMESSAGETIMEOUT 0x02B2
+#define NUMC_BROADCASTSYSTEMMESSAGE 0x02B4
+#define NUMC_SENDNOTIFYMESSAGE 0x02B7
+#define NUMC_SENDMESSAGECALLBACK 0x02B8
+LRESULT
NTAPI
NtUserMessageCall(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6);
+ HWND hWnd,
+ UINT Msg,
+ WPARAM wParam,
+ LPARAM lParam,
+ ULONG_PTR ResultInfo,
+ DWORD dwType, // NUMC_XX types
+ BOOL Ansi);
DWORD
NTAPI
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] Sat Apr 5
00:44:45 2008
@@ -1053,16 +1053,15 @@
END_CLEANUP;
}
-DWORD
-STDCALL
+LRESULT STDCALL
NtUserMessageCall(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6)
+ HWND hWnd,
+ UINT Msg,
+ WPARAM wParam,
+ LPARAM lParam,
+ ULONG_PTR ResultInfo,
+ DWORD dwType,
+ BOOL Ansi)
{
UNIMPLEMENTED