Commit 6b8ecfd2 authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

hvsimanagementapi: Implement IIsolatedWindowsEnvironmentHostStatics::get_IsReady().

Needed for MS Office 365.
parent 3d123314
...@@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( isolated_host_statics, IIsolatedWindowsEnvironmentHostStati ...@@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( isolated_host_statics, IIsolatedWindowsEnvironmentHostStati
static HRESULT WINAPI isolated_host_statics_get_IsReady( IIsolatedWindowsEnvironmentHostStatics *iface, boolean *value ) static HRESULT WINAPI isolated_host_statics_get_IsReady( IIsolatedWindowsEnvironmentHostStatics *iface, boolean *value )
{ {
FIXME( "iface %p, value %p stub!\n", iface, value ); TRACE( "iface %p, value %p\n", iface, value );
return E_NOTIMPL;
*value = FALSE;
return S_OK;
} }
static HRESULT WINAPI isolated_host_statics_get_HostErrors( IIsolatedWindowsEnvironmentHostStatics *iface, static HRESULT WINAPI isolated_host_statics_get_HostErrors( IIsolatedWindowsEnvironmentHostStatics *iface,
......
...@@ -76,8 +76,8 @@ static void test_IsolatedWindowsEnvironmentHostStatics(void) ...@@ -76,8 +76,8 @@ static void test_IsolatedWindowsEnvironmentHostStatics(void)
ok( hr == S_OK, "got hr %#lx.\n", hr ); ok( hr == S_OK, "got hr %#lx.\n", hr );
hr = IIsolatedWindowsEnvironmentHostStatics_get_IsReady( isolated_host_statics, &value ); hr = IIsolatedWindowsEnvironmentHostStatics_get_IsReady( isolated_host_statics, &value );
todo_wine ok( hr == S_OK || broken( hr == E_NOTIMPL /* Win10 2004 */ ), "got hr %#lx.\n", hr ); ok( hr == S_OK || broken( hr == E_NOTIMPL /* Win10 2004 */ ), "got hr %#lx.\n", hr );
todo_wine ok( !value, "got %d.\n", value ); ok( !value, "got %d.\n", value );
ref = IIsolatedWindowsEnvironmentHostStatics_Release( isolated_host_statics ); ref = IIsolatedWindowsEnvironmentHostStatics_Release( isolated_host_statics );
ok( ref == 2, "got ref %ld.\n", ref ); ok( ref == 2, "got ref %ld.\n", ref );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment