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
Use RegisterDeviceNotification to register for getting WM_DEVICECHANGE notification.
1.4m articles
1.4m replys
5 comments
57.0k users