Reads CObject-dervied data from the registry.
- [in] lpszEntry
A string that contains the relative path of a registry entry.
- [out] obj
A reference to a CObject. The method uses this reference to store the registry data.
Nonzero if the method was successful; otherwise 0.
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.