CWinAppEx::GetRegSectionPath
Visual Studio 2012
Creates and returns the absolute path of a registry key.
CString GetRegSectionPath(
LPCTSTR szSectionAdd = _T("")
);
This method defines the registry key's absolute path by appending the relative path in szSectionAdd to the default registry location for your application. To get the default registry key, use the method CWinAppEx::GetRegistryBase.