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.

33 lines
1.1 KiB

  1. class CCifMode : public ICifMode, public CCifEntry
  2. {
  3. public:
  4. CCifMode(LPCSTR pszID, CCifFile *);
  5. ~CCifMode();
  6. DWORD GetCurrentPriority() { return 0; }
  7. // ICifMode interface
  8. // for properties
  9. // for properties
  10. STDMETHOD(GetID)(THIS_ LPSTR pszID, DWORD dwSize);
  11. STDMETHOD(GetDescription)(THIS_ LPSTR pszDesc, DWORD dwSize);
  12. STDMETHOD(GetDetails)(THIS_ LPSTR pszDetails, DWORD dwSize);
  13. STDMETHOD(EnumComponents)(THIS_ IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
  14. };
  15. class CCifRWMode : public ICifRWMode, public CCifMode
  16. {
  17. public:
  18. STDMETHOD(GetID)(THIS_ LPSTR pszID, DWORD dwSize);
  19. STDMETHOD(GetDescription)(THIS_ LPSTR pszDesc, DWORD dwSize);
  20. STDMETHOD(GetDetails)(THIS_ LPSTR pszDetails, DWORD dwSize);
  21. STDMETHOD(EnumComponents)(THIS_ IEnumCifComponents **, DWORD dwFilter, LPVOID pv);
  22. // ICifRWMode interface
  23. CCifRWMode(LPCSTR pszID, CCifFile *);
  24. ~CCifRWMode();
  25. STDMETHOD(SetDescription)(THIS_ LPCSTR pszDesc);
  26. STDMETHOD(SetDetails)(THIS_ LPCSTR pszDetails);
  27. };