Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "enumdisplaysettings" in [All]

user32

.

EnumDisplaySettings(d.DeviceName, 0, ref dm);

.
Summary
The EnumDisplaySettings API enumerates the display settings for the machine (surprise!). It returns a DEVMODE struct which contains the current settings. Use ChangeDisplaySettings to change those values.
.

public static extern bool EnumDisplaySettings (string deviceName, int modeNum, ref DEVMODE devMode );  

.

Public Function EnumDisplaySettings(ByVal deviceName As String, ByVal modeNum As Integer, ByRef devMode As DEVMODE) As Boolean

.

See also: EnumDisplaySettingsEx

.

public static extern bool EnumDisplaySettings(string lpszDeviceName, int iModeNum, ref DEVMODE lpDevMode);

.

    while (EnumDisplaySettings(null, i, ref vDevMode))

.
Documentation
[EnumDisplaySettings] on MSDN
.
Summary
.

static extern bool EnumDisplaySettingsEx(string lpszDeviceName, uint iModeNum, out DEVMODE lpDevMode, uint dwFlags);

.

Private Shared Function EnumDisplaySettingsEx(ByVal lpszDeviceName As String, ByVal iModeNum As UInteger, ByRef lpDevMode As DEVMODE, ByVal dwFlags As UInteger) As Boolean

.

See also: EnumDisplaySettings

.
Documentation
[EnumDisplaySettingsEx] on MSDN

 
Access PInvoke.net directly from VS: