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

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

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 written to 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 GetObject.

Parameters
lpszEntrySpecifies the Windows registry value field to read from.
objA reverence to CObject that receives the data.