|
|
От: |
Ulin
|
|
| Дата: | 06.07.05 14:10 | ||
| Оценка: | |||
А> ...
А> CComPtr< IBaseFilter> m_pCompressor;
А> // получили компрессор
А> ...
А> CComPtr<IPin> pCompressorIn = GetInPin (m_pCompressor, 0);
А> CComPtr< IPin > pOtherPin;
А> pCompressorIn->ConnectedTo(&pOtherPin); // не понимаю, что значит соединить один пин с ничем не привязанным другим пином
А>The ConnectedTo method retrieves a pointer to the connected pin, if any. This method implements the IPin::ConnectedTo method.
Syntax
HRESULT ConnectedTo(
IPin **ppPin
);
Parameters
ppPin
Address of a variable that receives a pointer to the IPin interface of the other pin.
Return Value
Returns an HRESULT value. Possible values include those in the following table.