IOleContainer::EnumObjects
Enumerates objects in the current container.
HRESULT EnumObjects(
DWORD grfFlags,
| //Value specifying what is to be enumerated
|
IEnumUnknown **ppenum
| //Ptr to storage of enumeration
|
);
|
|
Parameters
grfFlags
[in] This value specifies which objects in a container are to be enumerated,
as defined in the enumeration
OLECONTF.
ppenum
[out] Points to an address where the enumerator, of type
IEnumUnknown, should be returned. If an error is returned, this parameter must be set to
NULL. Each time a container receives a call to
EnumObjects, it must increase the reference count on the pointer the method returns. It
is the caller's responsibility to call
IUnknown::Release when it is done with the pointer.
Return Values
S_OK
Enumerator successfully returned.
E_FAIL
An unspecified error occurred.
E_NOTIMPL
Object enumeration not supported.
Comments
A container should implement
EnumObjects to enable programmatic clients to find out what objects it holds. This
method, however, is not called in standard linking scenarios.
See Also
IEnumUnknown,
IOleItemContainer,
OLECONTF
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database