BCGControlBar Pro for MFC
virtual BOOL CBCGPRegistry::Write ( LPCTSTR  pszKey,
CDWordArray &  dwcArray 

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

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.

pszKeyPointer to a string containing the name of the value to set.
dwcArrayReference to a double word array variable containing the data to be stored with the specified value name.