You may receive an "E_NOINTERFACE" error message when you query the IWMDMDevice interface or the IWMDMDevice2 interface for the IWMDMDevice3 interface in the Windows Media Device Manager 10 SDK (909107)
The information in this article applies to:
- Microsoft Windows Media Format 9.5 SDK
SYMPTOMSIn the Microsoft Windows Media Device Manager 10 Software Development Kit (SDK), when you query the IWMDMDevice interface or the IWMDMDevice2 interface for the IWMDMDevice3 interface, you may receive an "E_NOINTERFACE" error message under certain circumstances.
This behavior only occurs if you query the IComponentAuthenticate interface for the IWMDeviceManager interface, and then you try to query for the IWMDMDevice interfaces.
Note The Windows Media Device Manager 10 SDK is included with the Microsoft Windows Media Format 9.5 SDK.CAUSEThis behavior occurs because of the way that the IWMDMDevice3 interface was added to extend the functionality of the Windows Media Device Manager 10 SDK.RESOLUTIONInstead of querying the IComponentAuthenticate interface for the IWMDeviceManger interface, query the IComponentAuthenticate interface for the IWMDeviceManager2 interface. When you do this, you also must make sure that you use the EnumDevices2 method to access the appropriate IWMDMDevice interface.
STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/17/2005 |
---|
Keywords: | kbprb KB909107 kbAudDeveloper |
---|
|