SECTION 2
Supporting DOS Applications
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 2-21
IOCMD_STATUS :
// 0x03
requestHeader.headerStatus = detailedErrorCode;
break;
IOCMD_ID :
// 0x80
requestHeader.headerStatus = 0x0a;
break;
default :
requestHeader.headerStatus = detailedErrorCode;
break;
where detailedErrorCode is one of the following:
0 PREADY
Device driver is open Ċ a printer connection is established.
50
IRLAP_DISCONNECT_ERROR
Close failure Ċ a disconnect event state change failure occurred during the disĆ
connect procedure processing.
51
DISCOVERY_FAILURE
Open failure Ċ no devices responded during the discovery procedure.
52
LINK_MANAGEMENT_CONNECT_FAILURE
Open failure Ċ a buffer flushing operation failed during establishment of the
link management session with a discovered device.
53
TX_BUFFER_DESC_GET_FAILURE
Write failure Ċ could not get a transmit buffer descriptor to send the data to the
printer.
54
BUFFER_GET_FAILURE
Write failure Ċ could not get a transmit buffer to send the data to the printer.
55
BAD_CONNECTION_HANDLE
Open, write, or close failure Ċ a defective connection handle was encountered
while flushing the driver's coalescence buffer.
56
UNKNOWN_TRANSMIT_FAILURE
Open, write, or close failure Ċ the link access protocol failed for unknown" reaĆ
sons during an attempt to flush the driver's coalescence buffer.
57
WRITE_WITH_PRINTER_NOT_READY
Write failure Ċ attempted a write to the driver while the driver was in an error
state.
58
I_QUEUE_FULL
Open, write, or close failure Ċ the driver could not get a queue for the transmisĆ
sion of an information frame.
59
CONNECT_FAILURE
Open failure Ċ after a successful discover of an IrDA device, a connection could
not be established.
60
DRIVER_CLOSED
Write, read, IOCTL, close failure Ċ an attempt was made to access the driver
while the driver was in a closed state.
61
NO_RECURSION
Write, read, IOCTL, close failure. An attempt was made to recursively access
the driver.
62
BAD_LINK_CONTROL_FRAME_SIZE
Open failure, link management failure Ċ the system did not receive the correct
frame size for a connect confirmation by IrLMP after the IrLAP link session was
established with the remote device.
2. DOS
Applications