-
2.37. Set terminator
Function Description:
Sets terminator.
Function call:
BOOL USI_SetTerminator(int terminator);
Parameter: (input)
terminator:
int
: TERMINATOR_ENTER
: enter (CR/LF)
TERMINATOR_RETURN
: return (CR)
TERMINATOR_LINEFEED
: linefeed (LF)
TERMINATOR_NONE
: no terminator
TERMINATOR_ENTERENTER : double enter (CR/CR)
Return:
Always True.
2.38. Get good read sound mode and sound name
Function Description:
Returns Good-Read-Echo mode and sound file name.
Function call:
int USI_GetGoodReadEcho(LPTSTR buffer, UINT blen);
Parameter: (input)
buffer:
LPTSTR
: returns sound file name which included path
blen:
UINT
: defines length of the buffer.
Return:
Int:
GRE_PLAYSOUND
: Play pre-set sound file
GRE_BEEP
: Play default beep sound
GRE_NONE
: No sound.
2.39. Set good read sound mode and sound name
Function Description:
Sets Good-Read-Echo mode and sound file name.
Function call:
BOOL USI_SetGoodReadEcho(int mode, LPTSTR SoundFileName);
Parameter: (input)
mode:
int
: GRE_PLAYSOUND
: Play pre-set sound file
GRE_BEEP
: Play default beep sound
GRE_NONE
: No sound.
buffer:
LPTSTR
: sound file name which included path
Return:
It returns true when successful, false if mode is n/a.
2.40. Set previewsize (only for 2D engine)
Function Description:
Defines how large is the window for image preview.
Function call:
void USI_SetPreviewSize (SIZE size);
Parameter: (input)
size:
SIZE
: Size of image preview window
2.41. Set previewsize time-out (only for 2D engine)
Function Description:
Set timeout for preview in seconds. When in taking image preview mode, this timeout will stop
preview and trigger to capture the image.
Function call:
void USI_SetPreviewTimeout (DWORD timeout);
Parameter: (input)
timeout:
DWORD
: timeout in seconds
Содержание PA600
Страница 1: ...PA600 Programming Manual V 1 6 1 11 2008...
Страница 9: ...9...