Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 86

Advertising
background image

6–32

Library of Routines

OC_GetScannerInitInfo

Publication 1747-6.5.3 June 1998

Example:

HANDLE

Handle;

OCINIT

scaninit;

int

retcode;

retcode = OC_GetScannerInitInfo( Handle, &scaninit );
if ( retcode == SUCCESS )
{

printf( ”Input Image Size = %d bytes \n”, scaninit.InputImageSize );
printf( ”Output Image Size = %d bytes \n”, scaninit.OutputImageSize );
printf( ”Host Retentive Data Size = %d bytes \n”,
scaninit.HostRetentiveDataSize );

}
else

/* handle error */

Advertising
This manual is related to the following products: