| 57 | |
| 58 | |
| 59 | void RegistryUtils::CleanupClsid(const CLSID& clsid) { |
| 60 | WCHAR clsidStr[40]; |
| 61 | StringFromGUID2(clsid, clsidStr, 40); |
| 62 | |
| 63 | std::wstring keyPath = std::wstring(L"CLSID\\") + clsidStr + L"\\TreatAs"; |
| 64 | RegDeleteTree(HKEY_CLASSES_ROOT, keyPath.c_str()); |
| 65 | } |
| 66 | |
| 67 | bool RegistryUtils::SetOnlyUseLatestCLR(bool enable) { |
| 68 | HKEY hKey; |
nothing calls this directly
no outgoing calls
no test coverage detected