UCM_PD_REQUEST_DATA_OBJECT union (ucmtypes.h)

Describes a Request Data Object (RDO). For information about these members, see the Power Delivery specification.

Syntax

typedef union _UCM_PD_REQUEST_DATA_OBJECT {
  ULONG  Ul;
  struct {
    unsigned Reserved1 : 28;
    unsigned ObjectPosition : 3;
    unsigned Reserved2 : 1;
  } Common;
  struct {
    unsigned MaximumOperatingCurrentIn10mA : 10;
    unsigned OperatingCurrentIn10mA : 10;
    unsigned Reserved1 : 4;
    unsigned NoUsbSuspend : 1;
    unsigned UsbCommunicationCapable : 1;
    unsigned CapabilityMismatch : 1;
    unsigned GiveBackFlag : 1;
    unsigned ObjectPosition : 3;
    unsigned Reserved2 : 1;
  } FixedAndVariableRdo;
  struct {
    unsigned MaximumOperatingPowerIn250mW : 10;
    unsigned OperatingPowerIn250mW : 10;
    unsigned Reserved1 : 4;
    unsigned NoUsbSuspend : 1;
    unsigned UsbCommunicationCapable : 1;
    unsigned CapabilityMismatch : 1;
    unsigned GiveBackFlag : 1;
    unsigned ObjectPosition : 3;
    unsigned Reserved2 : 1;
  } BatteryRdo;
} UCM_PD_REQUEST_DATA_OBJECT, *PUCM_PD_REQUEST_DATA_OBJECT;

Members

Ul

Size of the structure.

Common

Common.Reserved1

Reserved.

Common.ObjectPosition

Object position.

Common.Reserved2

Reserved.

FixedAndVariableRdo

FixedAndVariableRdo.MaximumOperatingCurrentIn10mA

Maximum current in 10 mA units.

FixedAndVariableRdo.OperatingCurrentIn10mA

Operating current in 10mA units.

FixedAndVariableRdo.Reserved1

Reserved.

FixedAndVariableRdo.NoUsbSuspend

Indicates support for USB suspend.

FixedAndVariableRdo.UsbCommunicationCapable

USB communication capable.

FixedAndVariableRdo.CapabilityMismatch

Capability Mismatch

FixedAndVariableRdo.GiveBackFlag

GiveBack Flag.

FixedAndVariableRdo.ObjectPosition

Object Position.

FixedAndVariableRdo.Reserved2

Reserved for future use.

BatteryRdo

BatteryRdo.MaximumOperatingPowerIn250mW

Maximum Operating Power in 250mW units.

BatteryRdo.OperatingPowerIn250mW

Operating Power in 250mW units.

BatteryRdo.Reserved1

Reserved for future use.

BatteryRdo.NoUsbSuspend

USB Suspend.

BatteryRdo.UsbCommunicationCapable

USB Communications Capable.

BatteryRdo.CapabilityMismatch

Capability Mismatch.

BatteryRdo.GiveBackFlag

GiveBack Flag.

BatteryRdo.ObjectPosition

Object Position.

BatteryRdo.Reserved2

Reserved.

Requirements

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