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.
void WDF_REQUEST_REUSE_PARAMS_INIT(
[out] PWDF_REQUEST_REUSE_PARAMS Params,
[in] ULONG Flags,
[in] NTSTATUS Status
);
[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.
None
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.
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfrequest.h (include Wdf.h) |