import core.sys.windows.windows;


extern(Windows) nothrow:


alias LONG NTSTATUS;

enum : NTSTATUS
{
	STATUS_INFO_LENGTH_MISMATCH = 0xc0000004,
}


struct UNICODE_STRING
{
	USHORT Length;
	USHORT MaximumLength;
	PWSTR  Buffer;
}


struct CLIENT_ID
{
	HANDLE UniqueProcess;
	HANDLE UniqueThread;
}


alias NTSTATUS function(
	HANDLE ThreadHandle,
	int /* THREADINFOCLASS */ ThreadInformationClass,
	PVOID ThreadInformation,
	ULONG ThreadInformationLength,
	PULONG ReturnLength
) NtQueryInformationThread;



struct THREAD_BASIC_INFORMATION
{
	NTSTATUS   ExitStatus;
	PVOID      TebBaseAddress;
	CLIENT_ID  ClientId;
	ULONG_PTR  AffinityMask;
	ULONG_PTR  Priority;
	ULONG_PTR  BasePriority;
}




enum S
{
	a,
}


struct SYSTEM_PROCESS_INF{
}

struct SYSTEM_THREAD_INFORMATION
{
}
