Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Makes a connection to the calling output pin.
HRESULT ReceiveConnection( IPin * pConnector , AM_MEDIA_TYPE * pmt );
Parameters
Return Values
Returns an HRESULTvalue.
Remarks
This member function implements the IPin::ReceiveConnectionmethod. It calls CheckConnectand, if successful, then calls CheckMediaTypeto verify if the media type is acceptable. If either of these calls fails, it calls BreakConnectand exits. To finish the connection process, it calls CompleteConnect, which is implemented in CBasePinto return NOERROR, but can be overridden in the derived class.