22 skip(
"Failed to allocate memory for THREAD_BASIC_INFORMATION!\n");
89 ok(
ReturnedLength != 0,
"The size of the buffer pointed by ThreadInformation shouldn't be 0!\n");
93 trace(
"ThreadInfoBasic->ExitStatus = 0x%08lx\n", ThreadInfoBasic->
ExitStatus);
98 trace(
"ThreadInfoBasic->Priority = %li\n", ThreadInfoBasic->
Priority);
#define ok_hex(expression, result)
_In_ ULONG _In_ BATTERY_QUERY_INFORMATION_LEVEL _In_ LONG _In_ ULONG _Out_ PULONG ReturnedLength
#define HeapFree(x, y, z)
VOID QuerySetThreadValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
NTSTATUS NTAPI NtQueryInformationThread(IN HANDLE ThreadHandle, IN THREADINFOCLASS ThreadInformationClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength, OUT PULONG ReturnLength OPTIONAL)
#define STATUS_INVALID_HANDLE
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
static const INFORMATION_CLASS_INFO PsThreadInfoClass[]
#define STATUS_INFO_LENGTH_MISMATCH
HANDLE WINAPI GetCurrentThread(void)