Index   Commented   Search   About

IAdviseSink::OnClose

Notifies all registered advisory sinks that the object has changed from the running to the loaded state.

Void OnClose();

Comments

OnClose
notification indicates that an object is making the transition from the running to the loaded state, so that appropriate measures to ensure orderly shutdown should be taken. For example, an object handler must release its pointer to the object.

If the object that is closing is the last open object supported by its OLE server application, then the application can also shut down.

In the case of a link object, the notification that the object is closing should always be interpreted to mean that the connection to the link source has broken.

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