IDataObject::DUnadvise (Compact 2013)
3/26/2014
This method destroys a notification connection that had been previously set up.
Syntax
HRESULT DUnadvise(
DWORD dwConnection
);
Parameters
- 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.
Return Value
The following table shows the return values for this method.
Value |
Description |
---|---|
S_OK |
The specified connection was successfully deleted. |
OLE_E_NOCONNECTION |
The specified dwConnection parameter 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::DAdvise method.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Header |
objidl.h, |
Library |
ole32.lib, |