Software for 1746 I/O
OC_ReadInputImage Library of Routines 6–55
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;
WORD inputdata[2];
int retcode;
retcode = OC_ReadInputImage( Handle, NULL, 6, 0, 2, inputdata );
/* Read slot 6 data, first 2 words, directly from the input image */
/* table to inputdata buffer */
Name: Value: Description:
SUCCESS
0
input image was read successfully
ERR_OCACCESS
2
handle does not have access to scanner
ERR_OCPARAM
8
parameter contains invalid value
ERR_OCSCANCFG
14
scanner has not been configured
ERR_OCSLOT
12
slot number is invalid