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

Method RenameKey

WinArk/Registry.cpp:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180bool 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
186const std::vector<Hive>& Registry::GetHiveList(bool refresh) {
187 if (refresh)

Callers

nothing calls this directly

Calls 1

RegRenameKeyFunction · 0.85

Tested by

no test coverage detected