CRegKey::SetKeyValue

This method creates or opens the lpszKeyName key and stores the lpszValue data in the lpszValueName value field.

Syntax

LONG SetKeyValue( LPCTSTR lpszKeyName, LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL );

At a Glance

Header file: Atlbase.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CRegKey Overview, CRegKey Methods, CRegKey::SetValue, CRegKey::m_hKey