The IDeviceTopology interface provides access to the topology of an audio device. The topology of an audio adapter device consists of the data paths that lead to and from audio endpoint devices and the control points that lie along the paths. An audio endpoint device also has a topology, but it is trivial, as explained in Device Topologies. A client obtains a reference to the IDeviceTopology interface for an audio endpoint device by following these steps:
After obtaining the IDeviceTopology interface for an audio endpoint device, an application can explore the topologies of the audio adapter devices to which the endpoint device is connected.
For code examples that use the IDeviceTopology interface, see the implementations of the GetHardwareDeviceTopology and SelectCaptureDevice functions in Device Topologies.
IDeviceTopology inherits from the IUnknown interface. In addition to the methods inheriteds from IUnknown, IDeviceTopology supports the following methods.
|GetConnector||Gets the connector that is specified by a connector number.|
|GetConnectorCount||Gets the number of connectors in the device-topology object.|
|GetDeviceId||Gets the device identifier of the device that is represented by the device-topology object.|
|GetPartById||Gets a part that is identified by its local ID.|
|GetSignalPath||Gets a list of parts in the signal path that links two parts, if the path exists.|
|GetSubunit||Gets the subunit that is specified by a subunit number.|
|GetSubunitCount||Gets the number of subunits in the device topology.|
Client: Windows Vista
Header: Include Devicetopology.h.