APM_GET_EVENT

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

apm_get_event - get an APM event from the BIOS  

SYNOPSIS

"SYNOPSIS"

int apm_get_event (apm_event_t * event, apm_eventinfo_t * info);  

ARGUMENTS

event
pointer to the event
info
point to the event information
 

DESCRIPTION

The APM BIOS provides a polled information for event reporting. The BIOS expects to be polled at least every second when events are pending. When a message is found the caller should poll until no more messages are present. However, this causes problems on some laptops where a suspend event notification is not cleared until it is acknowledged.

Additional information is returned in the info pointer, providing that APM 1.2 is in use. If no messges are pending the value 0x80 is returned (No power management events pending).


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 04:40:38 GMT, October 06, 2005