3 - 20
padGetPortAddr
Returns the address of a port.
Note: This function is available in the MS-DOS version only!
Syntax
MS-DOS: int padGetPortAddr(
int Port
)
Parameter
Description
Port
1 = COM1
2 = COM2
3 = COM3
4 = COM4
Returns
Returns the address of the specified communications port.
See Also
padSetPortAddr, padGetPortIrq
padGetPortIrq
Returns the interrupt number associated with a port.
Note: This function is available in the MS-DOS version only!
Syntax
MS-DOS: int padGetPortIrq(
int Port
)
Parameter
Description
Port
Should be 1 for COM1, 2 for COM2, 3 for COM3 or 4 for COM4
Returns
Returns the interrupt number used by the specified communications port.
See Also
padSetPortIrq, padGetPortAddr
padGetPorts
Returns the current number of available ports. Use
(see page 3-60) to change the number of ports available.
Syntax
int padGetPorts(
void
)
Returns
The return values are 1 for 1 port, 2 for 2 ports, etc.
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...