mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[NTDLL_APITEST] Adjust ThreadHideFromDebugger support for NtQueryInformationThread() probing tests (#8486)
This commit is contained in:
@@ -281,13 +281,20 @@ QuerySetThreadValidator(
|
||||
case ThreadZeroTlsCell:
|
||||
case ThreadIdealProcessor:
|
||||
case ThreadSetTlsArrayAddress:
|
||||
case ThreadHideFromDebugger:
|
||||
case ThreadSwitchLegacyState:
|
||||
{
|
||||
SpecialStatus = STATUS_INVALID_INFO_CLASS;
|
||||
break;
|
||||
}
|
||||
|
||||
/* This class supports queries only on Vista and above */
|
||||
case ThreadHideFromDebugger:
|
||||
{
|
||||
if (GetNTVersion() < _WIN32_WINNT_VISTA)
|
||||
SpecialStatus = STATUS_INVALID_INFO_CLASS;
|
||||
break;
|
||||
}
|
||||
|
||||
/* These classes don't exist in Server 2003 SP2 */
|
||||
case ThreadEventPair_Reusable:
|
||||
case ThreadLastSystemCall:
|
||||
@@ -329,7 +336,7 @@ QuerySetThreadValidator(
|
||||
|
||||
/*
|
||||
* This class doesn't take a strict type for size length.
|
||||
* The function happily succeds on an information length
|
||||
* The function happily succeeds on an information length
|
||||
* mismatch scenario with STATUS_SUCCESS.
|
||||
*/
|
||||
case ThreadHideFromDebugger:
|
||||
|
||||
Reference in New Issue
Block a user