CryptoSys API Library Manual

API_ModuleName

Retrieves the name of the current process's module.

VB6/VBA Syntax

Public Declare Function API_ModuleName Lib "diCryptoSys.dll" (ByVal strModuleName As String, ByVal nMaxChars As Long, ByVal nOptions As Long) As Long

nRet = API_ModuleName(strName, nStrLen, 0)

Parameters

strModuleName
[out] String to receive the name of the module.
nMaxChars
[in] Long specifying the maximum number of characters to be received.
nOptions
[in] Long option flags: not used in this release. Specify zero.

C/C++ Syntax

long _stdcall API_ModuleName(char *szOutput, long nLen, long reserved);

Returns (VB6/C)

Long: If successful, the return value is the number of characters in the output string; otherwise it returns a negative error code.

.NET Equivalent

General.ModuleName Method

COM/ASP Equivalent

gen.ModuleName
Public Function ModuleName() As String

See gen.ModuleName.

Remarks

Example

See Also

[Back to Top]

[HOME]   [NEXT: API_PowerUpTests...]

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