Go to the source code of this file.
◆ QuerySetProcessValidator()
Definition at line 12 of file probelib.c.
22 switch (ValidationMode)
26 switch (InfoClassIndex)
95 "0x%lx or special status (0x%lx) expected but got 0x%lx for class information %lu in query information process operation!\n", ExpectedStatus, SpecialStatus,
Status, InfoClassIndex);
101 switch (InfoClassIndex)
179 "0x%lx or special status (0x%lx) expected but got 0x%lx for class information %lu in set information process operation!\n", ExpectedStatus, SpecialStatus,
Status, InfoClassIndex);
#define STATUS_PRIVILEGE_NOT_HELD
#define SET(field, seg, reg)
#define STATUS_INFO_LENGTH_MISMATCH
#define STATUS_INVALID_PARAMETER
#define NtCurrentProcess()
#define STATUS_UNSUCCESSFUL
#define STATUS_INVALID_INFO_CLASS
NTSTATUS NTAPI NtSetInformationProcess(IN HANDLE ProcessHandle, IN PROCESSINFOCLASS ProcessInformationClass, IN PVOID ProcessInformation, IN ULONG ProcessInformationLength)
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
NTSTATUS NTAPI NtQueryInformationProcess(_In_ HANDLE ProcessHandle, _In_ PROCESSINFOCLASS ProcessInformationClass, _Out_ PVOID ProcessInformation, _In_ ULONG ProcessInformationLength, _Out_opt_ PULONG ReturnLength)
#define STATUS_PORT_ALREADY_SET
Referenced by Test_ProcQueryAlignmentProbe(), and Test_ProcSetAlignmentProbe().
◆ QuerySetThreadValidator()
Definition at line 189 of file probelib.c.
199 switch (ValidationMode)
203 switch (InfoClassIndex)
245 "0x%lx or special status (0x%lx) expected but got 0x%lx for class information %lu in query information thread operation!\n", ExpectedStatus, SpecialStatus,
Status, InfoClassIndex);
251 switch (InfoClassIndex)
314 "0x%lx or special status (0x%lx) expected but got 0x%lx for class information %lu in set information thread operation!\n", ExpectedStatus, SpecialStatus,
Status, InfoClassIndex);
#define SET(field, seg, reg)
#define STATUS_INFO_LENGTH_MISMATCH
#define NtCurrentThread()
return STATUS_NOT_IMPLEMENTED
NTSTATUS NTAPI NtSetInformationThread(IN HANDLE ThreadHandle, IN THREADINFOCLASS ThreadInformationClass, IN PVOID ThreadInformation, IN ULONG ThreadInformationLength)
NTSTATUS NTAPI NtQueryInformationThread(IN HANDLE ThreadHandle, IN THREADINFOCLASS ThreadInformationClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength, OUT PULONG ReturnLength OPTIONAL)
#define STATUS_INVALID_INFO_CLASS
#define STATUS_ACCESS_VIOLATION
#define STATUS_DATATYPE_MISALIGNMENT
Referenced by Test_ThreadQueryAlignmentProbe(), and Test_ThreadSetAlignmentProbe().