User manual

20
4.1 OBROpen
This function sets up the scanner driver effect. The enabled state of the scanner driver will be kept
effect until when OBRClose funct
ion is carried out. While the Laser Scanner Library is being
opened, scanning will start when Trigger key is pressed. During this period, various settings for
scanning cannot be changed. To make any change on the settings, first call OBRClose functi
on to
close the Laser Scanner Library, and then change settings. Because the Trigger key is occupied by
the library during this period, the user cannot access it.
Calling Sequences
[C++]
int OBROpen(
HWND hWnd,
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBROpen( _
ByVal hWnd As IntPtr, _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBROpen(
IntPtr hWnd,
Int32 dwMode
);
Parameters
hWnd
This parameter is for specifying an application window handle. In case where the decoded
data output mode is set to "Key Buffer Output", the data will be output to a specified
window handle. With application that does not have a window handle, set the decoded data
output mode to other mode not "Key Buffer Output", and specify "NULL" for this
parameter. The output mode can be set with OBRSetBuffType functio
n.