User manual

38
4.15 OBRGetLastEventStatus
If the scanning completion notification has been set to "via Event", this function retrieves the factor
that forced scanning a bar code to end. See Chapter 5.1 "Scanning Completion Notification" for
det
ail.
Calling Sequences
[C++]
int OBRGetLastEventStatus(
DWORD *pStatus
)
[Visual Basic]
Public Shared Function OBRGetLastEventStatus( _
ByRef pStatus As Int32 _
) As Int32
[C#]
public static Int32 OBRGetLastEventStatus(
ref Int32 pStatus
);
Parameters
pStatus
This parameter is for retrieving a factor that forces the scanning to end.
OBR_NONE : No event factor
OBR_SUCCESS : Scanning succeeded
OBR_TIMEOUT : Timeout
OBR_BUFFOVER : OBR buffer in full error
Return Values
OBR_OK : Normal end
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error