| 178 | } |
| 179 | |
| 180 | bool Registry::RenameKey(HKEY hKey, PCWSTR name, PCWSTR newName) { |
| 181 | auto error = ::RegRenameKey(hKey, name, newName); |
| 182 | ::SetLastError(error); |
| 183 | return ERROR_SUCCESS == error; |
| 184 | } |
| 185 | |
| 186 | const std::vector<Hive>& Registry::GetHiveList(bool refresh) { |
| 187 | if (refresh) |
nothing calls this directly
no test coverage detected