InitializeBIOS
69
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
8
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 8-1.
UpdateBIOSCheckSum
8
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 8-1.
ReadBIOSSettings
8
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 8-2 later in this section.
On success, this function returns the Setting for the requested BIOS option. See Table 8-2 for a listing of
settings for each BIOS option. Possible error codes returned by this function are listed in Table 8-1.
BiosSetupSet
8
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 8-2 on page 70.
Summary of Contents for Stylistic 3500
Page 1: ...StylisticTM 3500 Technical Reference Guide ...
Page 110: ...3 01 FPC58 0473 01 ...