IDataObject::DUnadvise  13.TQH.

Destroys a notification connection that had been previously set up.

HRESULT DUnadvise(

    DWORD dwConnection

//Connection to remove

   );

 

 

Parameter

dwConnection

[in] DWORD token that specifies the connection to remove. Use the value returned by IDataObject::DAdvise38JBOZP 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.

 

Remarks

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

If the advisory connection being deleted was initially set up by delegating the IDataObject::DAdvise38JBOZP call to IDataAdviseHolder::AdviseGBIEY_, you must delegate this call to IDataAdviseHolder::Unadvise17J8O56 to delete it.

See Also

IDataObject::DAdvise, IDataAdviseHolder::Unadvise