WDF_REQUEST_REUSE_PARAMS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfrequest.h

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

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdfrequest-_wdf_request_reuse_params)

_WDF_REQUEST_REUSE_PARAMS structure

Description

[Applies to KMDF and UMDF]

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

Members

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.

Remarks

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.

If a lower driver needs to access the Status value, it can find it in the Irp->IoStatus.Status field.

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

See also

WDF_REQUEST_REUSE_FLAGS

WDF_REQUEST_REUSE_PARAMS_INIT

WDF_REQUEST_REUSE_PARAMS_SET_NEW_IRP

WdfRequestCreateFromIrp

WdfRequestReuse