Compartilhar via


CWinApp::GetSectionKey

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

See Also

Reference

CWinApp Class