The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IHostControl Interface

Provides methods for configuring the loading of assemblies, and for determining which hosting interfaces the host supports.

interface IHostControl : IUnknown {

    HRESULT GetHostManager (
        [in] REFIID riid, 
        [out, iid_is(riid)] IUnknown** ppObject
    HRESULT SetAppDomainManager (
        [in] DWORD dwAppDomainID,
        [in] IUnknown* pUnkAppDomainManager



IHostControl::GetHostManager Method

Gets an interface pointer to the host's implementation of the interface with the specified IID.

IHostControl::SetAppDomainManager Method

Notifies the host that an application domain has been created.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft