|
IOleContainer
The IOleContainer interface is used to enumerate objects in a compound document or lock a
container in the running state. Container and object applications both implement
this interface.
When to Implement
Applications that support links and links to embedded objects implement this
interface to provide object enumeration, name parsing, and silent updates of
link sources. Simple, nonlinking containers do not need to implement IOleContainer if it is useful mainly to support links to embedded objects.
When to Use
Call IOleContainer to enumerate the objects in a compound document or to lock a container so
that silent updates of link sources can be carried out safely.
Many applications inherit the functions of IOleContainer by implementing IOleItemContainer, which is used to bind item monikers.
Methods in VTable Order
IUnknown Methods
| Description
| QueryInterface
| Returns pointers to supported interfaces.
| AddRef
| Increments reference count.
| Release
| Decrements reference count.
|
IOleContainer Methods
| Description
| EnumObjects
| Enumerates objects in a container.
| LockContainer
| Keeps container running until explicitly released.
|
See Also
IOleItemContainer, IParseDisplayName
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
|