Expand Minimize

WDF_REQUEST_REUSE_PARAMS_INIT function

[Applies to KMDF and UMDF]

The WDF_REQUEST_REUSE_PARAMS_INIT function initializes a driver's WDF_REQUEST_REUSE_PARAMS structure.

Syntax


VOID WDF_REQUEST_REUSE_PARAMS_INIT(
  _Out_  PWDF_REQUEST_REUSE_PARAMS Params,
  _In_   ULONG Flags,
  _In_   NTSTATUS Status
);

Parameters

Params [out]

A pointer to a caller-supplied WDF_REQUEST_REUSE_PARAMS structure.

Flags [in]

WDF_REQUEST_REUSE_FLAGS-typed flags.

Status [in]

An NTSTATUS value that the framework assigns to the request.

Return value

None

Remarks

Before a driver calls the WdfRequestReuse method, it must call WDF_REQUEST_REUSE_PARAMS_INIT to initialize a WDF_REQUEST_REUSE_PARAMS structure.

The WDF_REQUEST_REUSE_PARAMS_INIT function zeros the specified WDF_REQUEST_REUSE_PARAMS structure and sets the structures Size member. It also sets the structure's Flags and Status members to the specified values.

For a code example that uses WDF_REQUEST_REUSE_PARAMS_INIT, see WdfRequestReuse.

Requirements

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfrequest.h (include Wdf.h)

See also

WdfRequestReuse
WDF_REQUEST_REUSE_PARAMS
WDF_REQUEST_REUSE_PARAMS_SET_NEW_IRP

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft