95{
100 PVOID CallbackRegistration;
101 INT InvocationCount = 0;
102
104
105
106
107
108
109
110
111
112
114 &CallbackName,
118
126 "CallbackObject = %p", CallbackObject);
127
129 return;
130
133 &InvocationCount);
134 ok(CallbackRegistration !=
NULL,
"CallbackRegistration = NULL\n");
135
136 if (!
skip(CallbackRegistration !=
NULL,
"Registering callback failed\n"))
137 {
148
150 }
151
153}
static VOID TestPrivateFunctions(VOID)
#define ok_eq_hex(value, expected)
#define ok_eq_int(value, expected)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define NT_SUCCESS(StatCode)
#define OBJ_CASE_INSENSITIVE
#define KmtInvalidPointer
ULONG KmtGetPoolTag(PVOID Memory)
#define InitializeObjectAttributes(p, n, a, r, s)
VOID NTAPI ExUnregisterCallback(IN PVOID CallbackRegistrationHandle)
VOID NTAPI ExNotifyCallback(IN PCALLBACK_OBJECT CallbackObject, IN PVOID Argument1, IN PVOID Argument2)
PVOID NTAPI ExRegisterCallback(IN PCALLBACK_OBJECT CallbackObject, IN PCALLBACK_FUNCTION CallbackFunction, IN PVOID CallbackContext)
NTSTATUS NTAPI ExCreateCallback(OUT PCALLBACK_OBJECT *CallbackObject, IN POBJECT_ATTRIBUTES ObjectAttributes, IN BOOLEAN Create, IN BOOLEAN AllowMultipleCallbacks)
#define RTL_CONSTANT_STRING(s)
_In_ PCALLBACK_FUNCTION CallbackFunction
#define ObDereferenceObject