Exemple #1
0
 internal static extern int EnumDisplaySettings(
     string lpszDeviceName, int iModeNum, ref DeviceSettings lpDevMode);
Exemple #2
0
 internal static extern DisplayChangeStatus ChangeDisplaySettingsEx(
     string lpszDeviceName, ref DeviceSettings lpDevMode, IntPtr hwnd,
     DisplaySettingsFlags dwflags, IntPtr lParam);