WdfRequestGetEffectiveIoType function

[Applies to UMDF only]

The WdfRequestGetEffectiveIoType method returns the buffer access method that UMDF is using for the data buffers of the specified I/O request.

Syntax

WDF_DEVICE_IO_TYPE WdfRequestGetEffectiveIoType(
  _In_ WDFREQUEST Request
);

Parameters

Request

A handle to a framework request object.

Return Value

WdfRequestGetEffectiveIoType returns a WDF_DEVICE_IO_TYPE-typed value that identifies the buffer access method that UMDF is using for the I/O request's data buffers.

Remarks

For more information, see Managing Buffer Access Methods in UMDF Drivers.

Examples

The following code example shows how an EvtIoWrite callback function can determine the buffer access method for the specified write request.

VOID
MyDrvEvtIoWrite(
  _In_  WDFQUEUE Queue,
  _In_  WDFREQUEST Request,
  _In_  size_t Length
)
{ 

...

    WDF_DEVICE_IO_TYPE iotype = WdfDeviceIoUndefined;

    iotype = WdfRequestGetEffectiveIoType(Request);

...

}

Requirements

   
Windows version Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfrequest.h (include Wdf.h)
Library WUDFx02000.lib
DLL WUDFx02000.dll; TBD
IRQL PASSIVE_LEVEL

See Also

WDF_DEVICE_IO_TYPE

Send comments about this topic to Microsoft