internal static extern int NtQueryInformationThread( /* HANDLE */ IntPtr thread, THREADINFOCLASS threadInformationClass, /* PVOID */ ref THREAD_BASIC_INFORMATION threadInformation, /* ULONG */ uint threadInformationLength, /* PULONG */ ref uint returnLength );
public static extern int NtQueryInformationThread(IntPtr threadHandle, THREADINFOCLASS threadInformationClass, IntPtr threadInformation, int threadInformationLength, IntPtr returnLength);