This method retrieves the data for the specified value field of m_hKey . The first version of QueryValue allows you to retrieve numerical data. The second version allows you to retrieve string data.
LONG QueryValue( DWORD& dwValue, LPCTSTR lpszValueName );
LONG QueryValue( LPTSTR szValue, LPCTSTR lpszValueName, DWORD* pdwCount )
| Header file: | Atlbase.h | 
| Platforms: | |
| Versions: | Version 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
CRegKey Overview, CRegKey Methods, CRegKey::m_hKey