Last updated 1 year ago
[DllImport("winspool.drv", SetLastError = true)] public static extern bool DeleteMonitor( IntPtr pName, IntPtr pEnvironment, IntPtr pMonitorName );
Microsoft documentation: