Lines Matching refs:hr
39 HRESULT hr = xml_doc->get_DocumentElement(&document_element);
40 CheckHR(hr);
45 hr = document_element->GetElementsByTagName(tag_name.Get(),
47 CheckHR(hr);
56 hr = elements->Item(index, node);
57 CheckHR(hr);
58 return hr;
70 HRESULT hr = xml_doc->get_DocumentElement(&document_element);
71 CheckHR(hr);
76 hr = xml_doc->CreateTextNode(data_hstring.Get(), &xml_text_node);
77 CheckHR(hr);
80 hr = xml_text_node.CopyTo(
83 CheckHR(hr);
86 hr = GetTextNodeRoot(index, xml_doc, &text_node_root);
87 CheckHR(hr);
90 hr = text_node_root->AppendChild(created_node.Get(), &appended_node);
91 CheckHR(hr);
92 return hr;
144 HRESULT hr = winrt_utils::CreateActivationFactory(
147 CheckHR(hr);
150 hr = toast_manager->GetTemplateContent(
153 CheckHR(hr);
159 hr = toast_xml->get_DocumentElement(&document_element);
160 CheckHR(hr);
165 hr = CreateTextNode(toast_xml.Get(), 0, notification.title);
166 CheckHR(hr);
168 hr = CreateTextNode(toast_xml.Get(), 1, notification.body);
169 CheckHR(hr);
176 hr = document_element->SetAttribute(duration_attribute_name.Get(),
178 CheckHR(hr);
190 hr = winrt_utils::CreateActivationFactory(
193 CheckHR(hr);
195 hr = toast_notification_factory->CreateToastNotification(
197 CheckHR(hr);
212 hr = toast_manager->CreateToastNotifierWithId(app_user_model_id.Get(),
214 CheckHR(hr);
216 hr = notification_->add_Activated(
220 CheckHR(hr);
222 hr = notifier_->Show(notification_.Get());
223 CheckHR(hr);