User manual

40
4.17 OBRGetScanningKey
This function retrieves the current scanning Trigger keys. While the scanner driver is being set
opened with OBROpen func
tion, scanning starts when one of the Trigger keys specified with
OBRSetScanningKey fu
nction is pressed. During this period, all the scanning Trigger keys set
are occupied by the scanner driver, the user cannot access unless OBRClose fu
nction is carried out
to make the keys free from the scanner driver.
Calling Sequences
[C++]
int OBRGetScanningKey(
DWORD *pKey
)
[Visual Basic]
Public Shared Function OBRGetScanningKey( _
ByRef pKey As Int32 _
) As Int32
[C#]
public static Int32 OBRGetScanningKey(
ref Int32 pKey
);
Parameters
pKey
This parameter is for retrieving the scanning Trigger keys. See OBRSetScanningKey
function for
the values to retrieve.
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