3 - 44
padReadByte
This command retrieves a single byte from the pad. This command can be used when the pad is in pass through mode to
retrieve data from a device connected to the pass through port of the pad (if available). Using
3-55) you can control how long this command will wait for the byte to be retrieved.
Syntax
BOOL padReadByte(
BYTE *b
)
Parameter
Description
b
Pointer to a memory location that will receive the byte
Returns
If successful it returns TRUE, otherwise it returns FALSE.
See Also
padSendByte, padPassThroughOn, padSetInTimeout
padRecord
Sends commands to the pad to start recording pad activities. When running DOS, this function does not perform any
notifications and it is up to the application to use
(see page 3-66) repeatedly to collect incoming data. When
using Windows, a notification message is sent to the Window specified by hWnd. Upon receiving the message, the window
uses
padUpdate
to check for and receive new data. When using 16 bit Windows 3.x, the notification message is
WM_COMMNOTIFY. When using 32 bit Windows 95/NT, you may specify any message with optional message parameters.
Syntax
DOS:
BOOL padRecord(
void
)
WIN16:
BOOL padRecord(
HWND hWnd
)
WIN32:
BOOL padRecord(
HWND hWnd,
UINT aMsg,
WPARAM p1,
LPARAM p2
)
Parameter
Description
hWnd
Handle to a window to receive notification messages
aMsg
A message to use for notification
p1
An optional message parameter
p2
An optional message parameter
Returns
Returns TRUE if successful, FALSE otherwise.
See Also
padStop, padUpdate, padGet
padReset
Resets the pad. This command should be used to reset all default values on the pad. At times, it can take a few seconds
for the pad to be completely reset.
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 ...