Rémi Bernon (@rbernon) commented about dlls/windows.perception.stub/tests/perception.c:
- if (hr == E_ACCESSDENIED) goto cleanup;
- window = CreateWindowW( L"static", NULL, WS_VISIBLE, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, NULL, NULL );
- ok( IsWindow( window ), "CreateWindowW failed.\n" );
- holographicspace_statics2 = (void *)0xdeadbeef;
- hr = IHolographicSpaceInterop_CreateForWindow( holographic_space_interop, window, &IID_ISpatialSurfaceObserverStatics2, (void **)&holographicspace_statics2 );
- todo_wine
- ok( hr == E_NOINTERFACE, "got hr %#lx.\n", hr );
- ok( holographicspace_statics2 == NULL, "got holographicspace_statics2 %p.\n", holographicspace_statics2 );
- holographicspace_statics2 = (void *)0xdeadbeef;
- hr = IHolographicSpaceInterop_CreateForWindow( holographic_space_interop, window, &IID_ISpatialSurfaceObserverStatics2, (void **)&holographicspace_statics2 );
- todo_wine
- ok( hr == E_INVALIDARG, "got hr %#lx.\n", hr );
- ok( holographicspace_statics2 == NULL, "got holographicspace_statics2 %p.\n", holographicspace_statics2 );
What's the difference between these two calls? Why don't they return the same thing?