
s c n G e t s
Description
Initiates a scan and moves the scanner buffer’s contents to a
If there is any chance the scanned bar code
contains a binary zero, do not use this function. Instead, use scnGetch and scnScannerHit in a loop until the scan is complete.
Use scnGetScannedData to retrieve the scanner buffer’s contents without activating the scanner when the buffer is empty.
Syntax
char far * far scnGets(char far *lpszData);
Parameters
lpszData | A pointer to a |
| buffer where the function copies the scanner |
| buffer’s contents. This buffer must be one byte |
| longer than the largest string that you may scan. |
Return Values
A pointer to the | Successful. |
buffer parameter |
|
NULL pointer | An error occurred. |