How to match WmiMonitorBasicDisplayParams to each monitor


when enumerating instances of wmimonitorbasicdisplayparams, how
1 match particular instance monitor in windows
(hmonitor, windows device name, etc)?

identifier returned wmi query instancename, which
seems correspond pnp device id. seems difficult
relate id display name returned windows
obtained either through system.windows.forms.screen.allscreens or
enumdisplaydevices. names "\\.
\display1".

way i've found seems totally unreliable (requires trolling
obscure entries in registry). i'm looking more of  "windows-
sanctioned" way determine monitor being referenced each
instance of wmimonitorbasicdisplayparams.

want know because i'd estimate physical
dimensions of each display , compare resolution the
display running , determine if user using non-square
pixels.

thanks,
-wes



Windows Server  >  Management



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS