Share via


CBaseOutputPin::BreakConnect (Compact 2013)

3/26/2014

Releases IMemAllocator and IMemInputPin objects acquired by the pin.

Syntax

HRESULT BreakConnect(void);

Parameters

None.

Return Value

Returns NOERROR by the default base class implementation.

Remarks

This member function releases the IMemAllocator and IPin interfaces used during the connection.

If you override this method, always call the base class BreakConnect or unexpected behavior will result, including reference count leaks.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseOutputPin Class