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

Method StdRegPathToRealPath

WinArk/Registry.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87CString Registry::StdRegPathToRealPath(const CString& path) {
88 CString result(path);
89 result.Replace(L"HKEY_LOCAL_MACHINE\\", L"\\REGISTRY\\MACHINE");
90 result.Replace(L"HKEY_USERS\\", L"\\REGISTRY\\USER\\");
91
92 return result;
93}
94
95RegistryKey Registry::OpenKey(const CString& path, DWORD access, bool* root) {
96 if (root)

Callers

nothing calls this directly

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected