User manual
52
4.27 OBRSetBuffType
This function sets up the output mode for decoded data.
Calling Sequences
[C++]
int OBRSetBuffType(
BYTE byType
)
[Visual Basic]
Public Shared Function OBRSetBuffType( _
ByVal byType As Byte _
) As Int32
[C#]
public static Int32 OBRSetBuffType(
Byte byType
);
Parameters
byType
This parameter is for specifying output mode selecting one of the values listed below.
OBR_BUFOBR : Output to OBR buffer
OBR_STOFF : Output as key message to specified window handle
OBR_ASTOFF : Output to focused location via Clipboard
Return Values
OBR_OK : Normal end
OBR_PRM : Parameter error
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error
Note:
The destination window handle for key message is specified with OBROpen funct
ion.