Important: The information in this document is obsolete and should not be used for new development.
MyHDSpindownProc
A hard disk spindown function can perform any operations you require to prepare for the hard disk to spin down.
pascal void MyHDSpindownProc(HDQueueElement *theElement);
theElement
- A pointer to the element in the hard disk power down queue that was used to install this function.
DESCRIPTION
TheHardDiskQInstall
function installs an element into the hard disk power down queue to provide notification to your software when the internal hard disk is about to be powered off. For example, this feature might be used by the driver for an external battery-powered hard disk. When power to the internal hard disk is turned off, the external hard disk could be turned off as well.When power to the internal hard disk is about to be turned off, the software calls the routine pointed to by the
hdProc
field so that it can do any special processing. The routine will be passed a pointer to its queue element so that, for example, the routine can reference its variables.SEE ALSO
The hard disk power down queue elements are defined in "Hard Disk Queue Structure," on page 6-27.The
HardDiskQInstall
function is described on page 6-52. TheHardDiskQRemove
function is described on page 6-53.