Skip to end of metadata
Go to start of metadata

Declaration

Delphi

function setPadSettings(PadSettings, CertStr: ShortString): Boolean;

C/C++

SOPAD_API void SOPAD_setPadSettings(const char* szPadSettings, const char* szCertStr);

ActiveX

HRESULT _stdcall setPadSettings([in] BSTR padSetting, [in] BSTR certStr);

HRESULT _stdcall setPadSettingsEx([in] BSTR padSetting, [in] BSTR certStr, [out, retval] VARIANT_BOOL* Value);

Description

Function stored pad settings string and use appropriate device in further function calls (unless pad settings are provided explicitly as function parameter).

Note: if possible, it is recommended to use configurePad to set pad settings in new applications.

Arguments

PadSettings

PadSettings string of the device which should be used by the driver.

CertStr

Driver certificate string. Current version of the driver uses XML certificate which is more flexible and supports more signature devices.

Return value

Function returns true if new settings have been applied and stored. In case of failure function returns false and sets extended error code which get be read with the help of GetSOPadError call.

Possible error codes are listed below:

  • SOPAD_ERROR_INVALID_PUBLIC_KEY

See also

GetSOPadError

Driver error codes

  • No labels