ExNotifyCallback function

The ExNotifyCallback routine causes all callback routines registered for the given object to be called.

Syntax

VOID ExNotifyCallback(
  _In_     PVOID CallbackObject,
  _In_opt_ PVOID Argument1,
  _In_opt_ PVOID Argument2
);

Parameters

CallbackObject

A pointer to the callback object for which all registered callback routines will be called.

Argument1

Specifies the parameter that is passed as Argument1 of the callback routine.

Argument2

Specifies the parameter that is passed as Argument2 of the callback routine.

Return Value

None

Remarks

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.

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<= DISPATCH_LEVEL (see Remarks section)"

See Also

ExCreateCallback

ExRegisterCallback

Send comments about this topic to Microsoft