IDataObject::DUnadvise

Destroys a previously set up notification

HRESULT DUnadvise(

DWORD dwConnection
//Specifies the connection to remove
);

Parameter

dwConnection

[in]Specifies the connection to remove. This value was returned by IDataObject::DAdvise 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.

OLE_E_ADVISENOTSUPPORTED

This IDataObject implementation does not support notification.

Comments

This methods destroys a notification created with a call to the IDataObject::DAdvise method.

If the advisory connection being deleted was initially set up using IDataAdviseHolder::Advise instead of IDataObject::DAdvise, you must call IDataAdviseHolder::Unadvise to delete it.

See Also

IDataObject::DAdvise

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