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
Error Codes
Error codes returned by functions in this API are given in Table
Table 8-1. BIOS Configuration API Error Codes
Return Value | Description |
SETUP_INVALID_PARAMETER | The Option parameter is out of range. The value passed does not |
| specify a valid BIOS option. |
SETUP_INTERNAL_ERROR | Windows system call failure. |
Option and Setting Parameters
Option and Setting parameters accepted by the functions described in this chapter are defined in the header file for the DLL. Table
| Table | |
Option Parameter |
|
|
Option Description | Setting Parameter | Setting Description |
SERIAL_PORT
Serial Port
SERIAL_ADDRESS
Serial Port Address
SERIAL_INTERRUPT Serial Port Interrupt
INFRARED_PORT
Infrared Port
INFRARED_ADDRESS
Infrared Port Address
INFRARED_INTERRUPT
Infrared Port Interrupt
SERIAL_PORT_ON | Enabled |
SERIAL_PORT_OFF | Disabled |
SERIAL_PORT_AUTO | Auto |
SERIAL_ADD_2E8 | I/O Address 2E8 |
SERIAL_ADD_2F8 | I/O Address 2F8 |
SERIAL_ADD_3E8 | I/O Address 3E8 |
SERIAL_ADD_3F8 | I/O Address 3F8 |
SER_INT_IRQ3 | IRQ 3 |
SER_INT_IRQ4 | IRQ 4 |
INFRARED_PORT_ON | Enabled |
INFRARED_PORT_OFF | Disabled |
INFRARED_PORT_AUTO | Auto |
INFRA_ADD_2E8 | I/O Address 2E8 |
INFRA_ADD_2F8 | I/O Address 2F8 |
INFRA_ADD_3E8 | I/O Address 3E8 |
INFRA_ADD_3F8 | I/O Address 3F8 |
INFRA_INT_IRQ3 | IRQ 3 |
INFRA_INT_IRQ4 | IRQ 4 |
Error Codes | 70 |