Author: jimtabor
Date: Fri Jul 18 22:49:48 2008
New Revision: 34582
URL:
http://svn.reactos.org/svn/reactos?rev=34582&view=rev
Log:
Move NUMC defines to FNIDs.
Modified:
trunk/reactos/dll/win32/user32/windows/defwnd.c
trunk/reactos/dll/win32/user32/windows/message.c
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/message.c
Modified: trunk/reactos/dll/win32/user32/windows/defwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/defwnd.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/defwnd.c [iso-8859-1] Fri Jul 18 22:49:48 2008
@@ -1410,7 +1410,7 @@
case WM_SHOWWINDOW:
{
- NtUserMessageCall( hWnd, Msg, wParam, lParam, 0, NUMC_DEFWINDOWPROC, FALSE);
+ NtUserMessageCall( hWnd, Msg, wParam, lParam, 0, FNID_DEFWINDOWPROC, FALSE);
break;
}
Modified: trunk/reactos/dll/win32/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/message.c [iso-8859-1] Fri Jul 18 22:49:48
2008
@@ -1851,7 +1851,7 @@
wParam,
lParam,
(ULONG_PTR)&lpCallBack,
- NUMC_SENDMESSAGECALLBACK,
+ FNID_SENDMESSAGECALLBACK,
TRUE);
}
@@ -1873,7 +1873,7 @@
wParam,
lParam,
(ULONG_PTR)&lpCallBack,
- NUMC_SENDMESSAGECALLBACK,
+ FNID_SENDMESSAGECALLBACK,
FALSE);
}
@@ -2636,7 +2636,7 @@
wParam,
lParam,
(ULONG_PTR)&parm,
- NUMC_BROADCASTSYSTEMMESSAGE,
+ FNID_BROADCASTSYSTEMMESSAGE,
Ansi);
}
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] Fri Jul 18 22:49:48 2008
@@ -204,23 +204,34 @@
} PFNCLIENTWORKER, *PPFNCLIENTWORKER;
-// FNID's for NtUserSetWindowFNID
-#define FNID_SCROLLBAR 0x029A
-#define FNID_ICONTITLE 0x029B
-#define FNID_MENU 0x029C
-#define FNID_DESKTOP 0x029D
-#define FNID_SWITCH 0x02A0
-#define FNID_BUTTON 0x02A1
-#define FNID_COMBOBOX 0x02A2
-#define FNID_COMBOLBOX 0x02A3
-#define FNID_DIALOG 0x02A4
-#define FNID_EDIT 0x02A5
-#define FNID_LISTBOX 0x02A6
-#define FNID_MDICLIENT 0x02A7
-#define FNID_STATIC 0x02A8
-#define FNID_IME 0x02A9
-#define FNID_TOOLTIPS 0x02B5
-#define FNID_UNKNOWN 0x02B6
+// FNID's for NtUserSetWindowFNID, NtUserMessageCall
+#define FNID_SCROLLBAR 0x029A
+#define FNID_ICONTITLE 0x029B
+#define FNID_MENU 0x029C
+#define FNID_DESKTOP 0x029D
+#define FNID_DEFWINDOWPROC 0x029E
+#define FNID_SWITCH 0x02A0
+#define FNID_BUTTON 0x02A1
+#define FNID_COMBOBOX 0x02A2
+#define FNID_COMBOLBOX 0x02A3
+#define FNID_DIALOG 0x02A4
+#define FNID_EDIT 0x02A5
+#define FNID_LISTBOX 0x02A6
+#define FNID_MDICLIENT 0x02A7
+#define FNID_STATIC 0x02A8
+#define FNID_IME 0x02A9
+#define FNID_CALLWNDPROC 0x02AA
+#define FNID_CALLWNDPROCRET 0x02AB
+#define FNID_SENDMESSAGE 0x02B0
+// Kernel has option to use TimeOut or normal msg send, based on type of msg.
+#define FNID_SENDMESSAGEWTOOPTION 0x02B1
+#define FNID_SENDMESSAGETIMEOUT 0x02B2
+#define FNID_BROADCASTSYSTEMMESSAGE 0x02B4
+#define FNID_TOOLTIPS 0x02B5
+#define FNID_UNKNOWN 0x02B6
+#define FNID_SENDNOTIFYMESSAGE 0x02B7
+#define FNID_SENDMESSAGECALLBACK 0x02B8
+
#define FNID_DDEML 0x2000 // Registers DDEML
#define FNID_DESTROY 0x4000 // This is sent when WM_NCDESTROY or in the support
routine.
@@ -1725,15 +1736,6 @@
UINT transType,
DWORD keyboardId,
HKL dwhkl );
-// Look like fnID's
-#define NUMC_DEFWINDOWPROC 0x029E
-#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(
@@ -1742,7 +1744,7 @@
WPARAM wParam,
LPARAM lParam,
ULONG_PTR ResultInfo,
- DWORD dwType, // NUMC_XX types
+ DWORD dwType, // FNID_XX types
BOOL Ansi);
DWORD
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] Fri Jul 18
22:49:48 2008
@@ -1861,7 +1861,7 @@
UserRefObjectCo(Window, &Ref);
switch(dwType)
{
- case NUMC_DEFWINDOWPROC:
+ case FNID_DEFWINDOWPROC:
lResult = IntDefWindowProc(Window, Msg, wParam, lParam);
break;
}