CRegKey::QueryValue

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.

At a Glance

Header file: Atlbase.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

LONG QueryValue( DWORD& dwValue, LPCTSTR lpszValueName );

LONG QueryValue( LPTSTR szValue, LPCTSTR lpszValueName,
DWORD* pdwCount );

See Also

CRegKey::m_hKey