Parameters
ControlPC
The virtual address of an instruction bundle within the function.
ImageBase
The base address of module to which the function belongs.
TargetGp
The global pointer value of the module.
This parameter has a different declaration on x64 systems. For more information, see x64 Definition.
Return Value
If there is no entry in the function table for the specified PC, the function returns NULL. Otherwise, the function returns the address of the function table entry that corresponds to the specified PC.
x64 Definition
This function is declared as follows:
PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry (
IN ULONG64 ControlPc,
OUT PULONG64 ImageBase,
IN OUT PUNWIND_HISTORY_TABLE HistoryTable OPTIONAL
);