Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbConfigurationDescriptor.SelfPowered | selfPowered property

Gets the D6 bit of the bmAttributes field in the USB configuration. This value indicates whether the device is drawing power from a local source or the bus.

Syntax

Public ReadOnly Property SelfPowered As Boolean

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True, if the device is drawing power from a local source; false indicates that the device is only drawing power from the bus.

Remarks

If SelfPowered is true, the device is drawing power from a local source, and also some power from the bus. Get the MaxPowerMilliamps property value to determine the amount of power the device is drawing from the bus.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

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

Metadata

Windows.winmd

See also

UsbConfigurationDescriptor

 

 

Show:
© 2014 Microsoft. All rights reserved.