< Previous PageNext Page > Hide TOC

Deprecated Power Manager Functions

A function identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.0

AOff

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void AOff (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

AOn

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void AOn (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

AOnIgnoreModem

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void AOnIgnoreModem (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

AutoSleepControl

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void AutoSleepControl (
   Boolean enableSleep
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

BatteryStatus

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr BatteryStatus (
   Byte *status,
   Byte *power
);

Parameters
Status

On return, the referenced value holds the status of the battery charger and the voltage level of the battery, described in BatteryByte Bits.The connChangedBit is set when the charger connection is changed—either connected or disconnected. When this bit is set, the Power Manager IC sends an interrupt to the CPU.

The batteryLowBit is set whenever battery voltage drops below the value set in parameter RAM. The Power Manager IC sends an interrupt to the CPU once every second when battery voltage is low.If the batteryDeadBit were set, it would indicate a dead battery; however, the Power Manager automatically shuts the system down when the battery voltage drops below a preset level, so this bit is always 0.

Power

On return, the referenced value contains the Power value you can use to estimate the battery voltage:

voltage = ((Power/100) + 5.12) volts

Due to the nature of lead-acid batteries, the battery power remaining is difficult to measure accurately. Temperature, load, and other factors can alter the measured voltage by 30 percent or more. The Power Manager takes as many of these factors into account as possible, but the voltage measurement can still be in error by up to 10 percent. The measurement is most accurate when the Macintosh Portable has been in the sleep state for at least 30 minutes.

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

BOff

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void BOff (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

BOn

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void BOn (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

DelaySystemIdle

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr DelaySystemIdle (
   void
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

DimmingControl

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void DimmingControl (
   Boolean enableSleep
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

DisableIdle

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void DisableIdle (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

DisableWUTime

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr DisableWUTime (
   void
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

EnableIdle

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void EnableIdle (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

EnableProcessorCycling

Unimplemented. (Deprecated in Mac OS X v10.0.)

void EnableProcessorCycling (
   Boolean enable
);

Availability
Declared In
Power.h

GetBatteryTimes

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void GetBatteryTimes (
   short whichBattery,
   BatteryTimeRec *theTimes
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetBatteryVoltage

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Fixed GetBatteryVoltage (
   short whichBattery
);

Return Value

See the Mac Types documentation for a description of the Fixed data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetDimmingTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

UInt8 GetDimmingTimeout (
   void
);

Return Value

See the Mac Types documentation for a description of the UInt8 data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetDimSuspendState

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Boolean GetDimSuspendState (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetHardDiskTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

UInt8 GetHardDiskTimeout (
   void
);

Return Value

See the Mac Types documentation for a description of the UInt8 data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetIntModemInfo

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

UInt32 GetIntModemInfo (
   void
);

Return Value

See the Mac Types documentation for a description of the UInt32 data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetLastActivity

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr GetLastActivity (
   ActivityInfo *theActivity
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetScaledBatteryInfo

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void GetScaledBatteryInfo (
   short whichBattery,
   BatteryInfo *theInfo
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetSCSIDiskModeAddress

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

short GetSCSIDiskModeAddress (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetSleepTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

UInt8 GetSleepTimeout (
   void
);

Return Value

See the Mac Types documentation for a description of the UInt8 data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetSoundMixerState

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr GetSoundMixerState (
   SoundMixerByte *theSoundMixerByte
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetStartupTimer

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr GetStartupTimer (
   StartupTime *theTime
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetWakeupTimer

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void GetWakeupTimer (
   WakeupTime *theTime
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

GetWUTime

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr GetWUTime (
   long *wuTime,
   Byte *wuFlag
);

Parameters
WUTime

On return, the referenced value holds the current setting of the wakeup timer specified as the number of seconds since midnight, January 1, 1904.

WUFlag

On return, the low order bit of the referenced value is set to 1 if and only if the wakeup timer is enabled. The other bits in WUFlag are reserved.

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

HardDiskPowered

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Boolean HardDiskPowered (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

HardDiskQInstall

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr HardDiskQInstall (
   HDQueueElement *theElement
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

HardDiskQRemove

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr HardDiskQRemove (
   HDQueueElement *theElement
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

IdleUpdate

Unimplemented. (Deprecated in Mac OS X v10.0. Use UpdateSystemActivity instead.)

long IdleUpdate (
   void
);

Return Value

The IdleUpdate function returns the value in the Ticks global variable at the time the function was called.

Special Considerations

This function is unimplemented on Mac OS X. Use UpdateSystemActivity(IdleActivity) instead.

Availability
Declared In
Power.h

IsAutoSlpControlDisabled

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Boolean IsAutoSlpControlDisabled (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

IsDimmingControlDisabled

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Boolean IsDimmingControlDisabled (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

IsProcessorCyclingEnabled

Unimplemented. (Deprecated in Mac OS X v10.0.)

Boolean IsProcessorCyclingEnabled (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Availability
Declared In
Power.h

IsSpindownDisabled

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

Boolean IsSpindownDisabled (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

ModemStatus

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr ModemStatus (
   Byte *status
);

Parameters
Status

On return, the referenced variable has its bits set as indicated in ModemByte Bits.

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

PMgrStateQInstall

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr PMgrStateQInstall (
   PMgrQueueElement *theElement
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

PMgrStateQRemove

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr PMgrStateQRemove (
   PMgrQueueElement *theElement
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetDimmingTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetDimmingTimeout (
   UInt8 timeout
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetDimSuspendState

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetDimSuspendState (
   Boolean dimSuspendState
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetHardDiskTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetHardDiskTimeout (
   UInt8 timeout
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetIntModemState

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetIntModemState (
   short theState
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetSCSIDiskModeAddress

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetSCSIDiskModeAddress (
   short scsiAddress
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetSleepTimeout

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetSleepTimeout (
   UInt8 timeout
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetSoundMixerState

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr SetSoundMixerState (
   SoundMixerByte *theSoundMixerByte
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetStartupTimer

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr SetStartupTimer (
   StartupTime *theTime
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetWakeupTimer

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SetWakeupTimer (
   WakeupTime *theTime
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetWUTime

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

OSErr SetWUTime (
   long wuTime
);

Return Value

A result code. See “Power Manager Result Codes.”

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SpinDownHardDisk

Unimplemented. (Deprecated in Mac OS X v10.0. Use I/O Kit instead; see I/O Kit Fundamentals.)

void SpinDownHardDisk (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

Deprecated in Mac OS X v10.5

FullProcessorSpeed

Unimplemented. (Deprecated in Mac OS X v10.5.)

Boolean FullProcessorSpeed (
   void
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Availability
Declared In
Power.h

PMFeatures

(Deprecated in Mac OS X v10.5.)

UInt32 PMFeatures (
   void
);

Return Value

See the Mac Types documentation for a description of the UInt32 data type.

Availability
Declared In
Power.h

PMSelectorCount

Unimplemented. (Deprecated in Mac OS X v10.5.)

short PMSelectorCount (
   void
);

Special Considerations

The I/O Kit Framework header file IOPMLib.h (in I/O Kit Framework Reference) provides access to common power management facilites, such as initiating system sleep, getting current idle timer values, registering for sleep/wake notifications, and preventing system sleep. For additional information about power management for device drivers, see I/O Kit Fundamentals and I/O Kit Device Driver Design Guidelines.

Availability
Declared In
Power.h

SetProcessorSpeed

Unimplemented. (Deprecated in Mac OS X v10.5.)

Boolean SetProcessorSpeed (
   Boolean fullSpeed
);

Return Value

See the Mac Types documentation for a description of the Boolean data type.

Availability
Declared In
Power.h

SetSpindownDisable

Unimplemented. (Deprecated in Mac OS X v10.5.)

void SetSpindownDisable (
   Boolean setDisable
);

Availability
Declared In
Power.h

< Previous PageNext Page > Hide TOC


© 2002, 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-07-13)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.