GetSOPadError

Declaration

Delphi

function GetSOPadError: Integer;

C/C++

SOPAD_API int SOPAD_GetSOPadError();

ActiveX

HRESULT GetSOPadError([out, retval] long* ErrorCode);

Description

Some functions return a boolean result and set extended error code in internal variable. This function returns that error code.

The following functions can set error code:

  • setPadSettings
  • startCapture
  • startRead

Return value

Error code set by previous function call.

ValueNameDescription
0

SOPAD_ERROR_SUCCESS

No error occurred
1SOPAD_ERROR_SET_MODE_FAILEDSetting of viewing mode failed (due to open state ?)
2SOPAD_ERROR_KEYS_REQUIREDPad command requires Admin privileges
6SOPAD_ERROR_DEVICE_FILTERED_OUTDevice type is not supported because of the filter option in PadSettings
7SOPAD_ERROR_DEVICE_OPENEDDevice is opened or battery low
8SOPAD_ERROR_INVALID_PUBLIC_KEYEncryption failed because of not matching key pair, or worng format
9SOPAD_ERROR_SECURITY_RESTRICTIONAttached pad cannot be accepted because too strict globSecurityLevel is assigned
10SOPAD_ERROR_SIGNATUR_PROCESSStarting of signature capturing failed. Could be caused by multiple reasons.
11SOPAD_ERROR_KEY_GENERATORGeneration of the Key pair (emulation mode) failed
12SOPAD_ERROR_FNC_FAILEDPad command failed
13SOPAD_ERROR_FNC_NOT_SUPPORTEDPad command not supported for this Device generation
14SOPAD_ERROR_DEVICE_NOT_FOUNDDevice type described by Padsetting string  not found; may be it is not connected 
15SOPAD_ERROR_RESOURCE_NOT_FOUND resource file not found

 

Â