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.

41 lines
1.3 KiB

  1. class CCifGroup : public ICifGroup, public CCifEntry
  2. {
  3. public:
  4. CCifGroup(LPCSTR pszID, UINT uGrpNum, CCifFile *);
  5. ~CCifGroup();
  6. // ICifGroup interface
  7. // for properties
  8. STDMETHOD(GetID)(LPSTR pszID, DWORD dwSize);
  9. STDMETHOD(GetDescription)(LPSTR pszDesc, DWORD dwSize);
  10. STDMETHOD_(DWORD, GetPriority)();
  11. STDMETHOD(EnumComponents)(IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
  12. // access to state
  13. STDMETHOD_(DWORD, GetInstallQueueState)();
  14. STDMETHOD_(DWORD, GetCurrentPriority)();
  15. protected:
  16. UINT _uGrpNum;
  17. };
  18. class CCifRWGroup : public ICifRWGroup, public CCifGroup
  19. {
  20. public:
  21. CCifRWGroup(LPCSTR pszID, UINT uGrpNum, CCifFile *);
  22. ~CCifRWGroup();
  23. // ICifGroup interface
  24. // for properties
  25. STDMETHOD(GetID)(LPSTR pszID, DWORD dwSize);
  26. STDMETHOD(GetDescription)(LPSTR pszDesc, DWORD dwSize);
  27. STDMETHOD_(DWORD, GetPriority)();
  28. STDMETHOD(EnumComponents)(IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
  29. // access to state
  30. STDMETHOD_(DWORD, GetCurrentPriority)();
  31. STDMETHOD(SetDescription)(THIS_ LPCSTR pszDesc);
  32. STDMETHOD(SetPriority)(THIS_ DWORD);
  33. STDMETHOD(SetDetails)(THIS_ LPCSTR pszDetails);
  34. };