/* check that orientation is returned correctly by GetAdapterDisplayModeEx and EnumDisplaySettingsEx*/
todo_wineok(startmode.dmDisplayOrientation==DMDO_180&&rotation==D3DDISPLAYROTATION_180,"rotation is %d instead of %d\n",rotation,startmode.dmDisplayOrientation);
/* return to the default mode */
pChangeDisplaySettingsExA(NULL,NULL,NULL,0,NULL);
trace("GetAdapterDisplayModeEx returned Width = %d,Height = %d, RefreshRate = %d, Format = %x, ScanLineOrdering = %x, rotation = %d\n",