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. |
Retrieves a pointer to the connected pin, if there is one.
HRESULT ConnectedTo( IPin ** ppPin );
Parameters
Return Values
The base class returns S_OK if connected; otherwise, returns VFW_E_NOT_CONNECTED.
Remarks
This member function implements the IPin::ConnectedTomethod. It adds a reference to the connected IPininterface by calling the IUnknown::AddRefmethod, because each copy of an interface pointer has its reference incremented. The calling application is responsible for calling IUnknown::Releaseon this interface when done with it.