WDF_REQUEST_REUSE_PARAMS_INIT function (wdfrequest.h)
[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
[out] Params
A pointer to a caller-supplied WDF_REQUEST_REUSE_PARAMS structure.
[in] Flags
WDF_REQUEST_REUSE_FLAGS-typed flags.
[in] Status
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
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfrequest.h (include Wdf.h) |