Esempio n. 1
0
 public static extern int EnumDisplaySettings(
     [MarshalAs(UnmanagedType.LPWStr)]
     string lpszDeviceName,
     int iModeNum,
     ref DEVMODE lpDevMode);
Esempio n. 2
0
 internal static extern bool EnumDisplaySettingsEx(
     [MarshalAs(UnmanagedType.LPWStr)]
     string lpszDeviceName,
     int iModeNum,
     ref DEVMODE lpDevMode,
     DisplaySettingsExEnum dwFlags);
Esempio n. 3
0
 internal static extern DISP_CHANGE ChangeDisplaySettingsEx(
     string lpszDeviceName,
     ref DEVMODE lpDevMode,
     IntPtr hwnd,
     DisplaySettingsFlags dwflags,
     IntPtr lParam);