[DllImport("winspool.drv", SetLastError = true)] public static extern bool AddMonitor( string pName, uint Level, ref MONITOR_INFO_2 pMonitors );
Microsoft documentation: Link
Last updated 1 year ago