Expand Minimize

WdfDeviceGetDeviceStackIoType method

[Applies to UMDF only]

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

Syntax


void WdfDeviceGetDeviceStackIoType(
  [in]  WDFDEVICE          Device,
  [out] WDF_DEVICE_IO_TYPE *ReadWriteIoType,
  [out] WDF_DEVICE_IO_TYPE *IoControlIoType
);

Parameters

Device [in]

A handle to a framework device object.

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.

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.

Return value

This method does not return a value.

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.

Requirements

Target platform

Universal

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfdevice.h (include Wdf.h)

Library

WUDFx02000.lib

DLL

WUDFx02000.dll

IRQL

PASSIVE_LEVEL

See also

WdfDeviceInitSetIoTypeEx

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft