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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html