Desktop Functions: Smart Device Functions:
|
Search Results for "MONITOR_INFO_2" in [All]Structureswinspool2: AddMonitor
private static extern Int32 AddMonitor(String pName, UInt32 Level, ref MONITOR_INFO_2 pMonitors);
MONITOR_INFO_2 mi2 = new MONITOR_INFO_2(); 3: EnumMonitors
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))); |