共用方式為


CSettingsStore::Open

Opens a registry key.

virtual BOOL Open(
   LPCTSTR pszPath 
);

Parameters

  • [in] pszPath
    The name of a registry key.

Return Value

Nonzero if successful; otherwise 0.

Remarks

After this method successfully opens the specified key, it sets m_hKey to the handle of this key.

Requirements

Header: afxsettingsstore.h

See Also

Reference

CSettingsStore Class

Hierarchy Chart