DLLCall

concerns

The DLLCall function performs a function of an external module.

 

Syntax

DLLCall(ByVal LibName, ByVal FunctionName, ByVal HasStringParams, ByVal FunctionReturnType, ByVal CallConvention, ParamArray FunctionParameters())

Return value

Type

Description

Variant

Return value of the function call

Parameter

Use

Name

Type

Passing

Description

Required

LibName

String

ByVal

Name of the module (e.g. DLL)

Required

FunctionName

String

ByVal

Name of the function

Required

HasStringParams

STRINGPARAMS_ENUM

ByVal

Type of string passing

Required

FunctionReturnType

CALLRETURNTYPE_ENUM

ByVal

Type of return value

Required

CallConvention

CALLINGCONVENTION_ENUM

ByVal

Kind of call

Optional

FunctionParameters

ParamArray

ByRef

Parameters used in call