Result = CallFunction(#Library, FunctionName$ [,Parameter1 [, Parameter2...]])Description
Calls a function in the specified library, by using its name. The specified library must have previously been opened with the OpenLibrary() function. The function is expected to use the stdcall calling convention (the standard in most DLLs on Windows).
#Library The library from which the function will be called. FunctionName$ The name of the function to call. The function name is case sensitive. Parameter1, Parameter2, ... The parameters for the function. The number of parameters must match the parameters of the called function. The maximum number of supported parameters is 20.
Returns the return-value of the called function or zero if the library does not contain a function with the given name.
To call a function that uses the 'cdecl' calling convention, use the CallCFunction() function.
Note: This function is not very flexible and does not handle string/float/double/quad parameters or string/float/double/quad returns. The use of prototypes is now strongly recommended.
CallCFunction(), GetFunction(), prototypes