mscoree: Implement corruntimehost_CreateDomainSetup.

This commit is contained in:
Vincent Povirk 2014-08-13 14:32:29 -05:00 committed by Alexandre Julliard
parent 7c7a594692
commit 88dfdded62
1 changed files with 17 additions and 2 deletions

View File

@ -463,8 +463,23 @@ static HRESULT WINAPI corruntimehost_CreateDomainSetup(
ICorRuntimeHost* iface, ICorRuntimeHost* iface,
IUnknown **appDomainSetup) IUnknown **appDomainSetup)
{ {
FIXME("stub %p\n", iface); RuntimeHost *This = impl_from_ICorRuntimeHost( iface );
return E_NOTIMPL; HRESULT hr;
MonoDomain *domain;
MonoObject *obj;
static const WCHAR classnameW[] = {'S','y','s','t','e','m','.','A','p','p','D','o','m','a','i','n','S','e','t','u','p',',','m','s','c','o','r','l','i','b',0};
TRACE("(%p)\n", iface);
hr = RuntimeHost_GetDefaultDomain(This, &domain);
if (SUCCEEDED(hr))
hr = RuntimeHost_CreateManagedInstance(This, classnameW, domain, &obj);
if (SUCCEEDED(hr))
hr = RuntimeHost_GetIUnknownForObject(This, obj, appDomainSetup);
return hr;
} }
static HRESULT WINAPI corruntimehost_CreateEvidence( static HRESULT WINAPI corruntimehost_CreateEvidence(