Microsoft DirectX 8.1 (C++) |
This interface provides Automation-compatible methods for retrieving information about a pin, and for connecting pins. The filter graph manager exposes this interface.
Microsoft® Visual Basic® applications can use this interface to retrieve information about a pin, such as the media type and the pin direction. They can also use it to connect pins, using intermediate filters if necessary.
C/C++ applications should use the IGraphBuilder and IPin interfaces rather than this interface.
In addition to the methods inherited from IDispatch, the IPinInfo interface exposes the following methods.
Method | Description |
get_Pin | Retrieves the pin object that supports the IPin interface. |
get_ConnectedTo | Retrieves the IPinInfo object for the corresponding pin to which this pin is connected. |
get_ConnectionMediaType | Retrieves the media type on this connection. |
get_FilterInfo | Retrieves the IFilterInfo object for the filter to which this pin belongs. |
get_Name | Retrieves the name of this pin. |
get_Direction | Retrieves the pin direction. |
get_PinID | Retrieves the pin identifier. |
get_MediaTypes | Retrieves an IAMCollection interface providing access to the preferred media types supported by this pin. |
Connect | Connects to the specified pin. |
ConnectDirect | Connects directly to the specified pin. |
ConnectWithType | Connects directly to the specified pin using only the specified media type. |
Disconnect | Disconnects this pin from its connected pin. |
Render | Creates a filter graph capable of rendering the pin's media type. |