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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 174
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 173 174

Comentarios a estos manuales

Sin comentarios