Skip to main content

Windows Dev Center

UsbConfigurationDescriptor.MaxPowerMilliamps | maxPowerMilliamps property

Gets the bMaxPower field of a USB configuration descriptor. The value indicates the maximum power (in milliamp units) that the device can draw from the bus, when the device is bus-powered.

Syntax


var maxPowerMilliamps = usbConfigurationDescriptor.maxPowerMilliamps;

public uint MaxPowerMilliamps { get; }

Public ReadOnly Property MaxPowerMilliamps As UInteger

public:
property unsigned int MaxPowerMilliamps { 
   unsigned int get();
}

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The maximum power (in milliamp units) that the device can draw from the bus.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbConfigurationDescriptor