Hope that when a device plugging in a COM or the USB port on the PC, the CVI application can catch the event. Due to the application is a windows service mode, so I think use the GetCVIWindowHandle() function to specify a particular Window to receive the message. But no idea to achieve this.
David