IADsContainer::get__NewEnum

Gets a dependent enumerator object that implements IEnumVARIANT for this ADSI container object. Note that when C++/C software references this method, there are two underscore characters in the function name (get__NewEnum, put__NewEnum).

HRESULT IADsContainer::_NewEnum(
  IUnknown ** ppEnumerator  //Interface on enumerator object
);
 

Parameter

ppEnumerator
[out] Indirect pointer to the IUnknown interface on the enumerator object for this container.

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The interface pointer on the enumerator object for this collection has been successfully retrieved.

See Also

IEnumVARIANT, ADSI Enumerator Object