Undocumented functions of NTDLL

2OOO, 19 December


NtQueryInformationThread
NtQueryInformationThread

NTSYSAPI 
NTSTATUS
NTAPI

NtQueryInformationThread(
IN HANDLE ThreadHandle, IN THREAD_INFORMATION_CLASS ThreadInformationClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength, OUT PULONG ReturnLength OPTIONAL );



ThreadHandle
Handle to Thread Object opened with THREAD_QUERY_INFORMATION access.

ThreadInformationClass
Information class defined in THREAD_INFORMATION_CLASS enumerated type.

ThreadInformation
Caller's allocated buffer for results.

ThreadInformationLength
Length of buffer, in bytes.

ReturnLength
Optional pointer to required buffer length.



See THREAD_INFORMATION_CLASS for more information.



Documented by:
Tomasz Nowak



Requirements:
Library: ntdll.lib


See also:
NtSetInformationThread
THREAD_INFORMATION_CLASS