Rockwell-automation 1747-PCIS API Software - Open Controller Instrukcja Użytkownika Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 174
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 173 174

Komentarze do niniejszej Instrukcji

Brak uwag