// wdfdevice.h
VOID WdfDeviceInitSetIoInCallerContextCallback(
[in] PWDFDEVICE_INIT DeviceInit,
[in] PFN_WDF_IO_IN_CALLER_CONTEXT EvtIoInCallerContext
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WdfDeviceInitSetIoInCallerContextCallback method registers a driver's EvtIoInCallerContext event callback function.
DeviceInit [in]A pointer to a WDFDEVICE_INIT structure.
EvtIoInCallerContext [in]A pointer to the driver's EvtIoInCallerContext callback function.
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.
The following code example registers a driver's EvtIoInCallerContext event callback function.
WdfDeviceInitSetIoInCallerContextCallback(
DeviceInit,
MyEvtIoInCallerContext
);