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.

60 lines
1.0 KiB

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