ImageGear for C and C++ on Windows v19.10 - Updated
IG_REC_timeout_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Settings Functions > IG_REC_timeout_get

Inquires the current recognition engine module timeout setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_timeout_get(
   LPAT_INT pTimeOut
);

Arguments:

Name Type Description
pTimeOut LPAT_INT Pointer to a variable to get the current module timeout settings, in milliseconds or AM_TIMEOUT_INFINITE.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
DWORD dwTimeout = INFINITE;
ErrCount += IG_REC_timeout_get(&dwTimeout);