|
IOleAdviseHolder::Unadvise
Deletes a previously established advisory connection.
HRESULT Unadvise(
DWORD dwConnection
| //A nonzero value
| );
|
|
Parameter
dwConnection
[in] Contains a nonzero value previously returned by IOleAdviseHolder::Advise in pdwConnection.
Return Values
S_OK
Advisory connection deleted successfully.
OLE_E_NOCONNECTION
The dwConnection parameter does not represent a valid advisory connection.
Comments
Normally, containers call this method at shutdown or when an object is
deleted. In certain cases, containers could choose to call this method on objects that
are running but not currently visible, as a way of reducing the overhead of
maintaining multiple advisory connections.
See Also
IOleAdviseHolder::Advise, IOleAdviseHolder::EnumAdvise, IOleObject::Unadvise
Related LinksSoftware 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
|