Updated ntdll-ThreadHideFromDebugger patchset

This commit is contained in:
Alistair Leslie-Hughes 2019-12-30 11:18:46 +11:00
parent d163510e1e
commit c01051f313

View File

@ -16,7 +16,7 @@ index b913326f796..840b8ffd0b1 100644
}
return status;
+ case ThreadHideFromDebugger:
+ if (length != sizeof(char)) return STATUS_INFO_LENGTH_MISMATCH;
+ if (length != sizeof(BOOLEAN)) return STATUS_INFO_LENGTH_MISMATCH;
+ *(BOOLEAN *)data = TRUE;
+ if (ret_len) *ret_len = sizeof(BOOLEAN);
+ return STATUS_SUCCESS;