im_receive_input
4-42
IN Parameters
allowed Defines the available input source. Choose one or more of these
constants:
IM_LABEL_SELECT Label selected.
IM_KEYBOARD_SELECT Keypad selected.
IM_COM1_SELECT COM1 selected.
IM_ALL_SELECT All sources selected.
Use these variables to modify the input by performing a logical OR with the
above input sources.
IM_KEYCODE_ENABLE Applies when the keyboard or a label is a
source. Returns each key pressed and its key-code, or returns one
character of a label per call. Does not echo to the screen. This is the
functional equivalent to setting the input mode to IM_DESKTOP.
Keyboard characters are returned as 4 bytes. The first byte is the ASCII
code. The second byte is the scan code, and the last 2 bytes are flags for
modifier keys (Shift, Control, and Alt).
timeout Specifies the receive timeout period. Either enter a number from 1
to 65,534 to indicate the length of the timeout in milliseconds, or choose
one of these constants:
IM_ZERO_TIMEOUT No wait.
IM_INFINITE_TIMEOUT Wait forever—the function will not return
until the end of message character has been received. If COM1 is selected,
IM_INFINITE_TIMEOUT acts like IM_INFINITE_NET_TIMEOUT.
OUT Parameters
source Specifies the actual input source and is one of these constants:
IM_NO_SELECT No selection made.
IM_LABEL_SELECT Label selected.
IM_KEYBOARD_SELECT Keypad selected.
IM_COM1_SELECT COM1 selected.
received Pointer to the variable where the data is placed.
Return Value
This function returns one of these codes:
IM_SUCCESS Success.
IM_TIMEDOUT Timeout occurred.
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......