Important: The information in this document is obsolete and should not be used for new development.
PMFeatures
You can use thePMFeatures
function to find out which features of the Power Manager are implemented.
unsigned long PMFeatures();DESCRIPTION
ThePMFeatures
function returns a 32-bit field describing hardware and software features associated with the Power Manager on a particular machine. If a bit value is 1, that feature is supported or available; if the bit value is 0, that feature is not available. Unused bits are reserved by Apple for future expansion.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forPMFeatures
is 1 ($01) in the low word of register D0. The 32-bit field of supported features is returned in register D0.