MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / RegSaveString

Function RegSaveString

source/Registry.cpp:44–48  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

42
43 //===========================================================================
44 void RegSaveString(LPCTSTR section, LPCTSTR key, BOOL /*peruser*/, const std::string& buffer)
45 {
46 BOOL updated = WritePrivateProfileString(section, key, buffer.c_str(), g_sConfigFile.c_str());
47 _ASSERT(updated || GetLastError() == 0);
48 }
49
50 //===========================================================================
51 void RegDeleteString(LPCTSTR section, BOOL /*peruser*/)

Callers 11

SetFilenameMethod · 0.85
SetRegistryConfigMethod · 0.85
SaveLastDiskImageMethod · 0.85
RegSaveValueFunction · 0.85
SaveLastDiskImageMethod · 0.85
LoadSnapshotMethod · 0.85
RepeatInitializationFunction · 0.85
SaveStateUpdateMethod · 0.85
ApplyConfigAfterCloseMethod · 0.85
SetRegistryInterfaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected