GetFunctionEntry()

Syntax

Result = GetFunctionEntry(#Library, FunctionEntry)
Description
Checks if the library, contains the given function entry. This searches for a library function by its position within the libraries function table, rather than by its name.

Parameters

#Library The number of the library which contains the functions to find. This number must be identical to that used previously with OpenLibrary().
FunctionEntry A number representing the function index in the library. The first function is at index 1.

Return value

Returns the address to the function in the library on success and zero if the library does not contain a function with that index.

Remarks

The function can be called by its address using prototypes. The functions CallFunctionFast() and CallCFunctionFast() can also be used for that, but prototypes are the recommended method as they are more flexible.

See Also

GetFunction(), CallFunctionFast(), CallCFunctionFast(), prototypes

Supported OS

Windows

<- GetFunction() - Library Index - IsLibrary() ->