I am writing an application that runs in the taskbar and displays the main form when it recognises a USB device has been inserted/disconnected. So far I've been able to create an application that runs in the taskbar and has all the relevant forms.
I'm currently struggling with how to detect USB Notifications (I believe WM_DEVICECHANGE). And how to perform an action based upon this.
Could someone point me in the right direction of how to achieve this?
Thank You