18#define SPIN_TIME 1000000
108 ok(0,
"NtQuerySystemTime failed with %lx\n",
Status);
140 ok(0,
"NtQuerySystemTime failed with %lx\n",
Status);
174 "KernelTime values inconsistent. Expected %I64u - %I64u < %I64u\n",
177 "UserTime values inconsistent. Expected %I64u - %I64u < %I64u\n",
198 if (ProcPriority ==
NULL)
200 skip(
"Failed to allocate memory for PROCESS_PRIORITY_CLASS!\n");
253 "Expected a valid number from priority class range but got %d\n", ProcPriority->
PriorityClass);
319 ok(VdmPower == 0 || VdmPower == 1,
"The VDM power value must be within the boundary between 0 and 1, not anything else! Got %lu\n", VdmPower);
329 ok(VdmPower == 0 || VdmPower == 1,
"The VDM power value must be within the boundary between 0 and 1, not anything else! Got %lu\n", VdmPower);
333 trace(
"VdmPower = %lu\n", VdmPower);
#define ok_hex(expression, result)
#define ok_dec(expression, result)
#define NT_SUCCESS(StatCode)
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
#define PROCESS_PRIORITY_CLASS_INVALID
#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL
#define RtlFillMemory(Dest, Length, Fill)
VOID QuerySetProcessValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
#define NtCurrentProcess()
_In_ ULONG _In_ ULONG _In_ ULONG Length
NTSTATUS NTAPI NtQuerySystemTime(OUT PLARGE_INTEGER SystemTime)
NTSTATUS NTAPI NtQueryInformationProcess(_In_ HANDLE ProcessHandle, _In_ PROCESSINFOCLASS ProcessInformationClass, _Out_ PVOID ProcessInformation, _In_ ULONG ProcessInformationLength, _Out_opt_ PULONG ReturnLength)
#define STATUS_INVALID_HANDLE
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
static const INFORMATION_CLASS_INFO PsProcessInfoClass[]
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
#define STATUS_INFO_LENGTH_MISMATCH