AfxConnectionUnadvise

BOOL AFXAPI AfxConnectionUnadvise( LPUNKNOWN pUnkSrc, REFIID iid, LPUNKNOWN pUnkSink, BOOL bRefCount, DWORD dwCookie );

Return Value

Nonzero if a connection was disconnected; otherwise 0.

Parameters

pUnkSrc

A pointer to the object that calls the interface.

pUnkSink

A pointer to the object that implements the interface.

iid

The interface ID of the connection point interface.

bRefCount

TRUE indicates that disconnecting the connection should cause the reference count of pUnkSink to be decremented. FALSE indicates that the reference count should not be decremented.

dwCookie

The connection identifier returned by AfxConnectionAdvise.

Remarks

Call this function to disconnect a connection between a source, specified by pUnkSrc, and a sink, specified by pUnkSink.

See Also   AfxConnectionAdvise