CWinApp::GetSectionKey
Visual Studio 2012
Returns the key for HKEY_CURRENT_USER\"Software"\RegistryKey\AppName\lpszSection.
HKEY GetSectionKey( LPCTSTR lpszSection, CAtlTransactionManager* pTM = NULL );