[Overview][Types][Procedures and functions][Index] | Reference for unit 'exeinfo' (#rtl)

# GetModuleByAddr

Return the module name by address

## Declaration

Source position: exeinfo.pp line 49

`procedure GetModuleByAddr(`
`addr: pointer;`
`var baseaddr: pointer;`
`var filename: string`
`);`

## 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 succesful, it returns True and returns the filename in FileName and the base address at which it is loaded in BaseAddr.

Documentation generated on: Feb 26 2014