Padreadbyte; Padrecord; Padreset - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

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 padSetInTimeout (see page
3-55) you can control how long this command will wait for the byte to be retrieved.
Syntax
BOOL padReadByte(
BYTE *b
)
Parameter
b
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 padUpdate (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
hWnd
aMsg
p1
p2
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.
3 - 44
Description
Pointer to a memory location that will receive the byte
Description
Handle to a window to receive notification messages
A message to use for notification
An optional message parameter
An optional message parameter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents