Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CWinAppEx::SetRegistryBase
Collapse the table of content
Expand the table of content

CWinAppEx::SetRegistryBase

Sets the default registry path for the application.

LPCTSTR SetRegistryBase(
   LPCTSTR lpszSectionName = NULL
);

[in] lpszSectionName

A string that contains the path of a registry key.

A string that contains the path of the default registry location.

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.

Header: afxwinappex.h

Show:
© 2015 Microsoft