Index   Commented   Search   About

IDataObject::DUnadvise

Destroys a previously set up notification

HRESULT DUnadvise(

DWORD dwConnection
//Specifies the connection to remove
);

Parameter

dwConnection

[in]Specifies the connection to remove. This value was returned by IDataObject::DAdvise 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.

Comments

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

If the advisory connection being deleted was initially set up using IDataAdviseHolder::Advise instead of IDataObject::DAdvise, you must call IDataAdviseHolder::Unadvise to delete it.

See Also

IDataObject::DAdvise

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun