User manual

157
4.88 OBRSetFilter
This function sets up the noise filter mode.
In the Device Emulator, the function does not perform, but stores the preset value as internal
variable. The value stored can be checked with OBRGetFilter func
tion.
Calling Sequences
[C++]
int OBRSetFilter(
DWORD dwMode
)
[Visual Basic]
Public Shared Function OBRSetFilter( _
ByVal dwMode As Int32 _
) As Int32
[C#]
public static Int32 OBRSetFilter(
Int32 dwMode
);
Parameters
dwMode
This parameter is for specifying noise filter mode selecting one of the values listed below.
OBR_NOFILTER : Disable noise filter.
OBR_SOFTFILTER : Enable software filter.
OBR_HARDFILTER : Enable hardware filter.
OBR_SOFTHARDFILTER : Enable software and hardware filters.
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