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.

72 lines
1.7 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. IDirectoryObject *pIDirObj,
  18. BOOL fRangeRetrieval
  19. );
  20. private:
  21. BSTR _Parent;
  22. BSTR _ADsPath;
  23. BSTR _GroupName;
  24. VARIANT _vMembers;
  25. ObjectTypeList FAR *_pObjList;
  26. LONG _lCurrentIndex;
  27. LONG _lMembersCount;
  28. CCredentials _Credentials;
  29. IDirectoryObject* _pIDirObj;
  30. BOOL _fRangeRetrieval;
  31. BOOL _fAllRetrieved;
  32. LPWSTR _pszRangeToFetch;
  33. PADS_ATTR_INFO _pAttributeEntries;
  34. PADS_ATTR_INFO _pCurrentEntry;
  35. DWORD _dwCurRangeIndex;
  36. DWORD _dwCurRangeMax;
  37. DWORD _dwNumEntries;
  38. BOOL _fLastSet;
  39. HRESULT
  40. CLDAPGroupCollectionEnum::GetUserMemberObject(
  41. IDispatch ** ppDispatch
  42. );
  43. HRESULT
  44. CLDAPGroupCollectionEnum::EnumGroupMembers(
  45. ULONG cElements,
  46. VARIANT FAR* pvar,
  47. ULONG FAR* pcElementFetched
  48. );
  49. STDMETHOD(Next)(ULONG cElements,
  50. VARIANT FAR* pvar,
  51. ULONG FAR* pcElementFetched);
  52. HRESULT
  53. CLDAPGroupCollectionEnum::GetNextMemberRange(
  54. VARIANT FAR * pVarMemberBstr
  55. );
  56. HRESULT
  57. CLDAPGroupCollectionEnum::UpdateRangeToFetch();
  58. HRESULT
  59. CLDAPGroupCollectionEnum::UpdateAttributeEntries();
  60. };