IDataAdviseHolder::Unadvise

Removes a connection between a data object and an advisory sink that was set up through a previous call to the IDataAdviseHolder::Advise method. IDataAdviseHolder::Unadvise is typically called in IDataObject::DUnadvise.

HRESULT Unadvise(

DWORD dwConnection
//Specifies the connection to remove
);

Parameter

dwConnection

Specifies the connection to remove. This value was returned by IDataAdviseHolder::Advise when the connection was originally established.

Return Values

S_OK

The specified connection was successfully deleted.

OLE_E_NOCONNECTION

The specified dwConnection is not a valid connection.

See Also

IDataAdviseHolder::Advise, IDataObject::DUnadvise

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples