Populates a VARIANT arrray with elements fetched from the indicated enumerator object.
HRESULT ADsEnumerateNext(
IEnumVARIANT *pEnumVariant, //Enumerator object
ULONG cElements, //Number of elements requested
VARIANT FAR *pvar, //Array of values fetched
ULONG FAR *pcElementsFetched //Number of elements fetched
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
The ADsEnumerateNext helper function populates a VARIANT array with elements fetched from an enumerator object. The number of elements retrieved can be smaller than the number requested.
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
ADsBuildEnumerator, ADsFreeEnumerator