CrGlobal: FunctionCallByAddress

FunctionCallByAddress

call a function (by address)

 Public Function FunctionCallByAddress(
	  ByVal FunctionAddress As Long,
	  ByVal Argument1 As Long,
	  ByVal Argument2 As Long,
	  ByVal Argument3 As Long,
	  ByVal Argument4 As Long ) As Long

Parameters

FunctionAddress
[ByVal] Long. address of function to call
Argument1
[ByVal] Long. arbitrary long integer argument value passed to the function
Argument2
[ByVal] Long. arbitrary long integer argument value passed to the function
Argument3
[ByVal] Long. arbitrary long integer argument value passed to the function
Argument4
[ByVal] Long. arbitrary long integer argument value passed to the function

Return Values

Long -  result of the function

Remarks

This function uses the implementation of a Win32 API function.

Component/library designers are strongly encouraged to author original callback functions with meaningful arguments.

See Also

Project crgenlib Overview Class CrGlobal Overview CrGlobal Properties CrGlobal Methods FunctionAddressEvaluate IntegerRandomWithinRange