IDataObject::DUnadvise method (objidl.h)
Destroys a notification connection that had been previously set up.
HRESULT DUnadvise( [in] DWORD dwConnection );
A token that specifies the connection to be removed. Use the value returned by IDataObject::DAdvise when the connection was originally established.
This method returns S_OK on success. Other possible values include the following.
||The specified value for dwConnection is not a valid connection.|
||This IDataObject implementation does not support notification.|
This methods destroys a notification created with a call to the IDataObject::DAdvise method.
If the advisory connection being deleted was initially set up by delegating the IDataObject::DAdvise call to IDataAdviseHolder::Advise, you must delegate this call to IDataAdviseHolder::Unadvise to delete it.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|