public static extern int EnumDisplaySettings(string deviceName, int modeNum, ref Devmode1 settings);
public static extern int ChangeDisplaySettings(ref Devmode1 settings, int flags);