Platform SDK: Active Directory, ADSI, and Directory Services |
The ADsFreeEnumerator function frees an enumerator object that has been created through ADsBuildEnumerator.
HRESULT ADsFreeEnumerator( IEnumVARIANT *pEnumVariant );
This method supports the standard return values, as well as the following:
The general procedure for enumerating objects in a container involves the following:
For more information and a code example, see the ADsBuildEnumerator topic.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
Windows 95/98: Requires Windows 95 or later (with DSClient).
Header: Declared in Adshlp.h.
Library: Included as a resource in ActiveDs.dll.
ADSI Error Codes, ADSI Functions, ADsBuildEnumerator, ADsEnumerateNext, IEnumVARIANT