d3d9: add a few tests for GetAdapterDisplayModeEx

Henri Verbeet hverbeet at gmail.com
Wed Jul 7 17:47:25 CDT 2010

On 8 July 2010 00:14, Louis Lenders <xerox_xerox2000 at yahoo.co.uk> wrote:
>>These obviously depend on the actual setup of the machine running the
> yeah, you have a suggestion how to change the test, or should i just leave
> them out of the test?
Perhaps you can use EnumDisplaySettingsEx() or similar functions to
retrieve that information.

>>It also seems likely that you're supposed to initialize
>>mode_ex.Size before making the GetAdapterDisplayModeEx() call.
> I did that in the test: test shows that it fails if mode_ex.Size is null,
> when it is set to sizeof(D3DDISPLAYMODEEX) it returns D3D_OK
Sorry, I read over that.

More information about the wine-devel mailing list