Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.75 KB

nf-wdfdevice-wdfdevicegetdevicestackiotype.md

File metadata and controls

77 lines (57 loc) · 2.75 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.WdfDeviceGetDeviceStackIoType
WdfDeviceGetDeviceStackIoType function (wdfdevice.h)
The WdfDeviceGetDeviceStackIoType method retrieves the buffer access methods that the framework is using for a device.
wdf\wdfdevicegetdevicestackiotype.htm
wdf
02/26/2018
WdfDeviceGetDeviceStackIoType function
WdfDeviceGetDeviceStackIoType, WdfDeviceGetDeviceStackIoType method, wdf.wdfdevicegetdevicestackiotype, wdfdevice/WdfDeviceGetDeviceStackIoType
wdfdevice.h
Wdf.h
Universal
Windows 8.1
2.0
WUDFx02000.lib
WUDFx02000.dll
PASSIVE_LEVEL
Windows
WdfDeviceGetDeviceStackIoType
wdfdevice/WdfDeviceGetDeviceStackIoType
APIRef
kbSyntax
DllExport
WUDFx02000.dll
WdfDeviceGetDeviceStackIoType

WdfDeviceGetDeviceStackIoType function

-description

[Applies to UMDF only]

The WdfDeviceGetDeviceStackIoType method retrieves the buffer access methods that the framework is using for a device.

-parameters

-param Device [in]

A handle to a framework device object.

-param ReadWriteIoType [out]

A pointer to a driver-allocated location that receives a WDF_DEVICE_IO_TYPE-typed value. This value identifies the buffer access method that the framework is using for a device's read and write requests.

-param IoControlIoType [out]

A pointer to a driver-allocated location that receives a WDF_DEVICE_IO_TYPE-typed value. This value that identifies the buffer access method that the framework is using for a device's I/O control requests.

-remarks

If your driver calls WdfDeviceGetDeviceStackIoType before the PnP manager has loaded all of the device's drivers, the values that WdfDeviceGetDeviceStackIoType retrieves might not be the values that it actually uses.

For more information about how the framework chooses a buffer access method, see Managing Buffer Access Methods in UMDF Drivers.

-see-also

WdfDeviceInitSetIoTypeEx