160 if (ProcForeground ==
NULL)
162 skip(
"Failed to allocate memory block from heap for PROCESS_FOREGROUND_BACKGROUND!\n");
#define STATUS_PRIVILEGE_NOT_HELD
#define ok_hex(expression, result)
#define SET(field, seg, reg)
#define STATUS_INVALID_HANDLE
#define HeapFree(x, y, z)
@ ProcessForegroundInformation
VOID QuerySetProcessValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
#define NtCurrentProcess()
NTSTATUS NTAPI NtSetInformationProcess(IN HANDLE ProcessHandle, IN PROCESSINFOCLASS ProcessInformationClass, IN PVOID ProcessInformation, IN ULONG ProcessInformationLength)
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
static const INFORMATION_CLASS_INFO PsProcessInfoClass[]
#define STATUS_INFO_LENGTH_MISMATCH