
Scan Key Related Functions
EnableTriggerKey
This function will enable or disable scan key.
DWORD EnableTriggerKey
{
BOOL bEnable
}
Parameters
bEnable
[in] Flag that indicates whether enable scan key(TRUE) or disable 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, E_FUNC_PAR_ERROR.
Remarks
This function is meaningful only if scanner is opened. The warm reset will enable scan key automatically.
Example
BOOL bResult;
bResult = EnableTriggerKey(TRUE);
if(bResult)
AfxMessageBox(_T("EnableTriggerKey Succeed"));
Else
AfxMessageBox(_T("EnableTriggerKey Fail"));
Requirements
OS Versions: Windows CE 5.0 and later.
Header: scanapiax.h
Link Library: scanapiax.lib
Link DLL: scanapiax.dll
Device: PT60
Programming Manual 59
Kommentare zu diesen Handbüchern