diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2017-11-03 19:12:39 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2017-11-03 19:12:39 +0300 |
commit | 31b20c5d8f3194183bd66632facf00824bddfde9 (patch) | |
tree | de41c0c4397c4418e124cd8e6b409ace6648ef7a /src/Native/Runtime/module.h | |
parent | 2c6a095c32a912a5ae17b1aba123cb7cd96a3977 (diff) |
ProjectX: New GetOsModuleHandle API to ICodeManager
The new GetOsModuleHandle API is used by the StackTraceMetadata code in both ProjectN and ProjectX.
[tfs-changeset: 1680143]
Diffstat (limited to 'src/Native/Runtime/module.h')
-rw-r--r-- | src/Native/Runtime/module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/module.h b/src/Native/Runtime/module.h index f1a48b2a8..6368633ce 100644 --- a/src/Native/Runtime/module.h +++ b/src/Native/Runtime/module.h @@ -102,7 +102,7 @@ public: PTR_ModuleHeader GetModuleHeader(); - HANDLE GetOsModuleHandle(); + PTR_VOID GetOsModuleHandle(); BlobHeader * GetReadOnlyBlobs(UInt32 * pcbBlobs); @@ -119,7 +119,7 @@ private: Module(ModuleHeader * pModuleHeader); #ifdef FEATURE_CUSTOM_IMPORTS static void DoCustomImports(ModuleHeader * pModuleHeader); - PTR_UInt8 GetBaseAddress() { return (PTR_UInt8)(size_t)GetOsModuleHandle(); } + PTR_UInt8 GetBaseAddress() { return (PTR_UInt8)GetOsModuleHandle(); } #endif // FEATURE_CUSTOM_IMPORTS |