diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-12-03 16:11:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 16:11:29 -0800 |
commit | 3b47496ef2656333684526cf71478253a207c1a5 (patch) | |
tree | 72bc3933479a1e6d45b62a87ff4a200663a878fe /src/vm/clrprivbinderwinrt.h | |
parent | 248449d08f5436fbeb140a6011e412f2fea4621f (diff) | |
download | coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.gz coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.bz2 coreclr-3b47496ef2656333684526cf71478253a207c1a5.zip |
Refactor all FCalls out of AppDomain.cs (#21337)
This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder.
Includes small bits of unrelated cleanup.
Diffstat (limited to 'src/vm/clrprivbinderwinrt.h')
-rw-r--r-- | src/vm/clrprivbinderwinrt.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/vm/clrprivbinderwinrt.h b/src/vm/clrprivbinderwinrt.h index 2bf1061d18..3515874ce0 100644 --- a/src/vm/clrprivbinderwinrt.h +++ b/src/vm/clrprivbinderwinrt.h @@ -210,26 +210,23 @@ public: // Binds WinRT assemblies only. HRESULT BindWinRTAssemblyByName( IAssemblyName * pIAssemblyName, - CLRPrivAssemblyWinRT ** ppAssembly, - BOOL fPreBind = FALSE); + CLRPrivAssemblyWinRT ** ppAssembly); // Binds WinRT assemblies only. HRESULT BindWinRTAssemblyByName( IAssemblyName * pIAssemblyName, - ICLRPrivAssembly ** ppPrivAssembly, - BOOL fPreBind = FALSE); + ICLRPrivAssembly ** ppPrivAssembly); // Binds WinRT assemblies only. HRESULT BindWinRTAssemblyByName( IAssemblyName * pIAssemblyName, - IBindResult ** ppIBindResult, - BOOL fPreBind = FALSE); + IBindResult ** ppIBindResult); HRESULT GetAssemblyAndTryFindNativeImage(SString &sWinmdFilename, LPCWSTR pwzSimpleName, BINDER_SPACE::Assembly ** ppAssembly); // On Phone the application's APP_PATH CoreCLR hosting config property is used as the app // package graph for RoResolveNamespace to find 3rd party WinMDs. This method wires up // the app paths so the WinRT binder will find 3rd party WinMDs. - HRESULT SetApplicationContext(BINDER_SPACE::ApplicationContext *pApplicationContext, SString &appLocalWinMD); + HRESULT SetApplicationContext(BINDER_SPACE::ApplicationContext *pApplicationContext, LPCWSTR pwzAppLocalWinMD); // Finds assembly with WinRT type if it is already loaded // Note: This method could implement interface code:ICLRPrivWinRtTypeBinder if it is ever needed PTR_Assembly FindAssemblyForTypeIfLoaded( |