Carbon


PowerSourceParamBlock

Header: Power.h

struct PowerSourceParamBlock {
    PowerSourceID sourceID; 
    UInt16 sourceCapacityUsage; 
    UInt32 sourceVersion; 
    OptionBits sourceAttr; 
    OptionBits sourceState; 
    UInt32 currentCapacity; 
    UInt32 maxCapacity; 
    UInt32 timeRemaining; 
    UInt32 timeToFullCharge; 
    UInt32 voltage; 
    SInt32 current; 
    UInt32 lowWarnLevel; 
    UInt32 deadWarnLevel; 
    UInt32 reserved[16];
};
typedef PowerSourceParamBlock PowerSourceParamBlockPtr;

© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)