Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 6 - Power Manager / Power Manager Reference
Power Manager Routines / Controlling the Sleep Queue


SleepQInstall

You can use the SleepQInstall procedure to add an entry to the sleep queue.

PROCEDURE SleepQInstall (qRecPtr: SleepQRecPtr);
qRecPtr
A pointer to a sleep queue record.
DESCRIPTION
The SleepQInstall procedure adds the specified sleep queue record to the sleep queue. The qRecPtr parameter is a pointer to a sleep queue record.

SPECIAL CONSIDERATIONS
You should make sure to remove any elements you installed in the sleep queue before your application or other software exits.

SEE ALSO
See "Sleep Queue Record," on page 6-26, for the structure of a sleep queue record. See "Sleep Procedures," beginning on page 6-65, for information about sleep procedures.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996