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.

29 lines
547 B

  1. #ifndef _RSCCHVR_H
  2. #define _RSCCHVR_H
  3. #include "rgsprtc.h"
  4. class CRSCacheVersion : public CRegSupportCached
  5. {
  6. public:
  7. void RSCVInitSubKey(LPCTSTR pszSubKey);
  8. LPCTSTR RSCVGetSubKey();
  9. protected:
  10. void _RSCVUpdateVersionOnCacheRead();
  11. void _RSCVUpdateVersionOnCacheWrite();
  12. BOOL _RSCVIsValidVersion();
  13. void _RSCVIncrementRegVersion();
  14. virtual void _RSCVDeleteRegCache() = 0;
  15. #ifdef DEBUG
  16. protected:
  17. #else
  18. private:
  19. #endif
  20. DWORD _dwVersion;
  21. LPCTSTR _pszSubKey;
  22. };
  23. #endif //_RSCCHVR_H