Introduction - If you have any usage issues, please Google them yourself
Set the display resolution to execute the function, note that the system does not support the display mode can not be selected, otherwise, ready to restart in safe mode. API function EnumDisplaySettings the system support mode, to write, is also very simple.
Or, DM_DISPLAYFREQUENCY code attribute the rate of change or not, but not to join this DM_DISPLAYFREQUENCY this parameter, as long as the system supports should not change the refresh rate.