PartType enumeration (devicetopology.h)

The PartType enumeration defines constants that indicate whether a part in a device topology is a connector or subunit.


typedef enum __MIDL___MIDL_itf_devicetopology_0000_0000_0012 {
  Connector = 0,
} PartType;


Value: 0
The part is a connector. A connector can represent an audio jack, an internal connection to an integrated endpoint device, or a software connection implemented through DMA transfers. For more information about connector types, see ConnectorType Enumeration.
The part is a subunit. A subunit is an audio-processing node in a device topology. A subunit frequently has one or more hardware control parameters that can be set under program control. For example, an audio application can change the volume setting of a volume-control subunit.


The IPart::GetPartType method uses the constants defined in the PartType enumeration to indicate whether an IPart object represents a connector or a subunit. If an IPart object represents a connector, a client can query that that object for its IConnector interface. If an IPart object represents a subunit, a client can query that that object for its ISubunit interface.

For more information about connectors and subunits, see Device Topologies.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header devicetopology.h

See also

Core Audio Constants

Core Audio Enumerations

IConnector Interface

IPart Interface

ISubunit Interface