[wdmaudiodev] Disabled devices on Vista showing up as "not present"

  • From: "Michael R. Preston" <mike@xxxxxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 31 Oct 2006 14:09:15 -0800

I'm seeing a curious problem when enumerating the playback endpoints on a system. There are 4 possible device states - Active, Disabled, Not Present, and Unplugged. I have an application that enumerates the endpoints and checks their state. If I go into the Sound control panel and disable one of the devices, the call to GetState() on the MMDevice returns DEVICE_STATE_NOTPRESENT, instead of DEVICE_STATE_DISABLED. Is this the expected behavior? This is causing problems because there is apparently a hidden playback endpoint, "Remote Playback (Microsoft RDP Audio Transport)", which also shows up as Not Present. How can I tell the difference between disabled endpoints and hidden ones?

|            Mike Preston          | Home/Office: (360)756-1655 |
| E-mail: mike@xxxxxxxxxxxxxxxxxxx |        Cell: (360)303-9331 |
|     The man who follows the crowd will usually get no         |
|     further than the crowd.  The man who walks alone is       |
|     likely to find himself in places no one has ever been.    |
|                     -- Alan Ashley-Pitt                       |

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


Other related posts: