UCM_PD_POWER_DATA_OBJECT_GET_TYPE function (ucmtypes.h)

Retrieves the type of Power Data Object from the UCM_PD_POWER_DATA_OBJECT structure.

Syntax

UCM_PD_POWER_DATA_OBJECT_TYPE UCM_PD_POWER_DATA_OBJECT_GET_TYPE(
  [in] PUCM_PD_POWER_DATA_OBJECT Pdo
);

Parameters

[in] Pdo

A pointer to a UCM_PD_POWER_DATA_OBJECT structure that contains the type of Power Data Object.

Return value

Returns the Common.Type member of the UCM_PD_POWER_DATA_OBJECT structure.

Remarks

For information about the Power Data Object including the types of object, see Power Delivery specification. The Type member of UCM_PD_POWER_DATA_OBJECT indicates the type of Power Data Object.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Minimum UMDF version 2.15
Header ucmtypes.h (include Ucmcx.h)

See also

UCM_PD_POWER_DATA_OBJECT