MCPcopy Create free account
hub / github.com/ImpulseAdventure/JPEGsnoop / RegistryStoreStr

Method RegistryStoreStr

SnoopConfig.cpp:391–399  ·  view source on GitHub ↗

Store a string to the registry INPUT: - strKey Registry key to write - strSetting Value to store at registry key

Source from the content-addressed store, hash-verified

389// - strSetting Value to store at registry key
390//
391void CSnoopConfig::RegistryStoreStr(CString strKey,CString strSetting)
392{
393 CString strKeyPath = REG_KEY_PATH;
394 CString strKeyFull = strKeyPath + strKey;
395 CRegString regWr(strKeyFull,_T("???"),TRUE,HKEY_CURRENT_USER);
396 regWr = strSetting;
397 CRegString regRd(strKeyFull,_T("???"),TRUE,HKEY_CURRENT_USER);
398 ASSERT(regRd == strSetting);
399}
400
401
402

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected