9.2
S
CAN
D
ISABLE
CHS()
Prototype:
Windows
CE
:
SCANAPI_API SCAN_RESULT ScanDisableCHS(HANDLE hScanner);
Windows XP:
SCANAPI_API SCAN_RESULT ScanDisableCHS(HWND hWnd, HANDLE hScanner);
Purpose:
This function will disable CHS
and unload the CHS driver
Arguments:
[in] hScanner is the scanner id used to disable the CHS
Notes:
This function is only relevant to the CHS. This function will send a wmRemoval message to the
main window.
Returns:
SR_SUCCESS
The operation completed successfully.
SR_DEVICE_FAILURE
Unable to communicate with the scanner
SR_INTERNAL_FAILURE
The CHS driver failed to load.
April 8, 2010
Page 62
Document#: 6410-00147 K
Revision 2.28