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.

49 lines
1020 B

  1. class CNDSGroupCollection;
  2. class CNDSGroupCollection : INHERIT_TRACKING,
  3. public CCoreADsObject,
  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_IADsMembers_METHODS
  12. CNDSGroupCollection::CNDSGroupCollection();
  13. CNDSGroupCollection::~CNDSGroupCollection();
  14. static
  15. HRESULT
  16. CNDSGroupCollection::CreateGroupCollection(
  17. BSTR bstrADsPath,
  18. VARIANT varMembers,
  19. CCredentials& Credentials,
  20. REFIID riid,
  21. void **ppvObj
  22. );
  23. static
  24. HRESULT
  25. CNDSGroupCollection::AllocateGroupCollectionObject(
  26. CCredentials& Credentials,
  27. CNDSGroupCollection ** ppGroup
  28. );
  29. protected:
  30. CDispatchMgr FAR * _pDispMgr;
  31. VARIANT _vMembers;
  32. VARIANT _vFilter;
  33. BSTR _ADsPath;
  34. CCredentials _Credentials;
  35. };