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.

58 lines
1.3 KiB

  1. class CLDAPGroupCollection;
  2. class CLDAPGroupCollection : INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsMembers
  5. {
  6. public:
  7. /* IUnknown methods */
  8. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  9. DECLARE_STD_REFCOUNTING
  10. DECLARE_IDispatch_METHODS
  11. DECLARE_ISupportErrorInfo_METHODS
  12. DECLARE_IADsMembers_METHODS
  13. CLDAPGroupCollection::CLDAPGroupCollection();
  14. CLDAPGroupCollection::~CLDAPGroupCollection();
  15. static
  16. HRESULT
  17. CLDAPGroupCollection::CreateGroupCollection(
  18. BSTR Parent,
  19. BSTR ADsPath,
  20. BSTR GroupName,
  21. VARIANT *pvMembers,
  22. CCredentials& Credentials,
  23. IADs *pIADs,
  24. REFIID riid,
  25. BOOL fRangeRetrieval,
  26. void **ppvObj
  27. );
  28. static
  29. HRESULT
  30. CLDAPGroupCollection::AllocateGroupCollectionObject(
  31. CCredentials& Credentials,
  32. CLDAPGroupCollection ** ppGroup
  33. );
  34. protected:
  35. BSTR _Parent;
  36. BSTR _ADsPath;
  37. BSTR _GroupName;
  38. VARIANT _vMembers;
  39. CDispatchMgr FAR * _pDispMgr;
  40. VARIANT _vFilter;
  41. CCredentials _Credentials;
  42. IDirectoryObject FAR *_pIDirObj;
  43. BOOL _fRangeRetrieval;
  44. };