Commit 50f5f9af authored by Mohamad Al-Jaf's avatar Mohamad Al-Jaf Committed by Alexandre Julliard

windows.perception.stub: Implement ISpatialSurfaceObserverStatics2::IsSupported().

Needed by the VR games Forewarned and Überlaüfer.
parent 4f9a79bc
......@@ -149,8 +149,10 @@ DEFINE_IINSPECTABLE( observer_statics2, ISpatialSurfaceObserverStatics2, struct
static HRESULT WINAPI observer_statics2_IsSupported( ISpatialSurfaceObserverStatics2 *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 ISpatialSurfaceObserverStatics2Vtbl observer_statics2_vtbl =
......
......@@ -77,8 +77,8 @@ static void test_ObserverStatics(void)
value = TRUE;
hr = ISpatialSurfaceObserverStatics2_IsSupported( observer_statics2, &value );
todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr );
todo_wine ok( !value, "got %d.\n", value );
ok( hr == S_OK, "got hr %#lx.\n", hr );
ok( !value, "got %d.\n", value );
ref = ISpatialSurfaceObserverStatics2_Release( observer_statics2 );
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