Note: Parameter names given in this manual in prototypes for some of these functions may differ from parameter names given in the prototypes that appear in the header files. This is done to provide consistent terminology throughout this manual.
InitializeBIOS
This function initializes the API. This function must be called before any other functions in this API can be called. This function,
•Opens the API.
•Connects to the APM BIOS.
A prototype of this function is shown below:
int InitializeBIOS ( void )
This function accepts no parameters and returns the value SETUP_SUCCESS when it completes successfully. If an error occurs, this function returns an error value as defined in Table
UpdateBIOSCheckSum
Applications that initialize this API using InitializeBIOS must call this function before the application exits. This function performs the following tasks:
•Updates the CMOS checksum and CRC values.
•Disconnects from the APM BIOS.
A prototype of this function is shown below:
int UpdateBIOSCheckSum ( void )
This function accepts no arguments and returns the value SETUP_SUCCESS when it completes successfully. If an error occurs, this function returns an error value as defined in Table
ReadBIOSSettings
This function retrieves the setting for a given BIOS option. You define the BIOS option to be retrieved by passing the appropriate parameters for the desired option. A prototype is shown below:
DWORD ReadBIOSSettings ( DWORD dwSetupParam )
The Option parameter defines the BIOS option you want to retrieve. Definitions for the Option parameter are listed in Table
On success, this function returns the Setting for the requested BIOS option. See Table
BiosSetupSet
This function sets the BIOS option you specify. A prototype of the function is shown below:
int BiosSetupSet ( DWORD dwSetupParam, int nValue )
The Option parameter defines the BIOS option you want to set. The Setting parameter defines the setting for the given option. Definitions for the Option parameter are listed in Table
InitializeBIOS69