The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



Creates and returns the absolute path of a registry key.

CString GetRegSectionPath(
   LPCTSTR szSectionAdd = _T("")

[in] szSectionAdd

A string that contains the relative path of a registry key.

A CString that contains the absolute path of a registry key.

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.


Header: afxwinappex.h