| 161 | |
| 162 | template<typename T> |
| 163 | T* GetBinary(PCWSTR name) const { |
| 164 | auto it = _settings.find(name); |
| 165 | if (it == _settings.end()) |
| 166 | return nullptr; |
| 167 | ATLASSERT(it->second.Size == sizeof(T)); |
| 168 | return (T*)it->second.Buffer.get(); |
| 169 | } |
| 170 | |
| 171 | protected: |
| 172 | struct LessNoCase { |