CWinAppEx::GetSectionObject
Visual Studio 2012
Reads CObject registry data from the registry.
BOOL GetSectionObject( LPCTSTR lpszSubSection, LPCTSTR lpszEntry, CObject& obj );
This method reads data from the registry. The data read is CObject data, or data for a class derived from CObject. To write CObject data to the registry, use either CWinAppEx::WriteObject or CWinAppEx::WriteSectionObject.
The lpszSubSection parameter is not an absolute path for a registry entry. It is a relative path that is appended to the end of the default registry key for your application. To get or set the default registry key, use the methods CWinAppEx::GetRegistryBase and CWinAppEx::SetRegistryBase respectively.