User manual

60
4.35 OBRSetScanningType
This function sets up scanning mode.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetScanningType funct
ion.
Calling Sequences
[C++]
int OBRSetScanningType(
BYTE byType
)
[Visual Basic]
Public Shared Function OBRSetScanningType( _
ByVal byType As Byte _
) As Int32
[C#]
public static Int32 OBRSetScanningType(
Byte byType
);
Parameters
byType
This parameter is for specifying scanning mode selecting either of the values listed below.
OBR_TYPE0 : Single-shot scanning/No key release check
OBR_TYPE1 : Continuous scanning/With key release check
Return Values
OBR_OK : Normal end
OBR_PRM : Parameter error
OBR_PON : Open already
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error