| 146 | int GetInt32(PCWSTR name) const; |
| 147 | |
| 148 | std::vector<std::wstring> GetMultiString(PCWSTR name) const { |
| 149 | auto it = _settings.find(name); |
| 150 | if (it == _settings.end()) |
| 151 | return {}; |
| 152 | |
| 153 | auto p = it->second.Buffer.get(); |
| 154 | std::vector<std::wstring> values; |
| 155 | while (*p) { |
| 156 | values.push_back(std::wstring((PCWSTR)p)); |
| 157 | p += (wcslen((PCWSTR)p) + 1) * sizeof(WCHAR); |
| 158 | } |
| 159 | return values; |
| 160 | } |
| 161 | |
| 162 | template<typename T> |
| 163 | T* GetBinary(PCWSTR name) const { |