MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / WriteInt

Method WriteInt

WinArk/IniFile.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool IniFile::WriteInt(PCWSTR section, PCWSTR name, int value, bool hex) {
91 CString text;
92 text.Format(hex ? L"0x%X" : L"%d", value);
93 return WriteString(section, name, text);
94}
95
96bool IniFile::WriteBool(PCWSTR section, PCWSTR name, bool value) {
97 return WriteInt(section, name, value ? 1 : 0);

Callers 2

SaveMethod · 0.80
SaveToFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected