CBasePin::Disconnect (Compact 2013)

3/26/2014

Breaks a connection.

Syntax

HRESULT Disconnect(void);

Parameters

None.

Return Value

Returns NOERROR if there is no connection.

Remarks

This member function implements the IPin::Disconnect method.

It calls the CBasePin::BreakConnect member function and releases the IPin interface of the connected pin (held by m_Connected).

There are no parameters because there is only one possible connection on this pin.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBasePin Class