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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 174
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 98
Publication 1747-UM002A-US-P - June 2000
Library of Routines 6-39
WORD OCHardwareRevision; /* Hardware revision */
} OCVERSIONINFO;
The Windows NT version uses the above structure with these
additional members:
WORD OCDriverSeries; / * Device driver series */
WORD OCDriverRevision / * Device driver
series revision */
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
OCVERSIONINFO verinfo;
int retcode;
retcode = OC_GetVersionInfo( Handle, &verinfo );
OC_InitScanner
This function initializes the shared memory interface between the host
and scanner and this function configures the shared memory
partitioning.
Syntax:
int OC_InitScanner(HANDLE handle, OCINIT *scaninit);
Parameters:
Name: Value: Description:
SUCCESS 0 version information was read successfully
ERR_OCACCESS 2
handle does not have access to scanner
ERR_OCINIT 5 scanner has not been initialized, see OC_InitScanner
Parameter: Description:
handle Must be a valid handle returned from OC_OpenScanner
scaninit Points to the structure that contains the initialization information
passed from the application
Przeglądanie stron 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 173 174

Komentarze do niniejszej Instrukcji

Brak uwag