IDataAdviseHolder::Unadvise  RHQJRQ

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

HRESULT Unadvise(

    DWORD dwConnection

//Connection to remove

   );

 

 

Parameter

dwConnection

[in] DWORD token that specifies the connection to remove. This value was returned by IDataAdviseHolder::AdviseGBIEY_ 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