CryptoSys API Library Manual

API_ErrorCode

Returns the error code of the error that occurred when calling the last function.

VB6/VBA Syntax

Public Declare Function API_ErrorCode Lib "diCryptoSys.dll" () As Long

nRet = API_ErrorCode()

Parameters

None.

C/C++ Syntax

long _stdcall API_ErrorCode(void);

Returns (VB6/C)

Long: Returns the error code of the error that occurred when calling the last function, or zero if no error occurred.

.NET Equivalent

General.ErrorCode Method

Remarks

The value returned is always a non-negative integer greater than or equal to zero. Not all functions set this value.

Example

Dim nErrCode as Long
nErrCode = API_ErrorCode()

See Also

API_ErrorLookup

[Contents] [Index]

[HOME]   [NEXT: API_ErrorLookup...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.