User manual
168
4.98 OBRSetDecodeLearningMode
This function sets up the scanner learning function.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetDecodeLearningMode f
unction.
Calling Sequences
[C++]
int OBRSetDecodeLearningMode(
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBRSetDecodeLearningMode ( _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBRSetDecodeLearningMode (
Int32 dwMode
);
Parameters
dwMode
This parameter is for specifying the scanner learning function selecting either of the values
listed below. The default is "OBR_LEARNING_OFF".
OBR_LEARNING_OFF : Scanner learning function to be set disabled
OBR_LEARNING_ON : Scanner learning function to be set enabled
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