UCM_PD_POWER_DATA_OBJECT_INIT_VARIABLE_NON_BATTERY function (ucmtypes.h)

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

Syntax

void UCM_PD_POWER_DATA_OBJECT_INIT_VARIABLE_NON_BATTERY(
  [out] PUCM_PD_POWER_DATA_OBJECT Pdo
);

Parameters

[out] Pdo

A pointer to a UCM_PD_POWER_DATA_OBJECT structure in which the VariableSupplyNonBatteryPdo.VariableSupportNonBattery member is set to UcmPdPdoTypeVariableSupplyNonBattery.

Return value

None

Requirements

   
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