CRegKey::SetKeyValue

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

At a Glance

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

Syntax

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

See Also

CRegKey::SetValue, CRegKey::m_hKey