ERegistor.h
class ERegistor
{
public:
ERegistor();
~ERegistor();
BOOL Open(HKEY hRoot, CONS TCHAR* szKeyItem, BOOL bReadOnly = TRUE, BOOL bShareMode = TRUE);
void Close();
BOOL Read(CONST TCHAR* szKey, DWORD& dwValue);
BOOL Read(CONST TCHAR* szKey, TCHAR* szValue, DWORD& dwLength);
BOOL Read(CONST TCHAR* szKey, VOID* pData, DWORD& dwSize);
BOOL Write(CONST TCHAR* szKey, DWORD& dwValue);
BOOL Write(CONST TCHAR* szKey, CONST TCHAR* szValue, CONST DWORD dwLength);
BOOL Write(CONST TCHAR* szKey, CONST VOID* pData, CONST DWORD dwSize);
}