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

Method WriteBinary

WinArk/IniFile.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110bool IniFile::WriteBinary(PCWSTR section, PCWSTR name, void* data, unsigned size) {
111 WriteInt(section, name + CString(L"_size"), size);
112 return ::WritePrivateProfileStruct(section, name, data, size, _path);
113}
114
115bool IniFile::ReadFont(PCWSTR section, PCWSTR name, LOGFONT& font) {
116 return ::GetPrivateProfileStruct(section, name, &font, sizeof(font), _path);

Callers 1

SaveToFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected