ExNotifyCallback function (wdm.h)

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

Syntax

void ExNotifyCallback(
  [in]           PVOID CallbackObject,
  [in, optional] PVOID Argument1,
  [in, optional] PVOID Argument2
);

Parameters

[in] CallbackObject

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

[in, optional] Argument1

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

[in, optional] 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

Requirement Value
Minimum supported client 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