Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PartType enumeration defines constants that indicate whether a part in a device topology is a connector or subunit.
Syntax
typedef enum __MIDL___MIDL_itf_devicetopology_0000_0000_0012 {
Connector = 0,
Subunit
} PartType;
Constants
ConnectorValue: 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. |
SubunitThe 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 object for its IConnector interface. If an IPart object represents a subunit, a client can query that object for its ISubunit interface.
For more information about connectors and subunits, see Device Topologies.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | devicetopology.h |