BatchAPI Declarations - BatchAPI Declarations - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/Customize-Batch-Processes-with-the-BatchAPI/BatchAPI-Declarations - 2023-11-17

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:locale
en-US

The following function declarations are defined in the header file OCRFFAPI.H. For client applications written in C, make sure to link with the provided import library, AnyApi.lib.

#define OCRFFAPI_API __declspec(dllexport)

int OCRFFAPI_API OCRFFAPI_Connect(LPCSTR pszOCRFFExe, BOOL bHideIcon=FALSE);

int OCRFFAPI_API OCRFFAPI_Disconnect(BOOL bCloseOCRFF=TRUE);

int OCRFFAPI_API OCRFFAPI_BatchProcess(LPBATCHAPISTRUCT);

void OCRFFAPI_API OCRFFAPI_JobAbort(void);

int OCRFFAPI_API OCRFFAPI_GetSystemInfo(LPSYSINFOSTRUCT);

int OCRFFAPI_API OCRFFAPI_GetNumberOfImagesProcessed(void);

int OCRFFAPI_API OCRFFAPI_GetFirstFormFamily(LPSTR);

int OCRFFAPI_API OCRFFAPI_GetNextFormFamily(LPSTR);

int OCRFFAPI_API OCRFFAPI_Error2String(int, LPSTR);

int OCRFFAPI_API OCRFFAPI_Long2String(long, LPSTR);

int OCRFFAPI_API OCRFFAPI_GetFamilyInfo(LPFOFINFOSTRUCT);

int OCRFFAPI_API OCRFFAPI_BatchAction(LPBATCHACTIONSTRUCT);

int OCRFFAPI_API OCRFFAPI_ImageAction(LPIMAGEACTIONSTRUCT);

int OCRFFAPI_API OCRFFAPI_GetFirstBatch(LPSTR,LPBATCHDETAILSTRUCT,int *);

int OCRFFAPI_API OCRFFAPI_GetNextBatch(LPBATCHDETAILSTRUCT);

int OCRFFAPI_API OCRFFAPI_SetUserName(LPCSTR);

int OCRFFAPI_API OCRFFAPI_GetFirstHistoryBatch(LPSTR,LPSTR,LPBATCHHISTORYSTRUCT,int *);

int OCRFFAPI_API OCRFFAPI_GetNextHistoryBatch(LPBATCHHISTORYSTRUCT);

void OCRFFAPI_API OCRFFAPI_DisplayGUI(int nGUIToDisplay,LPCSTR pszFamily);

int OCRFFAPI_API OCRFFAPI_Archive(LPBATCHARCHIVESTRUCT);