carb::extras::getLibraryFilenameByHandle
Defined in carb/extras/Library.h
-
inline std::string carb::extras::getLibraryFilenameByHandle(LibraryHandle handle)
Retrieves the path for a loaded library from its handle.
- Parameters
handle – [in] The handle to the library to retrieve the name for. This may be
nullptr
to retrieve the filename of the main executable module for the process.- Returns
A string containing the full path to the requested library.
- Returns
An empty string if the module handle was invalid or the library is no longer loaded in the process.