Author: jimtabor
Date: Sun Sep 16 19:32:58 2007
New Revision: 29068
URL:
http://svn.reactos.org/svn/reactos?rev=29068&view=rev
Log:
Fix def and size for NtUserValidateHandleSecure.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
trunk/reactos/subsystems/win32/win32k/w32ksvc.db
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 (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h Sun Sep 16 19:32:58 2007
@@ -2002,10 +2002,11 @@
DWORD Unknown1,
DWORD Unknown2);
-DWORD
+BOOL
NTAPI
NtUserValidateHandleSecure(
- DWORD Unknown0);
+ HANDLE hHdl,
+ BOOL Restricted);
DWORD
NTAPI
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 (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c Sun Sep 16 19:32:58 2007
@@ -637,10 +637,11 @@
return 0;
}
-DWORD
+BOOL
STDCALL
NtUserValidateHandleSecure(
- DWORD Unknown0)
+ HANDLE hHdl,
+ BOOL Restricted)
{
UNIMPLEMENTED
Modified: trunk/reactos/subsystems/win32/win32k/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w3…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/w32ksvc.db (original)
+++ trunk/reactos/subsystems/win32/win32k/w32ksvc.db Sun Sep 16 19:32:58 2007
@@ -590,7 +590,7 @@
NtUserSetLayeredWindowAttributes 4
NtUserUpdatePerUserSystemParameters 2
NtUserUserHandleGrantAccess 3
-# NtUserValidateHandleSecure 2 Wrong number of param ?
+NtUserValidateHandleSecure 2
# NtUserValidateRect 2
# NtUserValidateTimerCallback 3
NtUserVkKeyScanEx 3
@@ -685,7 +685,6 @@
NtUserInitTask 11
NtUserSetCursorIconData 6
NtUserUnregisterClass 2
-NtUserValidateHandleSecure 1
#
#ReactOS specify syscall
NtGdiSelectObject 2