CVS: winex/include winternl.h,1.10,1.11
[email protected] 12 Sep 2007 12:31:07 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/include winternl.h,1.10,1.11Update of /var/lib/cvsd/cvsroot/winex/include
In directory agravaine:/tmp/cvs-serv10727/include
Modified Files:
winternl.h
Log Message:
- added support for the ThreadBasicInformation query in NtQueryInformationThread().
- fixed the prototypes for NtQueryInformationThread() and ZwQueryInformationThread() in the .spec file
Index: winternl.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/winternl.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- winternl.h 31 Jul 2007 19:42:07 -0000 1.10
+++ winternl.h 12 Sep 2007 12:31:05 -0000 1.11
@@ -248,6 +248,24 @@
MaxThreadInfoClass
} THREADINFOCLASS;
+typedef struct _CLIENT_ID
+{
+ HANDLE UniqueProcess;
+ HANDLE UniqueThread;
+} CLIENT_ID, *PCLIENT_ID;
+
+/* struct THREAD_BASIC_INFORMATION: return struct for the ThreadBasicInformation thread info class
+ in the call to the NtQueryInformationThread() function. */
+typedef struct _THREAD_BASIC_INFORMATION {
+ NTSTATUS ExitStatus;
+ PVOID TebBaseAddress;
+ CLIENT_ID ClientId;
+ ULONG_PTR AffinityMask;
+ LONG Priority;
+ LONG BasePriority;
+} THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION;
+
+
typedef enum _WINSTATIONINFOCLASS {
WinStationInformation = 8
} WINSTATIONINFOCLASS;