Partilhar via


CWinApp::GetAppRegistryKey

Returns the key for HKEY_CURRENT_USER\"Software"\RegistryKey\ProfileName.

HKEY GetAppRegistryKey(
   CAtlTransactionManager* pTM = NULL
);

Parameters

  • pTM
    Pointer to a CAtlTransactionManager object.

Return Value

Application key if the function succeeds; otherwise NULL.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class