EvtRequestImpersonate
WdfRequestGetEffectiveIoType method
WdfRequestGetRequestorProcessId method
WdfRequestGetUserModeInitiatedIo method
WdfRequestImpersonate method
WdfRequestIsFromUserModeDriver method
WdfRequestRetrieveActivityId method
WdfRequestSetActivityId method
WdfRequestSetUserModeDriverInitiatedIo method
展开 最小化

WDF_REQUEST_REUSE_PARAMS 结构

The WDF_REQUEST_REUSE_PARAMS structure specifies information that is associated with a reused I/O request.

语法


typedef struct _WDF_REQUEST_REUSE_PARAMS {
  ULONG    Size;
  ULONG    Flags;
  NTSTATUS Status;
  PIRP     NewIrp;
} WDF_REQUEST_REUSE_PARAMS, *PWDF_REQUEST_REUSE_PARAMS;

成员

Size

The size, in bytes, of this structure.

Flags

A bitwise OR of one or more WDF_REQUEST_REUSE_FLAGS-typed flags.

Status

An NTSTATUS value that the framework assigns to the request.

NewIrp

A pointer to an IRP structure. This member's value is optional and can be NULL.

评论

The WDF_REQUEST_REUSE_PARAMS structure is used as input to WdfRequestReuse.

To initialize this structure, the driver must call WDF_REQUEST_REUSE_PARAMS_INIT. To set a NewIrp value in the structure, the driver must call WDF_REQUEST_REUSE_PARAMS_SET_NEW_IRP after calling WDF_REQUEST_REUSE_PARAMS_INIT.

You can set a NewIrp value only if the I/O request that you supply to WdfRequestReuse was created by calling WdfRequestCreate or WdfRequestCreateFromIrp.

要求

版本

Available in version 1.0 and later versions of KMDF.

标头

Wdfrequest.h (包括Wdf.h)

另请参见

WdfRequestCreateFromIrp
WdfRequestReuse
WDF_REQUEST_REUSE_PARAMS_INIT
WDF_REQUEST_REUSE_PARAMS_SET_NEW_IRP
WDF_REQUEST_REUSE_FLAGS

 

 

社区附加资源

添加
显示:
© 2015 Microsoft