Error codes for Capture functions
The error codes for the WinTask Capture functions on Web pages are listed at Error codes for Web functions.
The error codes for the HardCopy function are listed at Error codes for File management functions.
UseOCREngine returns 1 if the specified OCR engine cannot be used (typically not installed).
The other Capture functions do not stop execution if the capture cannot be done, either they return an empty string, or they return a return code which is given in the help of the function.