ITLogLib::GetRegistrySettingCurrentUser

 

const char* GetRegistrySettingCurrentUser (const char* pKeyName, const char* pValueName);

 

Purpose:

§      helper function to get a Windows registry data from HKEY_CURRENT_USER

 

Parameters:

§      pKeyName (Input): Registry key (may include subkeys, separated by ‘\’ )

§      pValueName (Input): Registry value

 

Return value:

§      data if found in the registry

§      NULL otherwise

 

Note:

§      Copy the result to your own string buffer, if needed longer. It may change on next call to this function.

§      This function should not be used from multiple threads at the same time!

 

See also:

§      GetRegistrySettingLocalMachine