Anton Baskanov (@baskanov) commented about dlls/amstream/tests/amstream.c:
- format.dwFlags |= DDSD_WIDTH | DDSD_HEIGHT;
- format.dwWidth = 222;
- format.dwHeight = 555;
- hr = IDirectDrawMediaStream_SetFormat(ddraw_stream, &format, NULL);
- ok(hr == S_OK, "Got hr %#lx.\n", hr);
- ok(IsEqualGUID(&source.source.pin.mt.subtype, &MEDIASUBTYPE_RGB8),
"Got subtype %s.\n", wine_dbgstr_guid(&source.source.pin.mt.subtype));
- ok(((VIDEOINFO *)source.source.pin.mt.pbFormat)->bmiHeader.biWidth == 333,
"Got width %ld.\n", ((VIDEOINFO *)source.source.pin.mt.pbFormat)->bmiHeader.biWidth);
- ok(((VIDEOINFO *)source.source.pin.mt.pbFormat)->bmiHeader.biHeight == -444,
"Got height %ld.\n", ((VIDEOINFO *)source.source.pin.mt.pbFormat)->bmiHeader.biHeight);
- source.query_accept_hr = S_FALSE;
- hr = IDirectDrawMediaStream_SetFormat(ddraw_stream, &rgb8_format, NULL);
- ok(hr == DDERR_INVALIDSURFACETYPE, "Got hr %#lx.\n", hr);
Also missing `todo_wine`: ``` amstream.c:8683: Test failed: Got hr 0. ```