7-4
BIOS Configuration Application Programming Interfaces
BiosSetupSet
7
This function sets the BIOS option you specify. A prototype of the function is shown below:
int WINAPI BiosSetupSet ( WORD
Option, WORD Setting, BYTE Permanent_or_Current )
This function can be used to set all BIOS settings except the Resume Time setting. (To set the resume time
using this API, see “BiosSetupSetResumeTime” later in this chapter.)
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 7-2 on page 7-7.
The Permanent_or_Current parameter determines whether the permanent or current BIOS option is set:
On success, this function returns the label SETUP_SUCCESS. In the event of an error, this function
returns one of the error codes listed in Table 7-1.
BiosSetupGetResumeTime
7
This function retrieves the resume time for the Resume On Time BIOS option. A prototype of this
function is shown below.
long int BiosSetupGetResumeTime ( BYTE
Permanent_or_Current )
The Permanent_or_Current parameter defines whether the permanent or current BIOS option is retrieved:
On success, this function returns a long int value which specifies the resume time setting as follows:
In the event of an error, this function returns a negative value as defined in Table 7-1 on page 7-7.
Permanent_or_Current
Value
Description
0
Sets permanent setting.
1
Sets current setting.
Permanent_or_Current
Value Description
0
Permanent setting retrieved.
1
Current setting retrieved.
Return Value
Description
Byte 0 (bits 7-0)
Seconds setting in BCD format.
Byte 1 (bits 15-8)
Minutes setting in BCD format.
Byte 2 (bits 23-16)
Hour setting in BCD format.
Byte 3 (bits 31-24)
Resume On Time Enable status:
00H = Resume On Time option disabled
01H = Resume On Time option enabled
Summary of Contents for stylistic lt
Page 1: ...Stylistic LT Technical Reference Guide ...
Page 6: ...vi ...
Page 8: ...viii ...
Page 10: ...x ...
Page 14: ...xiv About This Guide ...
Page 18: ...1 4 Stylistic LT Features ...
Page 58: ...3 38 Configuring the Stylistic LT Pen Tablet System ...
Page 68: ...4 10 Hardware Specifications ...
Page 110: ...B 2 Enabling ACPI ...
Page 124: ...D 10 Glossary ...
Page 130: ...Index 6 ...
Page 131: ......
Page 132: ...8 99 58 0658 00A ...