MSDN Library


Windows Mobile 6.5
A version of this page is also available for

This method destroys a notification connection that had been previously set up.

HRESULT DUnadvise(
  DWORD dwConnection


[in] DWORD token that specifies the connection to remove. Use the value returned by the IDataObject::DAdvise method when the connection was originally established.

The following table shows the return values for this method.

Value Description


The specified connection was successfully deleted.


The specified dwConnection parameter 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 the IDataAdviseHolder::Advise method, you must delegate this call to IDataAdviseHolder::Unadvise to delete it.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Headerobjidl.h, objidl.idl
Libraryole32.lib, uuid.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

© 2016 Microsoft