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.

52 lines
1.1 KiB

  1. class CNDSGroupCollection;
  2. class CNDSGroupCollection : INHERIT_TRACKING,
  3. public CCoreADsObject,
  4. public ISupportErrorInfo,
  5. public IADsMembers
  6. {
  7. public:
  8. /* IUnknown methods */
  9. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  10. DECLARE_STD_REFCOUNTING
  11. DECLARE_IDispatch_METHODS
  12. DECLARE_ISupportErrorInfo_METHODS
  13. DECLARE_IADsMembers_METHODS
  14. CNDSGroupCollection::CNDSGroupCollection();
  15. CNDSGroupCollection::~CNDSGroupCollection();
  16. static
  17. HRESULT
  18. CNDSGroupCollection::CreateGroupCollection(
  19. BSTR bstrADsPath,
  20. VARIANT varMembers,
  21. CCredentials& Credentials,
  22. REFIID riid,
  23. void **ppvObj
  24. );
  25. static
  26. HRESULT
  27. CNDSGroupCollection::AllocateGroupCollectionObject(
  28. CCredentials& Credentials,
  29. CNDSGroupCollection ** ppGroup
  30. );
  31. protected:
  32. CDispatchMgr FAR * _pDispMgr;
  33. VARIANT _vMembers;
  34. VARIANT _vFilter;
  35. BSTR _ADsPath;
  36. CCredentials _Credentials;
  37. };