JCL Help:GetModulePath

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the filename of a module.


Pascal

 function GetModulePath(const Module: HMODULE): string;


Parameters

Parameters Description
const Module: HMODULE Handle of the module whose path you are querying for. This, for example, is the handle returned by LoadLibrary (or LoadLibraryEx) or the address at which the module is loaded (in Win32 a module handle is the base address at which a module is loaded).


Return Value

The fully qualified filename of the specified module, or an empty string on failure.


Description

GetModulePath returns the fully qualified filename of the executable file that houses the module specified by the Module parameter.


About

Unit

JclFileUtils


Donator

Azret Botash


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