Пример #1
0
 public static extern int CreateDesktop(string lpszDesktop, string lpszDevice, ref DEVMODE pDevmode, int dwFlags, int dwDesiredAccess, ref SECURITY_ATTRIBUTES lpsa);
Пример #2
0
 public static extern int ResetDC(HDC hdc, ref DEVMODE lpInitData);
Пример #3
0
 public static extern int CreateIC(string lpDriverName, string lpDeviceName, string lpOutput, ref DEVMODE lpInitData);
Пример #4
0
 public static extern bool EnumDisplaySettings(string deviceName, int modeNum, ref DEVMODE devMode);
Пример #5
0
 public static bool EnumDisplaySettings(string deviceName, ENUM modeNum, ref DEVMODE devMode)
 {
     return EnumDisplaySettings(deviceName, (int)modeNum, ref devMode);
 }
Пример #6
0
 static extern int ChangeDisplaySettings(ref DEVMODE lpDevMode, int flags);