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.

61 lines
1.3 KiB

  1. class CWinNTGroupCollection;
  2. class CWinNTGroupCollection : 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. CWinNTGroupCollection::CWinNTGroupCollection();
  15. CWinNTGroupCollection::~CWinNTGroupCollection();
  16. static
  17. HRESULT
  18. CWinNTGroupCollection::CreateGroupCollection(
  19. BSTR Parent,
  20. ULONG ParentType,
  21. BSTR DomainName,
  22. BSTR ServerName,
  23. BSTR GroupName,
  24. ULONG GroupType,
  25. REFIID riid,
  26. CWinNTCredentials& Credentials,
  27. void **ppvObj
  28. );
  29. static
  30. HRESULT
  31. CWinNTGroupCollection::AllocateGroupCollectionObject(
  32. CWinNTGroupCollection ** ppGroup
  33. );
  34. protected:
  35. CWinNTCredentials _Credentials;
  36. ULONG _ParentType;
  37. BSTR _DomainName;
  38. BSTR _ServerName;
  39. BSTR _lpServerName;
  40. ULONG _GroupType;
  41. CAggregatorDispMgr FAR * _pDispMgr;
  42. VARIANT _vFilter;
  43. };