Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
905 B

  1. class FAR CLDAPUserCollectionEnum : public CLDAPEnumVariant
  2. {
  3. public:
  4. CLDAPUserCollectionEnum();
  5. ~CLDAPUserCollectionEnum();
  6. static
  7. HRESULT
  8. CLDAPUserCollectionEnum::Create(
  9. BSTR bstrUserName,
  10. CLDAPUserCollectionEnum FAR* FAR* ppenumvariant,
  11. VARIANT varMembers,
  12. CCredentials& Credentials
  13. );
  14. private:
  15. VARIANT _vMembers;
  16. BSTR _bstrUserName;
  17. DWORD _dwIndex;
  18. DWORD _dwSUBound;
  19. DWORD _dwSLBound;
  20. CCredentials _Credentials;
  21. HRESULT
  22. CLDAPUserCollectionEnum::GetUserMemberObject(
  23. IDispatch ** ppDispatch
  24. );
  25. HRESULT
  26. CLDAPUserCollectionEnum::EnumUserMembers(
  27. ULONG cElements,
  28. VARIANT FAR* pvar,
  29. ULONG FAR* pcElementFetched
  30. );
  31. STDMETHOD(Next)(
  32. ULONG cElements,
  33. VARIANT FAR* pvar,
  34. ULONG FAR* pcElementFetched
  35. );
  36. };