User manual
170
5. Notes to Programming
5.1 Scanning Completion Notification
A message or an event will be issued by the scanner driver integrated in the terminal when it has
retrieved data (notification only by message has been set as default).
Message issued for the message notification uses WM_OBR_SCANNING(WM_USER +0x530),
and one of the following values indicating a condition of scanning end will be saved in the wParam
parameter of the message.
OBR_SUCCESS : Normal end
OBR_TIMEOUT : Timeout occurred
OBR_BUFFOVER : OBR buffer output error
If event notification mode is set enabled with OBRSetScanningNotification func
tion,
notification will be made with a named event. The named event is called "OBRScanningEvent".
Also, by calling OBRGetLastEventStatus fu
nction after the event is issued, a factor that made
the event to be issued can be retrieved. Factors of scanning end that are retrieved with
OBRGetLastEventStatus funct
ion are those saved in the wParam parameter for the message
notification.