WMDeviceChange Event Windows

Hi,

I want to capture when any USB disk is plugged in. I also want to capture the letter it is assigned to.

You can use our WinNotificationMBS class in MBS Xojo Win Plugin.

The sample project /Win/Notification shows how to use WM_DEVICECHANGE there to get an event when devices change.