public static extern int NtQueryInformationThread( IntPtr ThreadHandle, ThreadInfoClass ThreadInformationClass, out int ThreadInformation, int ThreadInformationLength, int ReturnLength );
public static extern int NtQueryInformationThread( IntPtr threadHandle, ThreadInfoClass threadInformationClass, IntPtr threadInformation, int threadInformationLength, IntPtr returnLengthPtr);
public static extern int NtQueryInformationThread(IntPtr threadHandle, ThreadInfoClass threadInformationClass, ref THREAD_BASIC_INFORMATION threadInformation, int threadInformationLength, IntPtr returnLengthPtr);
public static extern int NtQueryInformationThread( IntPtr threadHandle, ThreadInfoClass threadInformationClass, out THREAD_BASIC_INFORMATION threadInformation, ulong threadInformationLength);