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

windows.perception.stub: Implement IHolographicSpaceStatics2::get_IsSupported().

Needed by the VR game Desperate: Vladivostok.
parent 650ea6e6
...@@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( holographicspace_statics2, IHolographicSpaceStatics2, struc ...@@ -119,8 +119,10 @@ DEFINE_IINSPECTABLE( holographicspace_statics2, IHolographicSpaceStatics2, struc
static HRESULT WINAPI holographicspace_statics2_get_IsSupported( IHolographicSpaceStatics2 *iface, boolean *value ) static HRESULT WINAPI holographicspace_statics2_get_IsSupported( IHolographicSpaceStatics2 *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 holographicspace_statics2_get_IsAvailable( IHolographicSpaceStatics2 *iface, boolean *value ) static HRESULT WINAPI holographicspace_statics2_get_IsAvailable( IHolographicSpaceStatics2 *iface, boolean *value )
......
...@@ -132,7 +132,7 @@ static void test_HolographicSpaceStatics(void) ...@@ -132,7 +132,7 @@ static void test_HolographicSpaceStatics(void)
value = 2; value = 2;
hr = IHolographicSpaceStatics2_get_IsSupported( holographicspace_statics2, &value ); hr = IHolographicSpaceStatics2_get_IsSupported( holographicspace_statics2, &value );
todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr ); ok( hr == S_OK, "got hr %#lx.\n", hr );
todo_wine ok( value == TRUE, "got %d.\n", value ); todo_wine ok( value == TRUE, "got %d.\n", value );
value = 2; value = 2;
......
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