| 2553 | |
| 2554 | |
| 2555 | inline void RegKey::LoadKey(const std::wstring& subKey, const std::wstring& filename) |
| 2556 | { |
| 2557 | Close(); |
| 2558 | |
| 2559 | LSTATUS retCode = ::RegLoadKeyW(m_hKey, subKey.c_str(), filename.c_str()); |
| 2560 | if (retCode != ERROR_SUCCESS) |
| 2561 | { |
| 2562 | throw RegException{ retCode, "RegLoadKeyW failed." }; |
| 2563 | } |
| 2564 | } |
| 2565 | |
| 2566 | |
| 2567 | inline RegResult RegKey::TryLoadKey(const std::wstring& subKey, |
nothing calls this directly
no outgoing calls
no test coverage detected