WdfDeviceInitSetIoInCallerContextCallback - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdevice.h

VOID WdfDeviceInitSetIoInCallerContextCallback(
  [in] PWDFDEVICE_INIT              DeviceInit,
  [in] PFN_WDF_IO_IN_CALLER_CONTEXT EvtIoInCallerContext
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdeviceinitsetioincallercontextcallback)

WdfDeviceInitSetIoInCallerContextCallback function

Description

[Applies to KMDF only]

The WdfDeviceInitSetIoInCallerContextCallback method registers a driver's EvtIoInCallerContext event callback function.

Parameters

DeviceInit [in]

A pointer to a WDFDEVICE_INIT structure.

EvtIoInCallerContext [in]

A pointer to the driver's EvtIoInCallerContext callback function.

Remarks

If a driver calls WdfDeviceInitSetIoInCallerContextCallback, it must do so before it calls WdfDeviceCreate. For more information about calling WdfDeviceCreate, see Creating a Framework Device Object.

For more information about the EvtIoInCallerContext event callback function, see Intercepting an I/O Request before it is Queued.

Examples

The following code example registers a driver's EvtIoInCallerContext event callback function.

WdfDeviceInitSetIoInCallerContextCallback(
                                          DeviceInit,
                                          MyEvtIoInCallerContext
                                          );

See also

EvtIoInCallerContext