On 8 July 2010 00:14, Louis Lenders xerox_xerox2000@yahoo.co.uk wrote:
These obviously depend on the actual setup of the machine running the test.
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.