#include <tsWinModuleInfo.h>
|
|
UString | comments {} |
| | Comments.
|
|
UString | company_name {} |
| | Company name.
|
|
UString | file_description {} |
| | File description.
|
|
UString | file_version {} |
| | File version.
|
|
uint64_t | file_version_int = 0 |
| | File version as an integer (four 16-bit fields).
|
|
UString | internal_name {} |
| | Internal name.
|
|
UString | legal_copyright {} |
| | Legal copyright.
|
|
UString | legal_trademarks {} |
| | Legal trademarks.
|
|
UString | original_file_name {} |
| | Original_file_name.
|
|
UString | private_build {} |
| | Private build.
|
|
UString | product_name {} |
| | Product name.
|
|
UString | product_version {} |
| | Product version.
|
|
uint64_t | product_version_int = 0 |
| | Product version as an integer (four 16-bit fields).
|
|
UString | special_build {} |
| | Special build.
|
Windows module information (Windows-specific). A module is a DLL or an executable file.
◆ WinModuleInfo() [1/3]
| ts::WinModuleInfo::WinModuleInfo |
( |
| ) |
|
|
default |
◆ WinModuleInfo() [2/3]
| ts::WinModuleInfo::WinModuleInfo |
( |
const UString & | file_name | ) |
|
Constructor from a file name.
- Parameters
-
| [in] | file_name | Name of the DLL or executable file. If no directory is specified, use the LoadLibrary() search algorithm. |
◆ WinModuleInfo() [3/3]
| ts::WinModuleInfo::WinModuleInfo |
( |
const void * | address, |
|
|
std::nullptr_t | dummy ) |
Constructor from an address in memory.
- Parameters
-
| [in] | address | Some address in virtual address space, typically a function address. |
| [in] | dummy | Use nullptr for disambiguation. Reason: without it, WinModuleInfo(u"foo.dll") would call this constructor, not the one with a file name. |
◆ clear()
| void ts::WinModuleInfo::clear |
( |
| ) |
|
Clear the content of the structure.
◆ reload()
| bool ts::WinModuleInfo::reload |
( |
const UString & | file_name | ) |
|
Reload content from a file name.
- Parameters
-
| [in] | file_name | Name of the DLL or executable file. If no directory is specified, use the LoadLibrary() search algorithm. |
- Returns
- True on success, false on failure.
◆ reloadByAddress()
| bool ts::WinModuleInfo::reloadByAddress |
( |
const void * | address | ) |
|
Reload content from an address in memory.
- Parameters
-
| [in] | address | Some address in virtual address space, typically a function address. |
- Returns
- True on success, false on failure.
◆ isValid()
| bool ts::WinModuleInfo::isValid |
( |
| ) |
const |
|
inline |
Check if the information was correctly loaded from the module file.
- Returns
- True if the information is valid, false otherwise.
◆ lastError()
| const UString & ts::WinModuleInfo::lastError |
( |
| ) |
const |
|
inline |
Get the last error.
- Returns
- A constant reference to the last error message.
◆ summary()
| UString ts::WinModuleInfo::summary |
( |
| ) |
const |
Get a summary string describing the module.
- Returns
- A summary string describing the module.
◆ GetNames()
| const std::vector< std::pair< UString WinModuleInfo::*, UString > > & ts::WinModuleInfo::GetNames |
( |
| ) |
|
|
static |
Get a list of Windows-defined names and their corresponding string field in WinModuleInfo.
- Returns
- A constant reference on a vector of correspondences.
The documentation for this class was generated from the following file: