UCM_PD_POWER_DATA_OBJECT_INIT_BATTERY function (ucmtypes.h)

Initializes a UCM_PD_POWER_DATA_OBJECT structure as a Battery Supply type Power Data Object.

Syntax

void UCM_PD_POWER_DATA_OBJECT_INIT_BATTERY(
  [out] PUCM_PD_POWER_DATA_OBJECT Pdo
);

Parameters

[out] Pdo

A pointer to a UCM_PD_POWER_DATA_OBJECT structure in which the BatterySupplyPdo.Battery member is set to UcmPdPdoTypeBatterySupply.

Return value

None

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