情報
要求されたトピックは次のとおりです。しかし、このトピックはこのライブラリには含まれていません。

WDF_REQUEST_COMPLETION_PARAMS 構造体

The WDF_REQUEST_COMPLETION_PARAMS structure contains parameters that are associated with the completion of an I/O request.

構文


typedef struct _WDF_REQUEST_COMPLETION_PARAMS {
  ULONG            Size;
  WDF_REQUEST_TYPE Type;
  IO_STATUS_BLOCK  IoStatus;
  union {
    struct {
      WDFMEMORY Buffer;
      size_t Length;
      size_t Offset;
    } Write;
    struct {
      WDFMEMORY Buffer;
      size_t Length;
      size_t Offset;
    } Read;
    struct {
      ULONG IoControlCode;
      struct {
        WDFMEMORY Buffer;
        size_t Offset;
      } Input;
      struct {
        WDFMEMORY Buffer;
        size_t Offset;
        size_t Length;
      } Output;
    } Ioctl;
    struct {
      union {
        PVOID Ptr;
        ULONG_PTR Value;
      } Argument1;
      union {
        PVOID Ptr;
        ULONG_PTR Value;
      } Argument2;
      union {
        PVOID Ptr;
        ULONG_PTR Value;
      } Argument3;
      union {
        PVOID Ptr;
        ULONG_PTR Value;
      } Argument4;
    } Others;
    struct {
      PWDF_USB_REQUEST_COMPLETION_PARAMS Completion;
    } Usb;
  } Parameters;
} WDF_REQUEST_COMPLETION_PARAMS, *PWDF_REQUEST_COMPLETION_PARAMS;

メンバー

Size

The size, in bytes, of this structure.

Type

A WDF_REQUEST_TYPE value that identifies the request type.

IoStatus

An IO_STATUS_BLOCK structure for the request.

Parameters

Request-specific values for the request.

Write
Read
Ioctl
Input
Output
Others
Argument1
Argument2
Argument3
Argument4
Usb

解説

The WDF_REQUEST_COMPLETION_PARAMS structure is used as input to the WdfRequestGetCompletionParams method and a driver's CompletionRoutine callback function.

Your driver must call WDF_REQUEST_COMPLETION_PARAMS_INIT to initialize the WDF_REQUEST_COMPLETION_PARAMS structure before the driver calls WdfRequestGetCompletionParams.

要件

バージョン

Available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfrequest.h (includeWdf.h)

参照

WdfRequestGetCompletionParams
WDF_REQUEST_COMPLETION_PARAMS_INIT
IO_STATUS_BLOCK
WDF_REQUEST_TYPE
CompletionRoutine

 

 

コミュニティの追加

表示:
© 2014 Microsoft