Zebediah Figura (@zfigura) commented about dlls/quartz/tests/vmr9.c:
- hr = IMemAllocator_SetProperties(allocator, &req_props, &ret_props);
- ok(hr == S_OK, "Got hr %#lx.\n", hr);
- hr = IMemAllocator_Commit(allocator);
- ok(hr == S_OK, "Got hr %#lx.\n", hr);
- device2 = create_device(window); ok(device2 != NULL, "Couldn't create device\n");
- ok(presenter.got_TerminateDevice == 0, "got %d\n", presenter.got_TerminateDevice);
- hr = IVMRSurfaceAllocatorNotify9_ChangeD3DDevice(notify, device2, MonitorFromWindow(window, MONITOR_DEFAULTTOPRIMARY)); ok(hr == S_OK, "Got hr %#lx.\n", hr);
- ok(presenter.got_TerminateDevice == 1, "got %d\n", presenter.got_TerminateDevice);
- presenter.device = device2;
- presenter.got_PresentImage = 0;
- Sleep(200); /* ChangeD3DDevice is partially asynchronous */
Do we still need this?