OLECONTF enumeration (oleidl.h)

Indicates the type of objects to be enumerated.

Syntax

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

Constants

 
OLECONTF_EMBEDDINGS
Value: 1
Enumerates the embedded objects in the container.
OLECONTF_LINKS
Value: 2
Enumerates the linked objects in the container.
OLECONTF_OTHERS
Value: 4
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
Value: 8
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
Value: 16
Enumerates only those linked or embedded objects that are currently in the running state for this
container.

Requirements

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

See also

IEnumUnknown

IOleContainer::EnumObjects

IVBGetControl::EnumControls