mirror of
https://github.com/wine-mirror/wine
synced 2024-07-10 04:46:10 +00:00
windows.perception.stub: Implement ISpatialSurfaceObserverStatics2::IsSupported().
Needed by the VR games Forewarned and Überlaüfer.
This commit is contained in:
parent
4f9a79bcea
commit
50f5f9af1c
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue
Block a user