Contents

GetExtraPowerAllocated

Clients can use this API to ask how much extra power has already been reserved by this device. Units are milliAmps (mA).

Declaration

virtual UInt32 GetExtraPowerAllocated(
 UInt32type);

Parameters

  • type:

    Indicates whether the allocated power was to be used during wake or sleep (One of kUSBPowerDuringSleep or kUSBPowerDuringWake)

Return Value

Amount of power allocated, in mA.

See Also

Miscellaneous