aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/pdb/module.hpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-24 01:34:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-24 02:06:22 +0300
commitc073ed8f702e98ec56ed05e0c02167e355e6ee31 (patch)
treef726a5830ed4f47724ac6c447571398ef5b12ea2 /include/pdb/module.hpp
parentadd Process class (diff)
downloadwinapi-debug-c073ed8f702e98ec56ed05e0c02167e355e6ee31.tar.gz
winapi-debug-c073ed8f702e98ec56ed05e0c02167e355e6ee31.zip
switch to Boost.Nowide everywhere
Diffstat (limited to 'include/pdb/module.hpp')
-rw-r--r--include/pdb/module.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pdb/module.hpp b/include/pdb/module.hpp
index 1a5b227..81312b9 100644
--- a/include/pdb/module.hpp
+++ b/include/pdb/module.hpp
@@ -16,7 +16,7 @@ namespace pdb {
class ModuleInfo {
public:
- typedef IMAGEHLP_MODULE64 Impl;
+ typedef IMAGEHLP_MODULEW64 Impl;
ModuleInfo();
explicit ModuleInfo(const Impl& impl);
@@ -26,7 +26,7 @@ public:
Address get_offline_base() const { return impl.BaseOfImage; }
- std::string get_name() const { return impl.ModuleName; }
+ std::string get_name() const;
private:
static Impl create_impl();