Export (0) Print
Expand All
Expand Minimize

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.

Header: afxwin.h

Show:
© 2014 Microsoft