IADsMembers::get__NewEnum

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

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

Parameter

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

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