Registry access.
Public Member Functions | |
| Registry () | |
| virtual | ~Registry () |
| BOOL | ReadDWORD (LPCTSTR pszKey, LPCTSTR pszValue, DWORD &dwValOut, DWORD dwDefault=0, HKEY hBaseKey=HKEY_CURRENT_USER) |
| Reads a DWORD from the registry. More... | |
| BOOL | WriteDWORD (LPCTSTR pszKey, LPCTSTR pszValue, DWORD dwValue, HKEY hBaseKey=HKEY_CURRENT_USER) |
| Registry | ( | ) |
|
virtual |
| BOOL ReadDWORD | ( | LPCTSTR | pszKey, |
| LPCTSTR | pszValue, | ||
| DWORD & | dwValOut, | ||
| DWORD | dwDefault = 0, |
||
| HKEY | hBaseKey = HKEY_CURRENT_USER |
||
| ) |
Reads a DWORD from the registry.
| pszKey | Path of the key |
| pszValue | Name of the value |
| dwValOut | Receives the read DWORD |
| dwDefault | Optional default value in case the requested value is not found |
| hBaseKey | Which root section of the registry to look in |
| BOOL WriteDWORD | ( | LPCTSTR | pszKey, |
| LPCTSTR | pszValue, | ||
| DWORD | dwValue, | ||
| HKEY | hBaseKey = HKEY_CURRENT_USER |
||
| ) |
1.8.7