ReactOS 0.4.16-dev-937-g7afcd2a
|
#include <fbtreg.h>
Public Member Functions | |
CReg (LPCSTR lpszSubKey, HKEY hRootKey=HKEY_CURRENT_USER, REGSAM regSam=KEY_ALL_ACCESS, BOOL bCreate=TRUE) | |
~CReg () | |
BOOL | GetValue (LPCSTR lpszValueName, LPVOID lpvData, DWORD *dwBuffSize=NULL, DWORD *dwDataType=NULL) |
BOOL | GetValue (LPCSTR lpszValueName, LPSTR lpszValue, DWORD dwBalueSize) |
BOOL | GetValue (LPCSTR lpszValueName, DWORD &dwData) |
BOOL | GetValue (LPCSTR lpszValueName, BOOL &bData) |
BOOL | SetValue (LPCSTR lpszValueName, const LPVOID lpvData, DWORD dwDataSize, DWORD dwDataType=REG_SZ) |
BOOL | SetValue (LPCSTR lpszValueName, LPCSTR lpszValue, DWORD dwDataSize=0, DWORD dwDataType=REG_SZ) |
BOOL | SetValue (LPCSTR lpszValueName, LPSTR lpszValue, DWORD dwValueSize) |
BOOL | SetValue (LPCSTR lpszValueName, DWORD dwData) |
BOOL | SetValue (LPCSTR lpszValueName, BOOL bData) |
BOOL | DeleteValue (LPCSTR lpszValueName) |
BOOL | DeleteValues () |
BOOL | DeleteKey (LPCSTR lpszKeyName) |
BOOL | IsValid () |
Protected Member Functions | |
LONG | Create (LPCSTR lpszSubKey, HKEY hRootKey, HKEY *hKey=NULL, REGSAM regSam=NULL) |
LONG | Open (LPCSTR lpszSubKey, HKEY hRootKey, HKEY *hKey=NULL, REGSAM regSam=NULL, BOOL bCreate=TRUE) |
BOOL | DeleteKey (HKEY hRootKey, HKEY hKey, LPCSTR szKey, LPCSTR szSubKey) |
Protected Attributes | |
char | m_szKey [1024] |
HKEY | m_hRootKey |
HKEY | m_hKey |
CReg::CReg | ( | LPCSTR | lpszSubKey, |
HKEY | hRootKey = HKEY_CURRENT_USER , |
||
REGSAM | regSam = KEY_ALL_ACCESS , |
||
BOOL | bCreate = TRUE |
||
) |
CReg::~CReg | ( | ) |
|
protected |
BOOL CReg::DeleteValues | ( | ) |
BOOL CReg::GetValue | ( | LPCSTR | lpszValueName, |
LPVOID | lpvData, | ||
DWORD * | dwBuffSize = NULL , |
||
DWORD * | dwDataType = NULL |
||
) |
|
protected |
BOOL CReg::SetValue | ( | LPCSTR | lpszValueName, |
const LPVOID | lpvData, | ||
DWORD | dwDataSize, | ||
DWORD | dwDataType = REG_SZ |
||
) |
BOOL CReg::SetValue | ( | LPCSTR | lpszValueName, |
LPCSTR | lpszValue, | ||
DWORD | dwDataSize = 0 , |
||
DWORD | dwDataType = REG_SZ |
||
) |