This topic has not yet been rated - Rate this topic

CBasePin::ConnectedTo (Windows Embedded Compact 7)

1/23/2013

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


HRESULT ConnectedTo(
  IPin** ppPin
);
ppPin

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

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

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.

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.