SerCxGetConnectionParameters function (sercx.h)

The SerCxGetConnectionParameters method retrieves the connection parameters for the associated peripheral device.

Syntax

void SerCxGetConnectionParameters(
  [in]  WDFDEVICE Device,
  [out] PVOID     *ConnectionParameters
);

Parameters

[in] Device

A WDFDEVICE handle to the framework device object that represents the serial controller.

[out] ConnectionParameters

A pointer to a location into which the method writes a pointer to the connection parameters. The caller must cast this pointer to the appropriate pointer type, parse the data structure for the connection parameters, read the configuration settings from this structure, and apply these settings to the serial controller hardware.

Return value

None

Remarks

The serial framework extension (SerCx) obtains the connection parameters for the peripheral device from the ACPI resource descriptors in the platform firmware.

For more information about the data format of the connection parameters, see EvtSerCxApplyConfig.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Target Platform Universal
Header sercx.h
IRQL <= DISPATCH_LEVEL

See also

EvtSerCxApplyConfig