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.

57 lines
1.3 KiB

  1. class FAR CWinNTLocalGroupCollectionEnum : public CWinNTEnumVariant
  2. {
  3. public:
  4. CWinNTLocalGroupCollectionEnum(ObjectTypeList ObjList);
  5. CWinNTLocalGroupCollectionEnum();
  6. ~CWinNTLocalGroupCollectionEnum();
  7. static
  8. HRESULT
  9. CWinNTLocalGroupCollectionEnum::Create(
  10. CWinNTLocalGroupCollectionEnum 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. CWinNTLocalGroupCollectionEnum::GetComputerMemberObject(
  35. IDispatch ** ppDispatch
  36. );
  37. HRESULT
  38. CWinNTLocalGroupCollectionEnum::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. };