Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Sets the default registry path for the application.
LPCTSTR SetRegistryBase(
LPCTSTR lpszSectionName = NULL
);
Parameters
- [in] lpszSectionName
A string that contains the path of a registry key.
Return Value
A string that contains the path of the default registry location.
Remarks
All methods of the CWinAppEx Class that access the registry start in a default location. Use this method to change that default registry location. Use CWinAppEx::GetRegistryBase to retrieve the default registry location.
Requirements
Header: afxwinappex.h