ntdll: Add stub for NtSetInformationThread(ThreadHideFromDebugger).

This commit is contained in:
Andrey Turkin 2009-10-06 13:34:48 +04:00 committed by Alexandre Julliard
parent f2432a8bc2
commit be910d973a
2 changed files with 5 additions and 0 deletions

View File

@ -1227,6 +1227,10 @@ NTSTATUS WINAPI NtSetInformationThread( HANDLE handle, THREADINFOCLASS class,
SERVER_END_REQ;
}
return status;
case ThreadHideFromDebugger:
/* pretend the call succeeded to satisfy some code protectors */
return STATUS_SUCCESS;
case ThreadBasicInformation:
case ThreadTimes:
case ThreadPriority:

View File

@ -760,6 +760,7 @@ typedef enum _THREADINFOCLASS {
ThreadPriorityBoost,
ThreadSetTlsArrayAddress,
ThreadIsIoPending,
ThreadHideFromDebugger,
MaxThreadInfoClass
} THREADINFOCLASS;