Compartilhar via


OLEWHICHMK (Windows CE 5.0)

Send Feedback

This enumeration contains values that indicate which part of an object's moniker is being set or retrieved. These constants are used in the IOleObject and IOleClientSite interfaces.

typedef enum tagOLEWHICHMK {   OLEWHICHMK_CONTAINER = 1,   OLEWHICHMK_OBJREL = 2,   OLEWHICHMK_OBJFULL = 3 } OLEWHICHMK; 

Elements

  • OLEWHICHMK_CONTAINER
    The moniker of the object's container. Typically, this is a file moniker.

    This moniker is not persistently stored inside the object because 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 onto 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 because the container can be renamed even while the object is not loaded.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Oleidl.h.

See Also

IOleClientSite::GetMoniker | IOleObject::GetMoniker | IOleObject::SetMoniker

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.