Rockwell-automation 1747-PCIS API Software - Open Controller Manual de usuario Pagina 87

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 174
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 86
Publication 1747-UM002A-US-P - June 2000
Library of Routines 6-27
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 */
OC_GetScannerStatus
OC_GetScannerStatus reads the current status of the scanner.
Syntax:
int OC_GetScannerStatus(HANDLE handle, BYTE
*scansts);
Parameters:
Parameter: Description:
handle Must be a valid handle returned from OC_OpenScanner
scansts Status of the scanner
Vista de pagina 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 173 174

Comentarios a estos manuales

Sin comentarios