mirror of https://github.com/tongzx/nt5src
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.
30 lines
547 B
30 lines
547 B
#ifndef _RSCCHVR_H
|
|
#define _RSCCHVR_H
|
|
|
|
#include "rgsprtc.h"
|
|
|
|
class CRSCacheVersion : public CRegSupportCached
|
|
{
|
|
public:
|
|
void RSCVInitSubKey(LPCTSTR pszSubKey);
|
|
LPCTSTR RSCVGetSubKey();
|
|
|
|
protected:
|
|
void _RSCVUpdateVersionOnCacheRead();
|
|
void _RSCVUpdateVersionOnCacheWrite();
|
|
BOOL _RSCVIsValidVersion();
|
|
void _RSCVIncrementRegVersion();
|
|
|
|
virtual void _RSCVDeleteRegCache() = 0;
|
|
|
|
#ifdef DEBUG
|
|
protected:
|
|
#else
|
|
private:
|
|
#endif
|
|
|
|
DWORD _dwVersion;
|
|
LPCTSTR _pszSubKey;
|
|
};
|
|
|
|
#endif //_RSCCHVR_H
|