CWinApp::GetSectionKey
TOC
Collapse the table of content
Expand the table of content

CWinApp::GetSectionKey

 

Returns the key for HKEY_CURRENT_USER\"Software"\RegistryKey\AppName\lpszSection.

HKEY GetSectionKey(
   LPCTSTR lpszSection,
   CAtlTransactionManager* pTM = NULL
);

lpszSection

The name of the key to be obtained.

pTM

Pointer to a CAtlTransactionManager object.

Section key if the function succeeds; otherwise NULL.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft