BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::WriteString ( LPCTSTR  lpszEntry,
LPCTSTR  lpszValue 
)

Stores string data in a specified value field.

Returns
If successful, returns nonzero; otherwise 0.
Parameters
lpszEntrySpecifies the value field to be set. If a value field with this name does not already exist in the key, it is added.
lpszValueSpecifies the data to be stored.