This method creates or opens the lpszKeyName key and stores the lpszValue data in the lpszValueName value field.
LONG SetKeyValue( LPCTSTR lpszKeyName, LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL );
Header file: | Atlbase.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CRegKey Overview, CRegKey Methods, CRegKey::SetValue, CRegKey::m_hKey