Rockwell-automation 1747-PCIS API Software - Open Controller Bedienungsanleitung Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 174
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
Publication 1747-UM002A-US-P - June 2000
Library of Routines 6-3
OC_CloseScanner
This function must always be called before exiting the application.
Syntax:
int OC_CloseScanner(HANDLE handle);
Parameters:
Description:
This function releases control of the scanner device, releases the
interrupt assigned by OC_OpenScanner, and disables the segment
address assignment.
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
int retcode;
retcode = OC_CloseScanner( Handle );
Parameter: Description:
handle Must be a valid handle returned from OC_OpenScanner
ATTENTION
!
The system might become unstable if you don’t call
OC_CloseScanner before exiting the application.
Name: Value: Description:
SUCCESS 0 scanner was closed successfully
ERR_OCACCESS 2
handle does not have access to the scanner
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 173 174

Kommentare zu diesen Handbüchern

Keine Kommentare