Example #1
0
 private static extern int EnumDisplaySettings(
     string lpszDeviceName, int iModeNum, ref DEVMODE lpDevMode);
Example #2
0
 DISP_CHANGE IUser32.ChangeDisplaySettingsEx(string lpszDeviceName, ref DEVMODE lpDevMode, IntPtr hwnd,
                                             DisplaySettingsFlags dwflags, IntPtr lParam) =>
 ChangeDisplaySettingsEx(lpszDeviceName, ref lpDevMode, hwnd, dwflags, lParam);
Example #3
0
 int IUser32.EnumDisplaySettings(string lpszDeviceName, int iModeNum, ref DEVMODE lpDevMode) =>
 EnumDisplaySettings(lpszDeviceName, iModeNum, ref lpDevMode);
Example #4
0
 private static extern DISP_CHANGE ChangeDisplaySettingsEx(
     string lpszDeviceName, ref DEVMODE lpDevMode, IntPtr hwnd,
     DisplaySettingsFlags dwflags, IntPtr lParam);