Programming Manual
72
PressTriggerKey
This function will trigger scan key.
DWORD PressTriggerKey
{
BOOL
bPress
}
Parameters
bPress
[in] Flag that indicates whether press scan key(TRUE) or release scan key(FALSE).
Return Values
If function succeeds, the return value is
E_FUNC_SUCCEED
. If function fails, the return value is
E_FUNC_ERROR
.
Remarks
This function is meaningful only if scanner is opened.
Example
PressTriggerKey(TRUE);
Sleep(1000);
PressTriggerKey(FALSE);
Requirements
OS Versions:
Windows CE 5.0 and later.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT61