windows.perception.stub: Implement IHolographicSpaceStatics3::get_IsConfigured().

Needed by the VR game Desperate: Vladivostok.
This commit is contained in:
Mohamad Al-Jaf 2023-03-10 20:45:36 -05:00 committed by Alexandre Julliard
parent f2a7b2f9e1
commit a0a782d8a1
2 changed files with 6 additions and 4 deletions

View file

@ -174,8 +174,10 @@ DEFINE_IINSPECTABLE( holographicspace_statics3, IHolographicSpaceStatics3, struc
static HRESULT WINAPI holographicspace_statics3_get_IsConfigured( IHolographicSpaceStatics3 *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 const struct IHolographicSpaceStatics3Vtbl holographicspace_statics3_vtbl =

View file

@ -155,8 +155,8 @@ static void test_HolographicSpaceStatics(void)
value = 2;
hr = IHolographicSpaceStatics3_get_IsConfigured( holographicspace_statics3, &value );
todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr );
todo_wine ok( value == FALSE, "got %d.\n", value );
ok( hr == S_OK, "got hr %#lx.\n", hr );
ok( value == FALSE, "got %d.\n", value );
ref = IHolographicSpaceStatics3_Release( holographicspace_statics3 );
ok( ref == 2, "got ref %ld.\n", ref );