CWinAppEx::GetObject
Visual Studio 2012
Reads CObject-dervied data from the registry.
BOOL GetObject( LPCTSTR lpszEntry, CObject& obj );
This method reads data from the registry that is derived from CObject. To write CObject data to the registry, use either CWinAppEx::WriteObject or CWinAppEx::WriteSectionObject.
The lpszEntry parameter is the name of a registry entry that is located under the default registry key for your application. To get or set the default registry key, use the methods CWinAppEx::GetRegistryBase and CWinAppEx::SetRegistryBase respectively.