WDF_REQUEST_COMPLETION_PARAMS_INIT function (wdfrequest.h)
[Applies to KMDF and UMDF]
The WDF_REQUEST_COMPLETION_PARAMS_INIT function initializes a WDF_REQUEST_COMPLETION_PARAMS structure.
void WDF_REQUEST_COMPLETION_PARAMS_INIT(
[out] PWDF_REQUEST_COMPLETION_PARAMS Params
);
[out] Params
A pointer to a caller-supplied WDF_REQUEST_COMPLETION_PARAMS structure.
None
Drivers must call WDF_REQUEST_COMPLETION_PARAMS_INIT to initialize a WDF_REQUEST_COMPLETION_PARAMS structure before calling WdfRequestGetCompletionParams.
The WDF_REQUEST_COMPLETION_PARAMS_INIT function zeros the specified WDF_REQUEST_COMPLETION_PARAMS structure and sets the structure's Size member. It also sets the structure's Type member to WdfRequestTypeNoFormat.
For a code example that uses WDF_REQUEST_COMPLETION_PARAMS_INIT, see WdfRequestGetCompletionParams.
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfrequest.h (include Wdf.h) |