GetFunctionEntry()

Syntax

Result = GetFunctionEntry(#Library, FunctionEntry)
Description
Checks if the library, previously opened using the OpenLibrary() function, contains the given function entry. This searches for a library function by its position within the libraries function table, rather than by its name, such as is the case with the GetFunction() function. This function is often useful when calling undocumented API functions.

Parameters

#Library - The number of the library which contains the functions whose entries are to be found. 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

Result - The address in memory of the function from the library, which is useful in conjuction with the CallFunctionFast() or CallCFunctionFast() functions. If the address is zero then the function can not be found and should not be called.

Supported OS

Windows

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