CWinAppEx::GetRegistryBase
Visual Studio 2012
Retrieves the default registry path for the application.
LPCTSTR GetRegistryBase();
All methods of the CWinAppEx Class that access the registry start in a default location. Use this method to retrieve a path of the default registry location. Use CWinAppEx::SetRegistryBase to change the default registry location.