1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

hvsimanagementapi: Implement IIsolatedWindowsEnvironmentHostStatics::get_IsReady().

Needed for MS Office 365.
This commit is contained in:
Mohamad Al-Jaf 2023-08-02 01:07:57 -04:00 committed by Alexandre Julliard
parent 3d12331476
commit 6b8ecfd289
2 changed files with 6 additions and 4 deletions

View file

@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( isolated_host_statics, IIsolatedWindowsEnvironmentHostStati
static HRESULT WINAPI isolated_host_statics_get_IsReady( IIsolatedWindowsEnvironmentHostStatics *iface, boolean *value )
{
FIXME( "iface %p, value %p stub!\n", iface, value );
return E_NOTIMPL;
TRACE( "iface %p, value %p\n", iface, value );
*value = FALSE;
return S_OK;
}
static HRESULT WINAPI isolated_host_statics_get_HostErrors( IIsolatedWindowsEnvironmentHostStatics *iface,

View file

@ -76,8 +76,8 @@ static void test_IsolatedWindowsEnvironmentHostStatics(void)
ok( hr == S_OK, "got hr %#lx.\n", hr );
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 );
todo_wine ok( !value, "got %d.\n", value );
ok( hr == S_OK || broken( hr == E_NOTIMPL /* Win10 2004 */ ), "got hr %#lx.\n", hr );
ok( !value, "got %d.\n", value );
ref = IIsolatedWindowsEnvironmentHostStatics_Release( isolated_host_statics );
ok( ref == 2, "got ref %ld.\n", ref );