// wdm.h
VOID ExNotifyCallback(
[in] PVOID CallbackObject,
[in, optional] PVOID Argument1,
[in, optional] PVOID Argument2
);
View the official Windows Driver Kit DDI referenceNo description available.
The ExNotifyCallback routine causes all callback routines registered for the given object to be called.
CallbackObject [in]A pointer to the callback object for which all registered callback routines will be called.
Argument1 [in, optional]Specifies the parameter that is passed as Argument1 of the callback routine.
Argument2 [in, optional]Specifies the parameter that is passed as Argument2 of the callback routine.
Driver writers must not call ExNotifyCallback for any of the system-defined callback objects listed in ExCreateCallback.
The system calls callback routines in order of their registration.
For more information about callback objects, see Callback Objects.
Callers of this routine must be running at IRQL <= DISPATCH_LEVEL. The system calls all registered callback routines at the caller's IRQL.