Author: hbelusca
Date: Fri Nov 28 23:19:25 2014
New Revision: 65519
URL:
http://svn.reactos.org/svn/reactos?rev=65519&view=rev
Log:
[WIN32K][ROSTESTS]
So...
... first of all NtUserQueryInformationThread takes only 4 parameters in Win2k3 so do it
as well...
... and since we claim at being compatible with Win2k3 (and not XP), one **MUST** review
**ALL** our win32k exports, in win32ss/w32ksvc.db database first, and then in our w32kdll
apitests !!!!!
But I won't do it !
Modified:
trunk/reactos/win32ss/include/ntuser.h
trunk/reactos/win32ss/user/ntuser/ntstubs.c
trunk/reactos/win32ss/w32ksvc.db
trunk/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32kdll_2k3sp2.spec
trunk/rostests/apitests/w32kdll/w32kdll_ros/w32kdll_ros.spec
trunk/rostests/apitests/w32kdll/w32kdll_ros/win32ksvc-ros.h
Modified: trunk/reactos/win32ss/include/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntuser.h?r…
==============================================================================
--- trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] Fri Nov 28 23:19:25 2014
@@ -2601,14 +2601,14 @@
OUT PUSERCONNECT pUserConnect,
IN DWORD dwSize); // sizeof(USERCONNECT)
-DWORD
+NTSTATUS
NTAPI
NtUserQueryInformationThread(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5);
+ IN HANDLE ThreadHandle,
+ IN USERTHREADINFOCLASS ThreadInformationClass,
+ OUT PVOID ThreadInformation,
+ IN ULONG ThreadInformationLength
+);
DWORD
NTAPI
Modified: trunk/reactos/win32ss/user/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/ntstub…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] Fri Nov 28 23:19:25 2014
@@ -754,17 +754,15 @@
return STATUS_UNSUCCESSFUL;
}
-DWORD
-APIENTRY
-NtUserQueryInformationThread(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5)
-{
- STUB;
- return 0;
+NTSTATUS
+APIENTRY
+NtUserQueryInformationThread(IN HANDLE ThreadHandle,
+ IN USERTHREADINFOCLASS ThreadInformationClass,
+ OUT PVOID ThreadInformation,
+ IN ULONG ThreadInformationLength)
+{
+ STUB;
+ return STATUS_SUCCESS;
}
DWORD
Modified: trunk/reactos/win32ss/w32ksvc.db
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/w32ksvc.db?rev=655…
==============================================================================
--- trunk/reactos/win32ss/w32ksvc.db [iso-8859-1] (original)
+++ trunk/reactos/win32ss/w32ksvc.db [iso-8859-1] Fri Nov 28 23:19:25 2014
@@ -483,7 +483,7 @@
NtUserPostThreadMessage 4
NtUserPrintWindow 3
NtUserProcessConnect 3
-NtUserQueryInformationThread 5
+NtUserQueryInformationThread 4
NtUserQueryInputContext 2
NtUserQuerySendMessage 1
NtUserQueryUserCounters 5
Modified: trunk/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32kdll_2k3sp2.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32kdll/w32kdll_…
==============================================================================
--- trunk/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32kdll_2k3sp2.spec [iso-8859-1]
(original)
+++ trunk/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32kdll_2k3sp2.spec [iso-8859-1] Fri
Nov 28 23:19:25 2014
@@ -482,7 +482,7 @@
@ stdcall NtUserPostThreadMessage(long long long long)
@ stdcall NtUserPrintWindow(ptr ptr long)
@ stdcall NtUserProcessConnect(ptr ptr long)
-@ stdcall NtUserQueryInformationThread(long long long long)
+@ stdcall NtUserQueryInformationThread(ptr long ptr long)
@ stdcall NtUserQueryInputContext(long long)
@ stdcall NtUserQuerySendMessage(long)
@ stdcall NtUserQueryWindow(ptr long)
Modified: trunk/rostests/apitests/w32kdll/w32kdll_ros/w32kdll_ros.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32kdll/w32kdll_…
==============================================================================
--- trunk/rostests/apitests/w32kdll/w32kdll_ros/w32kdll_ros.spec [iso-8859-1] (original)
+++ trunk/rostests/apitests/w32kdll/w32kdll_ros/w32kdll_ros.spec [iso-8859-1] Fri Nov 28
23:19:25 2014
@@ -484,7 +484,7 @@
@ stdcall NtUserPostThreadMessage(long long long long)
@ stdcall NtUserPrintWindow(ptr ptr long)
@ stdcall NtUserProcessConnect(ptr ptr long)
-@ stdcall NtUserQueryInformationThread(long long long long long)
+@ stdcall NtUserQueryInformationThread(ptr long ptr long)
@ stdcall NtUserQueryInputContext(long long)
@ stdcall NtUserQuerySendMessage(long)
@ stdcall NtUserQueryUserCounters(long long long long long)
Modified: trunk/rostests/apitests/w32kdll/w32kdll_ros/win32ksvc-ros.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32kdll/w32kdll_…
==============================================================================
--- trunk/rostests/apitests/w32kdll/w32kdll_ros/win32ksvc-ros.h [iso-8859-1] (original)
+++ trunk/rostests/apitests/w32kdll/w32kdll_ros/win32ksvc-ros.h [iso-8859-1] Fri Nov 28
23:19:25 2014
@@ -485,7 +485,7 @@
SVC_(UserPostThreadMessage, 4)
SVC_(UserPrintWindow, 3)
SVC_(UserProcessConnect, 3)
-SVC_(UserQueryInformationThread, 5)
+SVC_(UserQueryInformationThread, 4)
SVC_(UserQueryInputContext, 2)
SVC_(UserQuerySendMessage, 1)
SVC_(UserQueryUserCounters, 5)