UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ocidl.IConnectionPoint.Unadvise |
IConnectionPoint::Unadvise (ocidl.h) |
Terminates an advisory connection previously established between a connection point object and a client's sink. |
|
com\iconnectionpoint_unadvise.htm |
com |
71641bad-2fd1-4d94-a6d0-116f5687a95b |
12/05/2018 |
IConnectionPoint interface [COM],Unadvise method, IConnectionPoint.Unadvise, IConnectionPoint::Unadvise, Unadvise, Unadvise method [COM], Unadvise method [COM],IConnectionPoint interface, _com_iconnectionpoint_unadvise, com.iconnectionpoint_unadvise, ocidl/IConnectionPoint::Unadvise |
ocidl.h |
Windows |
Windows 2000 Professional [desktop apps \| UWP apps] |
Windows 2000 Server [desktop apps \| UWP apps] |
OCIdl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Terminates an advisory connection previously established between a connection point object and a client's sink.
A connection token previously returned from IConnectionPoint::Advise.
This method can return the standard return values E_UNEXPECTED, as well as the following values.
Return code | Description |
---|---|
|
The connection was terminated successfully. |
|
The value in dwCookie does not represent a valid connection. |
When an advisory connection is terminated, the connection point calls the Release method on the pointer that was saved for the connection during the IConnectionPoint::Advise method. This Release reverses the AddRef that was performed during the Advise when the connection point calls the advisory sink's QueryInterface.