Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the key for HKEY_CURRENT_USER\"Software"\RegistryKey\AppName\lpszSection.
HKEY GetSectionKey(
LPCTSTR lpszSection,
CAtlTransactionManager* pTM = NULL
);
Parameters
lpszSection
The name of the key to be obtained.pTM
Pointer to a CAtlTransactionManager object.
Return Value
Section key if the function succeeds; otherwise NULL.
Requirements
Header: afxwin.h