IPin interface
This interface is exposed by all input and output pins.
The filter graph manager uses this interface to connect pins and perform flushing operations. Applications can use this interface to query the pin for information. Applications should never call IPin methods that change a pin's state, such as Connect, Disconnect, BeginFlush, or EndFlush. To connect pins, an application must use the methods in IGraphBuilder.
Filter developers: The CBasePin, CBaseInputPin, and CBaseOutputPin classes implement this interface. Other base classes derive from these three classes.
Members
The IPin interface inherits from the IUnknown interface. IPin also has these types of members:
Methods
The IPin interface has these methods.
| Method | Description |
|---|---|
| BeginFlush |
Begins a flush operation. |
| Connect |
Connects the pin to another pin. |
| ConnectedTo |
Retrieves the pin connected to this pin. |
| ConnectionMediaType |
Gets the media type for the current pin connection. |
| Disconnect |
Breaks the current pin connection. |
| EndFlush |
Ends a flush operation. |
| EndOfStream |
Notifies the pin that no additional data is expected. |
| EnumMediaTypes |
Enumerates the pin's preferred media types. |
| NewSegment |
Notifies the pin that media samples received after this call are grouped as a segment. |
| QueryAccept |
Determines whether the pin accepts a specified media type. |
| QueryDirection |
Gets the direction of the pin (input or output). |
| QueryId |
Gets the pin identifier. |
| QueryInternalConnections |
Retrieves the pins that are connected internally to this pin (within the filter). |
| QueryPinInfo |
Gets information about the pin, such as the name, the owning filter, and the direction. |
| ReceiveConnection |
Accepts a connection from another pin. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
Send comments about this topic to Microsoft
Build date: 11/21/2012