I need some kind of event from Windows whenever there is a monitor that's getting plugged into system. Is there any API in Windows to do that. BTW, it is an C++ application
A:
You can do it via WMI, AFAIK. I've never tried it though so I can't give much help
Goz
2009-09-17 17:44:39
+2
A:
Use RegisterDeviceNotification to register for getting WM_DEVICECHANGE notification.
Kirill V. Lyadvinsky
2009-09-17 17:45:06