JCL Help:PeIsExportFunctionForwardedEx

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether a function is forwarded.


Pascal

 function PeIsExportFunctionForwardedEx(const FileName: TFileName; const FunctionName: string; out ForwardedName: string; Options: TJclSmartCompOptions = []): Boolean;


Parameters

Parameters Description
const FileName: TFileName Filename of the image file to test.
const FunctionName: string Name of the function to test.
out ForwardedName: string If the specified function is forwarded this parameters receives a string of the format DLL.FunctionName which is where the function is forwarded to.
Options: TJclSmartCompOptions = [] Optional parameters which determine various aspects of the functionname matching such as case sensitivity. See TJclSmartCompOptions for more detailed information.


Return Value

If the specified function is forwarded to another module the function returns True, otherwise it returns False. In the latter case the contents of the ForwardedName parameter is undefined.


Description

PeIsExportFunctionForwardedEx detemines whether the specified function is forwarded to another image/function or not. If it is forwarded the ForwardedName parameter receives the location to which the function is forwarded.


About

Unit

JclPeImage


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page