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.

62 lines
1.1 KiB

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