BCGControlBar Pro for MFC
virtual BOOL CBCGPRegistry::CreateKey ( LPCTSTR  pszPath)
virtual

Creates or opens the specified key

Returns
If successful, returns nonzero; otherwise 0.

Creates the specified key if it does not exist as a sub key of m_hKey. Otherwise, Create opens the key. Create sets the m_hKey member to the handle of this key.

Parameters
pszPathSpecifies the name of a key to be created or opened