BCGControlBar Pro for MFC
virtual BOOL CBCGPRegistry::Write ( LPCTSTR  pszKey,
CObject *  pObj 
)
virtual

Sets the data and type of a specified value under a registry key.

Returns
If the function succeeds, the return value is nonzero. It is 0 if the function fails.

You must construct a CBCGPRegistry object with bRead parameter set to nonzero to be able to use the Write function.

Parameters
pszKeyPointer to a string containing the name of the value to set.
pObjPointer to a CObject variable containing the data to be stored with the specified value name.