WDF_REQUEST_COMPLETION_PARAMS_INIT - NtDoc

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

VOID WDF_REQUEST_COMPLETION_PARAMS_INIT(
  [out] PWDF_REQUEST_COMPLETION_PARAMS Params
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfrequest-wdf_request_completion_params_init)

WDF_REQUEST_COMPLETION_PARAMS_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_REQUEST_COMPLETION_PARAMS_INIT function initializes a WDF_REQUEST_COMPLETION_PARAMS structure.

Parameters

Params [out]

A pointer to a caller-supplied WDF_REQUEST_COMPLETION_PARAMS structure.

Remarks

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.

Examples

For a code example that uses WDF_REQUEST_COMPLETION_PARAMS_INIT, see WdfRequestGetCompletionParams.

See also

WDF_REQUEST_COMPLETION_PARAMS