Connecting Tech Pros Worldwide Forums | Help | Site Map

How to differentiate a virtual device arrival/removal than a (real) physical device?

Newbie
 
Join Date: Feb 2008
Posts: 18
#1: Jul 4 '08
In my application that does some audio-related stuff, I constantly receive WM_DEVICECHANGE - DBT_DEVICEARRIVAL from the Vista Business OS, although there is no actual device arrivals nor removals. I think somewhere in the code or some other application could be adding some virtual devices on the ports, so I reckon that kicks off these events.

I think what I should do is to try to find a way to distinguish virtual device notifications than physical device notification.

Anyone has any idea how to achieve this?

Thanks in advance!

Reply