
OC_PetHostWatchdog Library of Routines 6–49
Publication 1747-6.5.3 June 1998
OC_PetHostWatchdog OC_PetHostWatchdog increments the host-to-scanner watchdog register of the
scanner.
Syntax:
void OC_PetHostWatchdog(HANDLE handle);
Parameters:
Description:
OC_PetHostWatchdog must be called at time intervals less than the timeout value specified in the
OC_SetHostWatchdog function.
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
retcode = OC_PetHostWatchdog( Handle );
Parameter: Description:
handle
Must be a valid handle returned from OC_OpenScanner
Name: Value: Description:
SUCCESS
0
watchdog was updated successfully
ERR_OCACCESS
2
handle does not have access to scanner
Comentarios a estos manuales