BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::GetSectionObject ( LPCTSTR  lpszSubSection,
LPCTSTR  lpszEntry,
CObject &  obj 
)

Retrieves the CObject - derived object data for a specified value field of a specified key.

Returns
Nonzero if the object was retrieved successfully.

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.

Parameters
lpszSubSectionSpecifies a relative path to the application data key.
lpszEntrySpecifies the value field to read from.
objA reverence to CObject that receives the data.