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
Download Visual Studio Add-In

Search Results for "MONITOR_INFO_2" in [All]

Structures

.
Summary
The MONITOR_INFO_2 structure identifies a monitor.
.

public struct MONITOR_INFO_2

.

Structure MONITOR_INFO_2

.
Documentation
[MONITOR_INFO_2] on MSDN

winspool

.

private static extern Int32 AddMonitor(String pName, UInt32 Level, ref MONITOR_INFO_2 pMonitors);

.

MONITOR_INFO_2

.

MONITOR_INFO_2 mi2 = new MONITOR_INFO_2();

.

    public struct MONITOR_INFO_2

.

  public static List<MONITOR_INFO_2> GetMonitors()

.

        List<MONITOR_INFO_2> ports = new List<MONITOR_INFO_2>();

.

            ports.Add((MONITOR_INFO_2)Marshal.PtrToStructure(currentMonitor, typeof(MONITOR_INFO_2)));

.

            currentMonitor = (IntPtr)(currentMonitor.ToInt32() + Marshal.SizeOf(typeof(MONITOR_INFO_2)));


 
Access PInvoke.net directly from VS: