1. If I create a simple GUI application using Win32::GUI, will this application also receive DBT_DEVICEARRIVAL message sent by Windows system? 2. If so, how do I look at the message. I checked the Event method of Win32::GUI and there're GetMessage() and PeekMessage() methods. Are they going to see the DBT_DEVICEARRIVAL message? 3. Or are there some other approaches, for example, using Win::API to import the WM_ONDEVICECHANGE function and then do some stuff?