Returns the error code of the error that occurred when calling the last function.
Public Declare Function API_ErrorCode Lib "diCryptoSys.dll" () As Long
nRet = API_ErrorCode()
None.
long _stdcall API_ErrorCode(void);
Long: Returns the error code of the error that occurred
when calling the last function, or zero if no error occurred.
The value returned is always a non-negative integer greater than or equal to zero. Not all functions set this value.
Dim nErrCode as Long
nErrCode = API_ErrorCode()