2OOO, 19 December
NTSYSAPI NTSTATUS NTAPI
NtQueryInformationThread(
IN HANDLE ThreadHandle, IN THREAD_INFORMATION_CLASS ThreadInformationClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength, OUT PULONG ReturnLength OPTIONAL );
Handle to Thread Object opened with THREAD_QUERY_INFORMATION access.
Information class defined in THREAD_INFORMATION_CLASS enumerated type.
Caller's allocated buffer for results.
Length of buffer, in bytes.
Optional pointer to required buffer length.
See THREAD_INFORMATION_CLASS for more information.