GetFunctionEntry()

Syntax

Result = GetFunctionEntry(#Library, FunctionEntry)
Description
Checks if the library, previously opened using the OpenLibrary() command, contains the given function entry. This searches for a library function by its position in the function table inside the library rather than by name, as with the GetFunction() command. This function can be useful to call undocumented API functions.

Parameters

#Library - The number of the library you want to find a function in. This must be the same number that you use when you called OpenLibrary().

FunctionEntry - A number representing the function index in the library. The first function is at index 0.

Return value

Result - The address in memory of the function from the library, which is useful for using with the CallFunctionFast() or CallCFunctionFast() commands. If the address is zero then the function cannot be found and you should not try to call it.

Supported OS

Windows

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