Leaked source code of windows server 2003
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.

48 lines
1.1 KiB

  1. class FAR CLDAPGroupCollectionEnum : public CLDAPEnumVariant
  2. {
  3. public:
  4. CLDAPGroupCollectionEnum(ObjectTypeList ObjList);
  5. CLDAPGroupCollectionEnum();
  6. ~CLDAPGroupCollectionEnum();
  7. static
  8. HRESULT
  9. CLDAPGroupCollectionEnum::Create(
  10. CLDAPGroupCollectionEnum FAR* FAR* ppenumvariant,
  11. BSTR Parent,
  12. BSTR ADsPath,
  13. BSTR GroupName,
  14. VARIANT vMembers,
  15. VARIANT vFilter,
  16. CCredentials& Credentials
  17. );
  18. private:
  19. BSTR _Parent;
  20. BSTR _ADsPath;
  21. BSTR _GroupName;
  22. VARIANT _vMembers;
  23. ObjectTypeList FAR *_pObjList;
  24. LONG _lCurrentIndex;
  25. LONG _lMembersCount;
  26. CCredentials _Credentials;
  27. HRESULT
  28. CLDAPGroupCollectionEnum::GetUserMemberObject(
  29. IDispatch ** ppDispatch
  30. );
  31. HRESULT
  32. CLDAPGroupCollectionEnum::EnumGroupMembers(
  33. ULONG cElements,
  34. VARIANT FAR* pvar,
  35. ULONG FAR* pcElementFetched
  36. );
  37. STDMETHOD(Next)(ULONG cElements,
  38. VARIANT FAR* pvar,
  39. ULONG FAR* pcElementFetched);
  40. };