Unit 'exeinfo' Package
[Overview][Types][Procedures and functions][Index] [#rtl]

GetModuleByAddr

Return the module name by address.

Declaration

Source position: exeinfo.pp line 71

procedure GetModuleByAddr(

  addr: pointer;

  var baseaddr: pointer;

  var filename: ansistring

);

Arguments

addr

  

Address to examine.

baseaddr

  

Base address at which module is loaded.

filename

  

FileName of the module at address addr.

Description

GetModuleByAddr returns the name of the module that contains address addr. If successful, it returns True and returns the filename in FileName and the base address at which it is loaded in BaseAddr.


Documentation generated on: Dec 11 2024