Rockwell-automation 1747-PCIS API Software - Open Controller Manual do Utilizador Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 174
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 173 174

Comentários a estes Manuais

Sem comentários