This method retrieves an enumeration interface pointer for the object collection. This interface is a standard Automation enumeration interface. It supports the Clone, Next, Reset, and Skip methods. You can use the enumeration interface to step through the objects in the collection.
HRESULT _NewEnum(
IUnknown **ppIEnumObjects
);
Parameters
*ppIEnumObjects
[out]
The enumeration interface pointer.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.