WdfRequestGetParameters - NtDoc

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

VOID WdfRequestGetParameters(
  [in]      WDFREQUEST              Request,
  [in, out] PWDF_REQUEST_PARAMETERS Parameters
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WdfRequestGetParameters function

Description

[Applies to KMDF and UMDF]

The WdfRequestGetParameters method retrieves the parameters that are associated with a specified framework request object.

Parameters

Request [in]

A handle to a framework request object.

Parameters [in, out]

A pointer to a caller-allocated WDF_REQUEST_PARAMETERS structure that the WDF_REQUEST_PARAMETERS_INIT routine initialized and filled in.

Remarks

A bug check occurs if the driver supplies an invalid object handle.

A driver cannot retrieve parameters from a driver-created request by calling WdfRequestGetParameters because the framework does not allocate a stack location for the current driver.

For more information about WdfRequestGetParameters, see Obtaining Information About an I/O Request.

Examples

For a code example that uses WdfRequestGetParameters, see WdfRequestComplete.

See also

WDF_REQUEST_PARAMETERS

WDF_REQUEST_PARAMETERS_INIT

WdfRequestWdmGetIrp