次の方法で共有


IPartsList Interface

Previous Next

IPartsList Interface

The IPartsList interface represents a list of parts, each of which is an object with an IPart interface that represents a connector or subunit. A client obtains a reference to an IPartsList interface by calling the IPart::EnumPartsIncoming, IPart::EnumPartsOutgoing, or IDeviceTopology::GetSignalPath method.

For a code example that uses the IPartsList interface, see the implementation of the SelectCaptureDevice function in Device Topologies.

IPartsList inherits from the IUnknown interface. In addition to the methods inherited from IUnknown, IPartsList supports the following methods.

Method Description
GetCount Gets the number of parts in the parts list.
GetPart Gets a part from the parts list.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next