Lines Matching refs:BackupRegKey
415 …RegistryKey BackupRegKey = m_RootKey->CreateSubKey(PRIVATE_BACKUP_KEY_NAME + L"\\" + DEFAULT_HTML_… in RegisterAsDefaultHtmlEditorForInternetExplorer() local
418 BackupRegKey->CopyValue(RegKey, DEFAULT_VALUE_NAME); in RegisterAsDefaultHtmlEditorForInternetExplorer()
422 BackupRegKey->CopyValue(RegKey, L"Description"); in RegisterAsDefaultHtmlEditorForInternetExplorer()
456 RegistryKey BackupRegKey = m_RootKey->OpenSubKey(PRIVATE_BACKUP_KEY_NAME); in UnregisterAsDefaultHtmlEditorForInternetExplorer() local
458 if (BackupRegKey->HasSubKey(DEFAULT_HTML_EDITOR)) in UnregisterAsDefaultHtmlEditorForInternetExplorer()
460 BackupRegKey = BackupRegKey->OpenSubKey(DEFAULT_HTML_EDITOR); in UnregisterAsDefaultHtmlEditorForInternetExplorer()
462 if (BackupRegKey->HasValue(DEFAULT_VALUE_NAME)) in UnregisterAsDefaultHtmlEditorForInternetExplorer()
463 RegKey->CopyValue(BackupRegKey, DEFAULT_VALUE_NAME); in UnregisterAsDefaultHtmlEditorForInternetExplorer()
469 if (BackupRegKey->HasValue(L"Description")) in UnregisterAsDefaultHtmlEditorForInternetExplorer()
470 RegKey->CopyValue(BackupRegKey, L"Description"); in UnregisterAsDefaultHtmlEditorForInternetExplorer()
513 RegistryKey BackupRegKey = m_RootKey->CreateSubKey(PRIVATE_BACKUP_KEY_NAME + L"\\" + HTML_EDIT); in RegisterAsDefaultShellHtmlEditor() local
514 BackupRegKey->CopyValue(RegKey, DEFAULT_VALUE_NAME, SHELL_EDIT_COMMAND_BACKUP); in RegisterAsDefaultShellHtmlEditor()
554 RegistryKey BackupRegKey = m_RootKey->CreateSubKey(PRIVATE_BACKUP_KEY_NAME + L"\\" + HTML_EDIT); in UnregisterAsDefaultShellHtmlEditor() local
556 if (BackupRegKey->HasValue(SHELL_EDIT_COMMAND_BACKUP)) in UnregisterAsDefaultShellHtmlEditor()
557 RegKey->CopyValue(BackupRegKey, SHELL_EDIT_COMMAND_BACKUP, DEFAULT_VALUE_NAME); in UnregisterAsDefaultShellHtmlEditor()