Call ChangeDisplaySettingsEx.

We need to implement a test phase to verify that new settings are correct.

svn path=/trunk/; revision=14324
This commit is contained in:
Hervé Poussineau 2005-03-25 23:21:00 +00:00
parent f14bd21382
commit 554ba464bc

View file

@ -518,9 +518,6 @@ SettingsPageProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lPar
|| CurrentDisplayDevice->CurrentSettings->dmPelsHeight != CurrentDisplayDevice->InitialSettings.dmPelsHeight
|| CurrentDisplayDevice->CurrentSettings->dmBitsPerPel != CurrentDisplayDevice->InitialSettings.dmBitsPerPel)
{
#if 1
MessageBox(NULL, TEXT("Sorry... Applying changes is not implemented in ReactOS..."), TEXT("Display settings"), MB_OK | MB_ICONSTOP);
#else
/* FIXME: Need to test changes */
/* Apply new settings */
LONG rc;
@ -554,7 +551,6 @@ SettingsPageProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lPar
MessageBox(NULL, TEXT("Unknown error when applying new settings..."), TEXT("Display settings"), MB_OK | MB_ICONSTOP);
break;
}
#endif
}
}
break;