JCL Help:PeStripFunctionAW

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the base name of the supplied function name.


Pascal

 function PeStripFunctionAW(const FunctionName: string): string;


Parameters

Parameters Description
const FunctionName: string Name of a function as it appears in the import or export section of an image file.


Return Value

The base name of the supplied function.


Description

Many Win32 dynamic link libraries export functions in two forms, one for ansi and one for unicode, and distinquish between these functions using a single letter suffix, A and W respectively. The name without this suffix is refered to as the base name. The PeStripFunctionAW accepts a function name and returns the base name, stripping of the suffix character if necessary.


See Also

PeSmartFunctionNameSame


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