# OLECONTF

The OLECONTF enumeration indicates the kind of objects to be enumerated by the returned IEnumUnknown interface. OLECONTF contains a set of bitwise constants used in the IOleContainer::EnumObjects method.

    typedef enum tagOLECONTF
    {
        OLECONTF_EMBEDDINGS    = 1;
        OLECONTF_LINKS         = 2;
        OLECONTF_OTHERS        = 4;
        OLECONTF_ONLYUSER      = 8;
        OLECONTF_ONLYIFRUNNING = 16
    } OLECONTF;

Elements

OLECONTF_EMBEDDINGS
  Enumerates the embedded objects in the container.
OLECONTF_LINKS
  Enumerates the linked objects in the container.
OLECONTF_OTHERS
  Enumerates all objects in the container that are not OLE compound document objects (i.e., objects other than linked or embedded objects). Use this flag to enumerate the container’s pseudo-objects.
OLECONTF_ONLYUSER
  Enumerates only those objects the user is aware of. For example, hidden named-ranges in Microsoft Excel would not be enumerated using this value.
OLECONTF_ONLYIFRUNNING
  Enumerates only those linked or embedded objects that are currently in the running state for this container.

See Also

IEnumUnknown, IOleContainer::EnumObjects