[DllImport("user32.dll")]
public static extern DISP_CHANGE ChangeDisplaySettings(ref DEVMODE devMode, int flags);
<DllImport("user32.dll")> _
Private Shared Function ChangeDisplaySettings(ByRef devMode As DEVMODE, ByVal flags As Integer) As DISP_CHANGE
End Function
See also ChangeDisplaySettingsEx
If you are working with multiple monitors use ChangeDisplaySettingsEx instead.
Please add some!
http://www.codeproject.com/csharp/CSDynamicScrRes.asp?df=100&forumid=38736&select=800137
Do you know one? Please contribute it!