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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 174
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 85
Publication 1747-UM002A-US-P - June 2000
6-26 Library of Routines
OC_GetScannerInitInfo
This function retrieves current information about the shared memory
partitioning.
Syntax:
int OC_GetScannerInitInfo(HANDLE handle, OCINIT
*scaninit);
Parameters:
Description:
If the scanner has not been initialized, OC_GetScannerInitInfo returns
an error.
If the scanner has been previously initialized, an application can
retrieve the current scanner partitioning information with this function
instead of resetting and re-initializing the scanner.
The
OCINIT structure us defined as:
typedef struct tagOCINIT
{
WORD OutputImageSize;/* size in bytes */
WORD InputImageSize;/* size in bytes */
WORD HostRetentiveDataSize;/* size in bytes */
} OCINIT;
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Parameter: Description:
handle Must be a valid handle returned from OC_OpenScanner
scaninit Points to the structure that contains the initialization information
this function returns
Name: Value: Description:
SUCCESS 0 scanner initialization information was retrieved successfully
ERR_OCACCESS 2
handle does not have access to the scanner
ERR_OCINIT 5 scanner has not been initialized, see OC_InitScanner
ERR_OCPOST 7 scanner POST failed, see OC_GetScannerStatus
Vista de pagina 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 173 174

Comentarios a estos manuales

Sin comentarios