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.

56 lines
1.3 KiB

  1. class FAR CWinNTGroupCollectionEnum : public CWinNTEnumVariant
  2. {
  3. public:
  4. CWinNTGroupCollectionEnum(ObjectTypeList ObjList);
  5. CWinNTGroupCollectionEnum();
  6. ~CWinNTGroupCollectionEnum();
  7. static
  8. HRESULT
  9. CWinNTGroupCollectionEnum::Create(
  10. CWinNTGroupCollectionEnum FAR* FAR* ppenumvariant,
  11. BSTR Parent,
  12. ULONG ParentType,
  13. BSTR ADsPath,
  14. BSTR DomainName,
  15. BSTR ServerName,
  16. BSTR GroupName,
  17. ULONG GroupType,
  18. VARIANT var,
  19. CWinNTCredentials& Credentials
  20. );
  21. private:
  22. CWinNTCredentials _Credentials;
  23. BSTR _Parent;
  24. ULONG _ParentType;
  25. BSTR _ADsPath;
  26. BSTR _DomainName;
  27. BSTR _ServerName;
  28. BSTR _GroupName;
  29. BSTR _lpServerName;
  30. ULONG _GroupType;
  31. ObjectTypeList FAR *_pObjList;
  32. HANDLE _hGroup;
  33. HRESULT
  34. CWinNTGroupCollectionEnum::GetDomainMemberObject(
  35. IDispatch ** ppDispatch
  36. );
  37. HRESULT
  38. CWinNTGroupCollectionEnum::EnumGroupMembers(
  39. ULONG cElements,
  40. VARIANT FAR* pvar,
  41. ULONG FAR* pcElementFetched
  42. );
  43. STDMETHOD(Next)(ULONG cElements,
  44. VARIANT FAR* pvar,
  45. ULONG FAR* pcElementFetched);
  46. };