mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOSKRNL] Implement ThreadHideFromDebugger in NtSetInformationThread()
This commit is contained in:
parent
2ffc684699
commit
62facb7a49
1 changed files with 13 additions and 0 deletions
|
@ -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 a new issue