WDF_REQUEST_PARAMETERS_INIT function

[Applies to KMDF and UMDF]

The WDF_REQUEST_PARAMETERS_INIT function initializes a WDF_REQUEST_PARAMETERS structure.

Syntax

VOID WDF_REQUEST_PARAMETERS_INIT(
  _Out_ PWDF_REQUEST_PARAMETERS Parameters
);

Parameters

Parameters

A pointer to a caller-supplied WDF_REQUEST_PARAMETERS structure.

Return Value

None

Remarks

Drivers must call WDF_REQUEST_PARAMETERS_INIT to initialize a WDF_REQUEST_PARAMETERS structure before calling WdfRequestGetParameters.

The WDF_REQUEST_PARAMETERS_INIT function zeros the specified WDF_REQUEST_PARAMETERS structure and sets the structure's Size member.

The following code example initializes a WDF_REQUEST_PARAMETERS structure and then calls WdfRequestGetParameters.

Requirements

   
Windows Driver kit version
Target platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfrequest.h (include Wdf.h)
Library
IRQL
DDI compliance rules

See Also

WdfRequestGetParameters
WDF_REQUEST_PARAMETERS

Send comments about this topic to Microsoft