Expand Minimize

WDF_REQUEST_COMPLETION_PARAMS_INIT function

[Applies to KMDF and UMDF]

The WDF_REQUEST_COMPLETION_PARAMS_INIT function initializes a WDF_REQUEST_COMPLETION_PARAMS structure.

Syntax


VOID WDF_REQUEST_COMPLETION_PARAMS_INIT(
  _Out_ PWDF_REQUEST_COMPLETION_PARAMS Params
);

Parameters

Params [out]

A pointer to a caller-supplied WDF_REQUEST_COMPLETION_PARAMS structure.

Return value

None

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.

Requirements

Target platform

Universal

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfrequest.h (include Wdf.h)

See also

WDF_REQUEST_COMPLETION_PARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft