Share via


IPin::Disconnect (Compact 2013)

3/26/2014

This method breaks a connection.

Syntax

HRESULT Disconnect(void);

Parameters

None.

Return Value

Returns NOERROR if there is no connection.

Remarks

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

This method is implemented in the base classes by CBasePin::Disconnect.

A pin should never use this method to disconnect from its peer. An application should not use this method. Use IFilterGraph::Disconnect instead.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IPin Interface