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.

Error Codes

Error codes returned by functions in this API are given in Table 8-1..These values are defined in the header file BIOSINC.H.

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 8-2lists the Option parameter and corresponding Setting parameters for each BIOS option. (These Setting parameters are also the values returned by the ReadBIOSSettings function on success.)

 

Table 8-2. Option and Setting Parameters and Return Values

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

Page 80
Image 80
Fujitsu FMW4503TS128A01 manual Bios Configuration API Error Codes