|
OLEWHICHMK
The OLEWHICHMK enumeration constants indicate which part of an object's moniker is being set
or retrieved. These constants are used in the IOleObject and IOleClientSite interfaces, and are defined in ole2.h and in the IOleObject interface (oleobj.idl).
typedef enum tagOLEWHICHMK
{
OLEWHICHMK_CONTAINER = 1,
OLEWHICHMK_OBJREL = 2,
OLEWHICHMK_OBJFULL = 3
} OLEWHICHMK;
Elements
OLEWHICHMK_CONTAINER
Indicates the moniker of the object's container, Typically this is a file
moniker. This moniker is not persistently stored inside the object, since the
container can be renamed even while the object is not loaded.
OLEWHICHMK_OBJREL
Indicates the moniker of the object relative to its container. Typically this
is an item moniker, and it is part of the persistent state of the object. If
this moniker is composed on to the end of the container's moniker, the resulting
moniker is the full moniker of the object.
OLEWHICHMK_OBJFULL
Indicates the full moniker of the object. Binding to this moniker results in a
connection to the object. This moniker is not persistently stored inside the
object, since the container can be renamed even while the object is not loaded.
See Also
IOleClientSite::GetMoniker, IOleObject::GetMoniker, IOleObject::SetMoniker
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
|