26 "ProcessId %p equals current\n",
ProcessId);
83 "ThreadId %p equals current\n", ThreadId);
static VOID TestLoadImageNotify(VOID)
static VOID TestCreateProcessNotify(VOID)
static VOID TestCreateThreadNotify(VOID)
static VOID NTAPI CreateProcessNotifyRoutine(IN HANDLE ParentId, IN HANDLE ProcessId, IN BOOLEAN Create)
static VOID NTAPI CreateThreadNotifyRoutine(IN HANDLE ProcessId, IN HANDLE ThreadId, IN BOOLEAN Create)
static VOID NTAPI LoadImageNotifyRoutine(IN PUNICODE_STRING FullImageName OPTIONAL, IN HANDLE ProcessId, IN PIMAGE_INFO ImageInfo)
#define ok_eq_pointer(value, expected)
#define ok_eq_hex(value, expected)
IN PLARGE_INTEGER IN PLARGE_INTEGER PEPROCESS ProcessId
HANDLE NTAPI PsGetCurrentProcessId(VOID)
#define STATUS_PROCEDURE_NOT_FOUND
NTSTATUS NTAPI PsSetLoadImageNotifyRoutine(IN PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine)
NTSTATUS NTAPI PsSetCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine)
NTSTATUS NTAPI PsSetCreateProcessNotifyRoutine(IN PCREATE_PROCESS_NOTIFY_ROUTINE NotifyRoutine, IN BOOLEAN Remove)
NTSTATUS NTAPI PsRemoveLoadImageNotifyRoutine(IN PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine)
NTSTATUS NTAPI PsRemoveCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine)
PULONG MinorVersion OPTIONAL