다음을 통해 공유


CBasePin::ConnectedTo (Windows CE 5.0)

Send Feedback

Retrieves a pointer to the connected pin, if there is one.

HRESULT ConnectedTo(IPin** ppPin);

Parameters

  • ppPin
    IPin interface of the other pin (if any) that this pin is connected to.

Return Values

The base class returns S_OK if connected; otherwise, returns VFW_E_NOT_CONNECTED.

Remarks

This member function implements the IPin::ConnectedTo method.

It adds a reference to the connected IPin interface by calling the IUnknown::AddRef method, because each copy of an interface pointer has its reference incremented.

The calling application is responsible for calling IUnknown::Release on this interface when done with it.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.