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

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

Komentarze do niniejszej Instrukcji

Brak uwag