Author: jimtabor
Date: Tue Jul 8 02:38:28 2008
New Revision: 34364
URL:
http://svn.reactos.org/svn/reactos?rev=34364&view=rev
Log:
Update the rest of the prototypes and stubs.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/class.c
trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
trunk/reactos/subsystems/win32/win32k/ntuser/window.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] Tue Jul 8 02:38:28 2008
@@ -1207,10 +1207,10 @@
DWORD dwUnknown
);
-DWORD
+BOOL
NTAPI
NtUserFlashWindowEx(
- DWORD Unknown0);
+ IN PFLASHWINFO pfwi);
BOOL
NTAPI
@@ -1230,16 +1230,16 @@
NtUserGetAppImeLevel(
DWORD dwUnknown1);
-DWORD
+SHORT
NTAPI
NtUserGetAsyncKeyState(
- DWORD Unknown0);
+ INT Key);
DWORD
NTAPI
NtUserGetAtomName(
- DWORD dwUnknown1,
- DWORD dwUnknown2);
+ ATOM nAtom,
+ LPWSTR lpBuffer);
UINT
NTAPI
@@ -1738,9 +1738,9 @@
DWORD
NTAPI
NtUserMinMaximize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ HWND hWnd,
+ UINT cmd, // Wine SW_ commands
+ BOOL Hide);
DWORD
NTAPI
@@ -2072,12 +2072,12 @@
ULONG_PTR dwNewLong,
BOOL Ansi );
-DWORD
+WORD
NTAPI
NtUserSetClassWord(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ HWND hWnd,
+ INT nIndex,
+ WORD wNewWord);
HANDLE
NTAPI
@@ -2176,15 +2176,15 @@
DWORD
NTAPI
NtUserSetInternalWindowPos(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3);
-
-DWORD
+ HWND hwnd,
+ UINT showCmd,
+ LPRECT rect,
+ LPPOINT pt);
+
+BOOL
NTAPI
NtUserSetKeyboardState(
- LPBYTE Unknown0);
+ LPBYTE lpKeyState);
BOOL
NTAPI
@@ -2194,10 +2194,10 @@
BYTE bAlpha,
DWORD dwFlags);
-DWORD
+BOOL
NTAPI
NtUserSetLogonNotifyWindow(
- DWORD Unknown0);
+ HWND hWnd);
BOOL
NTAPI
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] Tue Jul 8 02:38:28
2008
@@ -2103,10 +2103,12 @@
return Ret;
}
-DWORD STDCALL
-NtUserSetClassWord(DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
+WORD
+STDCALL
+NtUserSetClassWord(
+ HWND hWnd,
+ INT nIndex,
+ WORD wNewWord)
{
return(0);
}
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] Tue Jul 8
02:38:28 2008
@@ -396,17 +396,17 @@
-DWORD
+SHORT
STDCALL
NtUserGetAsyncKeyState(
- DWORD key)
-{
- DECLARE_RETURN(DWORD);
+ INT key)
+{
+ DECLARE_RETURN(SHORT);
DPRINT("Enter NtUserGetAsyncKeyState\n");
UserEnterExclusive();
- RETURN(UserGetAsyncKeyState(key));
+ RETURN((SHORT)UserGetAsyncKeyState(key));
CLEANUP:
DPRINT("Leave NtUserGetAsyncKeyState, ret=%i\n",_ret_);
@@ -526,7 +526,7 @@
END_CLEANUP;
}
-DWORD
+BOOL
STDCALL
NtUserSetKeyboardState(LPBYTE lpKeyState)
{
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Tue Jul 8
02:38:28 2008
@@ -731,8 +731,8 @@
DWORD
NTAPI
NtUserGetAtomName(
- DWORD dwUnknown1,
- DWORD dwUnknown2)
+ ATOM nAtom,
+ LPWSTR lpBuffer)
{
UNIMPLEMENTED;
return 0;
@@ -832,9 +832,9 @@
DWORD
NTAPI
NtUserMinMaximize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
+ HWND hWnd,
+ UINT cmd, // Wine SW_ commands
+ BOOL Hide)
{
UNIMPLEMENTED;
return 0;
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Tue Jul 8 02:38:28
2008
@@ -2792,8 +2792,8 @@
/*
* @unimplemented
*/
-DWORD STDCALL
-NtUserFlashWindowEx(DWORD Unknown0)
+BOOL STDCALL
+NtUserFlashWindowEx(IN PFLASHWINFO pfwi)
{
UNIMPLEMENTED
@@ -4088,10 +4088,11 @@
* @unimplemented
*/
DWORD STDCALL
-NtUserSetInternalWindowPos(DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3)
+NtUserSetInternalWindowPos(
+ HWND hwnd,
+ UINT showCmd,
+ LPRECT rect,
+ LPPOINT pt)
{
UNIMPLEMENTED
@@ -4117,8 +4118,8 @@
/*
* @unimplemented
*/
-DWORD STDCALL
-NtUserSetLogonNotifyWindow(DWORD Unknown0)
+BOOL STDCALL
+NtUserSetLogonNotifyWindow(HWND hWnd)
{
UNIMPLEMENTED