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

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

Needed by the VR game Desperate: Vladivostok.
parent fbf3c9e4
...@@ -127,8 +127,10 @@ static HRESULT WINAPI holographicspace_statics2_get_IsSupported( IHolographicSpa ...@@ -127,8 +127,10 @@ static HRESULT WINAPI holographicspace_statics2_get_IsSupported( IHolographicSpa
static HRESULT WINAPI holographicspace_statics2_get_IsAvailable( IHolographicSpaceStatics2 *iface, boolean *value ) static HRESULT WINAPI holographicspace_statics2_get_IsAvailable( 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_add_IsAvailableChanged( IHolographicSpaceStatics2 *iface, IEventHandler_IInspectable *handler, static HRESULT WINAPI holographicspace_statics2_add_IsAvailableChanged( IHolographicSpaceStatics2 *iface, IEventHandler_IInspectable *handler,
......
...@@ -137,8 +137,8 @@ static void test_HolographicSpaceStatics(void) ...@@ -137,8 +137,8 @@ static void test_HolographicSpaceStatics(void)
value = 2; value = 2;
hr = IHolographicSpaceStatics2_get_IsAvailable( holographicspace_statics2, &value ); hr = IHolographicSpaceStatics2_get_IsAvailable( 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 == FALSE, "got %d.\n", value ); ok( value == FALSE, "got %d.\n", value );
ref = IHolographicSpaceStatics2_Release( holographicspace_statics2 ); ref = IHolographicSpaceStatics2_Release( holographicspace_statics2 );
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