mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[NTOSKRNL] Implement ThreadHideFromDebugger in NtSetInformationThread()
This commit is contained in:
parent
2ffc684699
commit
62facb7a49
@ -2420,6 +2420,19 @@ NtSetInformationThread(IN HANDLE ThreadHandle,
|
||||
}
|
||||
break;
|
||||
|
||||
case ThreadHideFromDebugger:
|
||||
|
||||
/* Check buffer length */
|
||||
if (ThreadInformationLength != 0)
|
||||
{
|
||||
Status = STATUS_INFO_LENGTH_MISMATCH;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Set the flag */
|
||||
PspSetCrossThreadFlag(Thread, CT_HIDE_FROM_DEBUGGER_BIT);
|
||||
break;
|
||||
|
||||
default:
|
||||
/* We don't implement it yet */
|
||||
DPRINT1("Not implemented: %d\n", ThreadInformationClass);
|
||||
|
Loading…
Reference in New Issue
Block a user