Skip to content

Latest commit

 

History

History
85 lines (64 loc) · 3.49 KB

nf-wdfdevice-wdfdeviceinitsetioincallercontextcallback.md

File metadata and controls

85 lines (64 loc) · 3.49 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdfdevice.WdfDeviceInitSetIoInCallerContextCallback
WdfDeviceInitSetIoInCallerContextCallback function (wdfdevice.h)
The WdfDeviceInitSetIoInCallerContextCallback method registers a driver's EvtIoInCallerContext event callback function.
wdf\wdfdeviceinitsetioincallercontextcallback.htm
wdf
02/26/2018
WdfDeviceInitSetIoInCallerContextCallback function
DFDeviceObjectGeneralRef_6ef62fc4-094a-4fe7-8ecb-7205566aef77.xml, WdfDeviceInitSetIoInCallerContextCallback, WdfDeviceInitSetIoInCallerContextCallback method, kmdf.wdfdeviceinitsetioincallercontextcallback, wdf.wdfdeviceinitsetioincallercontextcallback, wdfdevice/WdfDeviceInitSetIoInCallerContextCallback
wdfdevice.h
Wdf.h
Universal
1.0
ChildDeviceInitAPI, ControlDeviceInitAPI, DeviceInitAPI, DriverCreate, KmdfIrql, KmdfIrql2, PdoDeviceInitAPI
Wdf01000.sys (see Framework Library Versioning.)
<= DISPATCH_LEVEL
Windows
WdfDeviceInitSetIoInCallerContextCallback
wdfdevice/WdfDeviceInitSetIoInCallerContextCallback
APIRef
kbSyntax
LibDef
Wdf01000.sys
Wdf01000.sys.dll
WdfDeviceInitSetIoInCallerContextCallback

WdfDeviceInitSetIoInCallerContextCallback function

-description

[Applies to KMDF only]

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

-parameters

-param DeviceInit [in]

A pointer to a WDFDEVICE_INIT structure.

-param 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