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.

50 lines
1.1 KiB

  1. class CWinNTUserGroupsCollection : INHERIT_TRACKING,
  2. public ISupportErrorInfo,
  3. public IADsMembers
  4. {
  5. public:
  6. /* IUnknown methods */
  7. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  8. DECLARE_STD_REFCOUNTING
  9. DECLARE_IDispatch_METHODS
  10. DECLARE_ISupportErrorInfo_METHODS
  11. DECLARE_IADsMembers_METHODS
  12. CWinNTUserGroupsCollection();
  13. ~CWinNTUserGroupsCollection();
  14. static
  15. HRESULT
  16. CWinNTUserGroupsCollection::CreateUserGroupsCollection(
  17. ULONG ParentType,
  18. BSTR ParentADsPath,
  19. BSTR DomainName,
  20. BSTR ServerName,
  21. BSTR UserName,
  22. REFIID riid,
  23. CWinNTCredentials& Credentials,
  24. void **ppvObj
  25. );
  26. static
  27. HRESULT
  28. CWinNTUserGroupsCollection::AllocateUserGroupsCollectionObject(
  29. CWinNTUserGroupsCollection ** ppUserGroups
  30. );
  31. protected:
  32. CWinNTCredentials _Credentials;
  33. ULONG _ParentType;
  34. BSTR _ParentADsPath;
  35. BSTR _DomainName;
  36. BSTR _ServerName;
  37. BSTR _UserName;
  38. CAggregatorDispMgr FAR * _pDispMgr;
  39. VARIANT _vFilter;
  40. };