OLEWHICHMK enumeration (oleidl.h)

Indicates which part of an object's moniker is being set or retrieved.

Syntax

typedef enum tagOLEWHICHMK {
  OLEWHICHMK_CONTAINER,
  OLEWHICHMK_OBJREL,
  OLEWHICHMK_OBJFULL
} OLEWHICHMK;

Constants

 
OLEWHICHMK_CONTAINER
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
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
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.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header oleidl.h

See also

IOleClientSite::GetMoniker

IOleObject::GetMoniker

IOleObject::SetMoniker