// ucmtypes.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Describes a Request Data Object (RDO). For information about these members, see the Power Delivery specification.
UlSize of the structure.
CommonCommon.Reserved1Reserved.
Common.ObjectPositionObject position.
Common.Reserved2Reserved.
FixedAndVariableRdoFixedAndVariableRdo.MaximumOperatingCurrentIn10mAMaximum current in 10 mA units.
FixedAndVariableRdo.OperatingCurrentIn10mAOperating current in 10mA units.
FixedAndVariableRdo.Reserved1Reserved.
FixedAndVariableRdo.NoUsbSuspendIndicates support for USB suspend.
FixedAndVariableRdo.UsbCommunicationCapableUSB communication capable.
FixedAndVariableRdo.CapabilityMismatchCapability Mismatch
FixedAndVariableRdo.GiveBackFlagGiveBack Flag.
FixedAndVariableRdo.ObjectPositionObject Position.
FixedAndVariableRdo.Reserved2Reserved for future use.
BatteryRdoBatteryRdo.MaximumOperatingPowerIn250mWMaximum Operating Power in 250mW units.
BatteryRdo.OperatingPowerIn250mWOperating Power in 250mW units.
BatteryRdo.Reserved1Reserved for future use.
BatteryRdo.NoUsbSuspendUSB Suspend.
BatteryRdo.UsbCommunicationCapableUSB Communications Capable.
BatteryRdo.CapabilityMismatchCapability Mismatch.
BatteryRdo.GiveBackFlagGiveBack Flag.
BatteryRdo.ObjectPositionObject Position.
BatteryRdo.Reserved2Reserved.