[Applies to UMDF only]
The WdfDeviceGetDeviceStackIoType method retrieves the buffer access methods that the framework is using for a device.
void WdfDeviceGetDeviceStackIoType( WDFDEVICE Device, WDF_DEVICE_IO_TYPE *ReadWriteIoType, WDF_DEVICE_IO_TYPE *IoControlIoType );
A handle to a framework device object.
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.
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.
This method does not return a value.
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.
|Minimum supported client||Windows 8.1|
|Minimum UMDF version||2.0|
|Header||wdfdevice.h (include Wdf.h)|
Send feedback about: