PartType Enumeration

Previous Next

PartType Enumeration

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

typedef enum {
  Connector,
  Subunit
} PartType;

Members

Connector

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.

Subunit

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.

Remarks

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.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h

See Also

Previous Next