| BOOL CBCGPWorkspace::GetSectionObject | ( | LPCTSTR | lpszSubSection, |
| LPCTSTR | lpszEntry, | ||
| CObject & | obj | ||
| ) |
Retrieves the CObject - derived object data for a specified value field of a specified key.
Use this function to retrieve a CObject - derived object from the Windows registry. The object must be previously stored in the Windows registry by the WriteObject() or WriteSectionObject() function.
Note. Call the SetRegistryBase() function to set a root registry key for all subsequent calls to GetSectionObject.
| lpszSubSection | Specifies a relative path to the application data key. |
| lpszEntry | Specifies the value field to read from. |
| obj | A reverence to CObject that receives the data. |