User manual

33
4.11 OBRSetFocus
This function sets up the Scan Verification Beam mode. The Scan Verification Beam is a function
that focuses a scanned bar code after its scanning is succeeded so that the bar code can be
distinguished from others in the same vicinity to avoid confusion by the user.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetFocus funct
ion.
Calling Sequences
[C++]
int OBRSetFocus(
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBRSetFocus( _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBRSetFocus(
Int32 dwMode
);
Parameters
dwMode
This parameter is for specifying Scan Verification Beam mode selecting either of the values
listed below.
OBR_FOCUSOFF : Disable the Scan Verification Beam mode.
OBR_FOCUSON : Enable the Scan Verification Beam mode.
Return Values
OBR_OK : Normal end
OBR_PON : Open already
OBR_PRM : Parameter error
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error