enumdisplaydevices vs wmi win32_desktopmonitor, detect active monitors?
for tide c++ digest i need detect unparalleled twine each guard connected active infinite array computers.
research separate 2 options
use wmi query win32_desktopmonitor active monitors. pnpdeviceid unparalleled marker monitors.
use enumdisplaydevices api, puncture down device id.
i'm prying controlling device id unparalleled denote marker since monitors controlling default block play engineer news general twine guard name "default block play monitor"
i have experiencing issues wmi method, seems wholly returning 1 guard perspective machine, looking during doco turns out does work approaching non wddm devices.
the enumdisplaydevices seems small mysterious going runs credentials use (especially vista), it's event 0 relapse info.
has anyone else something identical (find unparalleled denote twine connected active monitors?)
what proceed worked best?
Comments
Post a Comment