summaryrefslogtreecommitdiff
path: root/src/vm/dllimport.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-05-21 07:48:53 -0700
committerGitHub <noreply@github.com>2019-05-21 07:48:53 -0700
commit221dc73878027e95b515d0c46cad0266331e538d (patch)
tree7c6561aaea354019a00573a2337085293699f93b /src/vm/dllimport.h
parent458d030119725292bcc00b07dd401dc01d3ce119 (diff)
downloadcoreclr-221dc73878027e95b515d0c46cad0266331e538d.tar.gz
coreclr-221dc73878027e95b515d0c46cad0266331e538d.tar.bz2
coreclr-221dc73878027e95b515d0c46cad0266331e538d.zip
Avoid PAL LoadLibrary simulator for regular PInvoke (#24669)
Fixes #21009
Diffstat (limited to 'src/vm/dllimport.h')
-rw-r--r--src/vm/dllimport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/dllimport.h b/src/vm/dllimport.h
index 5a3b06fd26..4e3b862760 100644
--- a/src/vm/dllimport.h
+++ b/src/vm/dllimport.h
@@ -73,12 +73,12 @@ public:
//---------------------------------------------------------
static HRESULT HasNAT_LAttribute(IMDInternalImport *pInternalImport, mdToken token, DWORD dwMemberAttrs);
- static LPVOID NDirectGetEntryPoint(NDirectMethodDesc *pMD, HINSTANCE hMod);
+ static LPVOID NDirectGetEntryPoint(NDirectMethodDesc *pMD, NATIVE_LIBRARY_HANDLE hMod);
static NATIVE_LIBRARY_HANDLE LoadLibraryFromPath(LPCWSTR libraryPath, BOOL throwOnError);
static NATIVE_LIBRARY_HANDLE LoadLibraryByName(LPCWSTR name, Assembly *callingAssembly,
BOOL hasDllImportSearchPathFlags, DWORD dllImportSearchPathFlags,
BOOL throwOnError);
- static HINSTANCE LoadLibraryModule(NDirectMethodDesc * pMD, LoadLibErrorTracker *pErrorTracker);
+ static NATIVE_LIBRARY_HANDLE LoadLibraryModule(NDirectMethodDesc * pMD, LoadLibErrorTracker *pErrorTracker);
static void FreeNativeLibrary(NATIVE_LIBRARY_HANDLE handle);
static INT_PTR GetNativeLibraryExport(NATIVE_LIBRARY_HANDLE handle, LPCWSTR symbolName, BOOL throwOnError);