
OC_InitScanner Library of Routines 6–47
Publication 1747-6.5.3 June 1998
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
OCINIT scaninit;
int retcode;
scaninit.InputImageSize = 128; /* 64 words for input image */
scaninit.OutputImageSize = 128; /* 64 words for output image */
scaninit.HostRetentiveDataSize = 500; /* 256 words for host data area */
retcode = OC_InitScanner( Handle, &scaninit );
Name: Value: Description:
SUCCESS
0
scanner was initialized successfully
ERR_OCACCESS
2
handle does not have access to the scanner
ERR_OCMEM
3
shared memory not found
ERR_OCPAR
6
initialization failed due to invalid partition information
ERR_OCPOST
7
POST in progress or scanner POST failed, see OC_GetScannerStatus
ERR_OCREINIT
4
scanner has already been initialized
ERR_OCRESPONSE
10
scanner did not respond to request
Comentarios a estos manuales