8-4
BIOS Configuration Application Programming Interfaces
BiosSetupSet
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 8-2 on page 8-6.
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 8-1.
BiosSetupGetResumeTime
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 8-1 on page 8-6.
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
Microsoft Corp. Exhibit 1020
Summary of Contents for Stylistic 2300
Page 1: ...Microsoft Corp Exhibit 1020 ...
Page 8: ...viii Microsoft Corp Exhibit 1020 ...
Page 10: ...x Microsoft Corp Exhibit 1020 ...
Page 18: ...1 4 Pen Tablet Features Microsoft Corp Exhibit 1020 ...
Page 42: ...Microsoft Corp Exhibit 1020 ...
Page 60: ...3 40 Configuring the Stylistic 2300 Pen Tablet System Microsoft Corp Exhibit 1020 ...
Page 61: ...Microsoft Corp Exhibit 1020 ...
Page 63: ...Microsoft Corp Exhibit 1020 ...
Page 74: ...5 10 Hardware Specifications Microsoft Corp Exhibit 1020 ...
Page 76: ...Microsoft Corp Exhibit 1020 ...
Page 77: ...Microsoft Corp Exhibit 1020 ...
Page 78: ...Microsoft Corp Exhibit 1020 ...
Page 81: ...Microsoft Corp Exhibit 1020 ...
Page 91: ...Microsoft Corp Exhibit 1020 ...
Page 114: ...9 4 Programmable Hotpad Libraries for 16 bit Windows Applications Microsoft Corp Exhibit 1020 ...
Page 120: ...Microsoft Corp Exhibit 1020 ...
Page 124: ...C 2 Enabling ACPI Microsoft Corp Exhibit 1020 ...
Page 138: ...Index 6 Microsoft Corp Exhibit 1020 ...
Page 139: ...Microsoft Corp Exhibit 1020 ...
Page 140: ...4 99 58 0584 00C Microsoft Corp Exhibit 1020 ...