Lines Matching refs:RegVal
175 RegistryValue RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in QueryPreselectForMsApplication() local
177 if (REG_SZ == RegVal->GetType() && in QueryPreselectForMsApplication()
178 IsOpenOfficeRegisteredForMsApplication(RegVal->GetDataAsUniString())) in QueryPreselectForMsApplication()
183 … else if ( (REG_SZ == RegVal->GetType()) && ! root_key->HasSubKey( RegVal->GetDataAsUniString() ) ) in QueryPreselectForMsApplication()
350 RegistryValue RegVal( in RegisterAsHtmlEditorForInternetExplorer() local
356 RegKey->SetValue(RegVal); in RegisterAsHtmlEditorForInternetExplorer()
361 RegVal->SetName(L"FriendlyAppName"); in RegisterAsHtmlEditorForInternetExplorer()
362 RegVal->SetValue(OOFriendlyAppName); in RegisterAsHtmlEditorForInternetExplorer()
363 RegKey->SetValue(RegVal); in RegisterAsHtmlEditorForInternetExplorer()
366 RegVal->SetName(DEFAULT_VALUE_NAME); in RegisterAsHtmlEditorForInternetExplorer()
367 RegVal->SetValue( in RegisterAsHtmlEditorForInternetExplorer()
370 RegKey->SetValue(RegVal); in RegisterAsHtmlEditorForInternetExplorer()
405 RegistryValue RegVal = RegistryValue(new RegistryValueImpl(DEFAULT_VALUE_NAME, L"")); in RegisterAsDefaultHtmlEditorForInternetExplorer() local
409 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in RegisterAsDefaultHtmlEditorForInternetExplorer()
411 std::wstring CmdLine = RegVal->GetDataAsUniString(); in RegisterAsDefaultHtmlEditorForInternetExplorer()
426 RegVal->SetValue( in RegisterAsDefaultHtmlEditorForInternetExplorer()
430 RegKey->SetValue(RegVal); in RegisterAsDefaultHtmlEditorForInternetExplorer()
432 RegVal->SetName(L"Description"); in RegisterAsDefaultHtmlEditorForInternetExplorer()
433 RegVal->SetValue(m_ContextInformation.GetOpenOfficeFriendlyAppName()); in RegisterAsDefaultHtmlEditorForInternetExplorer()
435 RegKey->SetValue(RegVal); in RegisterAsDefaultHtmlEditorForInternetExplorer()
450 RegistryValue RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in UnregisterAsDefaultHtmlEditorForInternetExplorer() local
452 std::wstring CmdLine = RegVal->GetDataAsUniString(); in UnregisterAsDefaultHtmlEditorForInternetExplorer()
492 RegistryValue RegVal = RegistryValue( in RegisterAsDefaultShellHtmlEditor() local
496 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in RegisterAsDefaultShellHtmlEditor()
498 std::wstring HtmFwdKey = RegVal->GetDataAsUniString(); in RegisterAsDefaultShellHtmlEditor()
506 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in RegisterAsDefaultShellHtmlEditor()
508 std::wstring CmdLine = RegVal->GetDataAsUniString(); in RegisterAsDefaultShellHtmlEditor()
518 RegVal->SetValue( in RegisterAsDefaultShellHtmlEditor()
522 RegKey->SetValue(RegVal); in RegisterAsDefaultShellHtmlEditor()
535 RegistryValue RegVal = RegistryValue( in UnregisterAsDefaultShellHtmlEditor() local
539 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in UnregisterAsDefaultShellHtmlEditor()
541 std::wstring HtmFwdKey = RegVal->GetDataAsUniString(); in UnregisterAsDefaultShellHtmlEditor()
548 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in UnregisterAsDefaultShellHtmlEditor()
550 std::wstring CmdLine = RegVal->GetDataAsUniString(); in UnregisterAsDefaultShellHtmlEditor()
595 RegistryValue RegVal = RegKey->GetValue(REGISTRATION_STATE); in GetRegisterState() local
596 if (REG_DWORD == RegVal->GetType()) in GetRegisterState()
597 State = RegVal->GetDataAsInt(); in GetRegisterState()
606 RegistryValue RegVal = RegistryValue(new RegistryValueImpl(REGISTRATION_STATE, NewState)); in SetRegisterState() local
607 RegKey->SetValue(RegVal); in SetRegisterState()
620 RegistryValue RegVal = RegKey->GetValue(REGISTRATION_STATE); in IsRegisteredFor() local
621 if (REG_DWORD == RegVal->GetType()) in IsRegisteredFor()
622 SavedState = RegVal->GetDataAsInt(); in IsRegisteredFor()
694 RegistryValue RegVal(new RegistryValueImpl(std::wstring(DEFAULT_VALUE_NAME), DocumentDisplayName)); in RegisterForMsOfficeApplication() local
695 ForwardKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
698 RegVal->SetValue(DefaultIconEntry); in RegisterForMsOfficeApplication()
699 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
702 RegVal->SetValue(DefaultShellCommand); in RegisterForMsOfficeApplication()
703 RegKeyShell->SetValue(RegVal); in RegisterForMsOfficeApplication()
706 RegVal->SetValue(ShellNewCommandDisplayName); in RegisterForMsOfficeApplication()
707 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
710 …RegVal->SetValue(m_ContextInformation.GetOpenOfficeCommandline(RegistrationContextInformation::New… in RegisterForMsOfficeApplication()
711 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
714 …RegVal->SetValue(m_ContextInformation.GetOpenOfficeCommandline(RegistrationContextInformation::Ope… in RegisterForMsOfficeApplication()
715 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
718 …RegVal->SetValue(m_ContextInformation.GetOpenOfficeCommandline(RegistrationContextInformation::Pri… in RegisterForMsOfficeApplication()
719 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
722 …RegVal->SetValue(m_ContextInformation.GetOpenOfficeCommandline(RegistrationContextInformation::Pri… in RegisterForMsOfficeApplication()
723 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
730 RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in RegisterForMsOfficeApplication()
732 if (REG_SZ == RegVal->GetType()) in RegisterForMsOfficeApplication()
734 std::wstring str = RegVal->GetDataAsUniString(); in RegisterForMsOfficeApplication()
740 RegVal->SetValue(ForwardKeyName); in RegisterForMsOfficeApplication()
741 RegKey->SetValue(RegVal); in RegisterForMsOfficeApplication()
754 RegistryValue RegVal = RegKey->GetValue(DEFAULT_VALUE_NAME); in UnregisterForMsOfficeApplication() local
755 if (REG_SZ == RegVal->GetType() && in UnregisterForMsOfficeApplication()
756 IsOpenOfficeRegisteredForMsApplication(RegVal->GetDataAsUniString())) in UnregisterForMsOfficeApplication()