次の方法で共有


CBasePin::BreakConnect (Compact 2013)

3/26/2014

Called when a connection is broken to allow for customization (intended for overriding).

Syntax

virtual HRESULT BreakConnect( );

Parameters

None.

Return Value

Returns an HRESULT value.

The default implementation returns NOERROR.

Remarks

This member function is called when a connection to the pin cannot be made or when CBasePin::Disconnect is called. In this case, undo anything performed during the connection process.

You can override this member function to release references to interfaces that were made during the connection.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBasePin Class