mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-18 06:49:33 +00:00
windows.perception.stub/tests: Add ISpatialSurfaceObserverStatics2::IsSupported() tests.
This commit is contained in:
parent
006bc33c57
commit
4f9a79bcea
|
@ -50,6 +50,7 @@ static void test_ObserverStatics(void)
|
|||
static const WCHAR *observer_statics_name = L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver";
|
||||
ISpatialSurfaceObserverStatics2 *observer_statics2;
|
||||
IActivationFactory *factory;
|
||||
BOOLEAN value;
|
||||
HSTRING str;
|
||||
HRESULT hr;
|
||||
LONG ref;
|
||||
|
@ -74,6 +75,11 @@ static void test_ObserverStatics(void)
|
|||
hr = IActivationFactory_QueryInterface( factory, &IID_ISpatialSurfaceObserverStatics2, (void **)&observer_statics2 );
|
||||
ok( hr == S_OK, "got hr %#lx.\n", hr );
|
||||
|
||||
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 );
|
||||
|
||||
ref = ISpatialSurfaceObserverStatics2_Release( observer_statics2 );
|
||||
ok( ref == 2, "got ref %ld.\n", ref );
|
||||
ref = IActivationFactory_Release( factory );
|
||||
|
|
Loading…
Reference in a new issue