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
Data Structures


Hard Disk Queue Structure

The HardDiskQInstall and HardDiskQRemove functions take as a parameter the address of a hard disk queue structure, which is defined by the HDQueueElement data type.

struct HDQueueElement {
   Ptr               hdQLink;       /* pointer to next queue element */
   short             hdQType;       /* queue type (must be HDPwrQType) */
   short             hdFlags;       /* reserved */
   HDSpindownProc    hdProc;        /* pointer to routine to call */
   long              hdUser;        /* user-defined private storage */
} HDQueueElement;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996