// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Web_Http_Headers_H #define WINRT_Windows_Web_Http_Headers_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.Web.Http.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Globalization.2.h" #include "winrt/impl/Windows.Networking.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.Web.Http.2.h" #include "winrt/impl/Windows.Web.Http.Headers.2.h" namespace winrt::impl { template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxAge(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxAge(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxAge(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxStale(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MaxStale(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxStale(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MinFresh(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::MinFresh(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MinFresh(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_SharedMaxAge(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::SharedMaxAge(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_SharedMaxAge(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Scheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Scheme(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueFactory)->CreateFromScheme(*(void**)(&scheme), &value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueFactory)->CreateFromSchemeWithToken(*(void**)(&scheme), *(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(challengeHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory::Create(param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueFactory)->Create(*(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(connectionOptionHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue::ContentCoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValue)->get_ContentCoding(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory::Create(param::hstring const& contentCoding) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueFactory)->Create(*(void**)(&contentCoding), &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentCodingHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::ContentCoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue)->get_ContentCoding(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValue(param::hstring const& contentCoding) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueFactory)->CreateFromValue(*(void**)(&contentCoding), &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory::CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueFactory)->CreateFromValueWithQuality(*(void**)(&contentCoding), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentCodingWithQualityHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_DispositionType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::DispositionType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_DispositionType(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_FileName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileName(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_FileNameStar(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::FileNameStar(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileNameStar(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Name(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Name(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Size(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue::Size(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Size(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory::Create(param::hstring const& dispositionType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueFactory)->Create(*(void**)(&dispositionType), &value)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentDispositionHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentDisposition(&value)); return winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentDisposition(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLanguage(&value)); return winrt::Windows::Web::Http::Headers::HttpLanguageHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLength(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLength(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLength(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLocation(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentLocation(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLocation(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentMD5(&value)); return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentMD5(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentRange(&value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentRange(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentType(&value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentType(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_Expires(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Expires(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_Expires(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_LastModified(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::LastModified(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_LastModified(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::FirstBytePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_FirstBytePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::LastBytePosition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_LastBytePosition(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Length() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_Length(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_Unit(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue::Unit(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->put_Unit(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromLength(uint64_t length) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromLength(length, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRange(uint64_t from, uint64_t to) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromRange(from, to, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory::CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory)->CreateFromRangeWithLength(from, to, length, &value)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(contentRangeHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->put_Value(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* cookiePairHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &cookiePairHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ cookiePairHeaderValue, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(cookiePairHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Scheme() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Scheme(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue::Token() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Token(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromScheme(param::hstring const& scheme) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueFactory)->CreateFromScheme(*(void**)(&scheme), &value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueFactory)->CreateFromSchemeWithToken(*(void**)(&scheme), *(void**)(&token), &value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(credentialsHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue::Delta() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Delta(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(dateOrDeltaHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->put_Value(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* expectationHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &expectationHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ expectationHeaderValue, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(expectationHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::LanguageRange() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue)->get_LanguageRange(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRange(param::hstring const& languageRange) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueFactory)->CreateFromLanguageRange(*(void**)(&languageRange), &value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory::CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueFactory)->CreateFromLanguageRangeWithQuality(*(void**)(&languageRange), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(languageRangeWithQualityHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_CharSet(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::CharSet(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_CharSet(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::MediaType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_MediaType(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory::Create(param::hstring const& mediaType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueFactory)->Create(*(void**)(&mediaType), &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(mediaTypeHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_CharSet(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::CharSet(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_CharSet(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_MediaType(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::MediaType(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_MediaType(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Quality(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue::Quality(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_Quality(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaType(param::hstring const& mediaType) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueFactory)->CreateFromMediaType(*(void**)(&mediaType), &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory::CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueFactory)->CreateFromMediaTypeWithQuality(*(void**)(&mediaType), quality, &value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(mediaTypeWithQualityHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue::Value(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->put_Value(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromName(param::hstring const& name) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueFactory)->CreateFromName(*(void**)(&name), &value)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const { void* nameValueHeaderValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueFactory)->CreateFromNameWithValue(*(void**)(&name), *(void**)(&value), &nameValueHeaderValue)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ nameValueHeaderValue, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(nameValueHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Name() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue)->get_Name(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue::Version() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue)->get_Version(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromName(param::hstring const& productName) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueFactory)->CreateFromName(*(void**)(&productName), &value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueFactory)->CreateFromNameWithVersion(*(void**)(&productName), *(void**)(&productVersion), &value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(productHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Product() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue)->get_Product(&value)); return winrt::Windows::Web::Http::Headers::HttpProductHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue::Comment() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue)->get_Comment(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromComment(param::hstring const& productComment) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueFactory)->CreateFromComment(*(void**)(&productComment), &value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueFactory)->CreateFromNameWithVersion(*(void**)(&productName), *(void**)(&productVersion), &value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(productInfoHeaderValue), &succeeded)); return succeeded; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Accept() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Accept(&value)); return winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_AcceptEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::AcceptLanguage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_AcceptLanguage(&value)); return winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Authorization(&value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Authorization(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::CacheControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_CacheControl(&value)); return winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Connection(&value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Cookie() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Cookie(&value)); return winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Date(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Expect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Expect(&value)); return winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_From(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::From(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_From(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Host(&value)); return winrt::Windows::Networking::HostName{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Host(winrt::Windows::Networking::HostName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Host(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfModifiedSince(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfModifiedSince(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfModifiedSince(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfUnmodifiedSince(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::IfUnmodifiedSince(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfUnmodifiedSince(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_MaxForwards(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::MaxForwards(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_MaxForwards(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_ProxyAuthorization(&value)); return winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_ProxyAuthorization(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Referer(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Referer(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Referer(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TransferEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_TransferEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::UserAgent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_UserAgent(&value)); return winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Age(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Age(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Age(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Allow() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Allow(&value)); return winrt::Windows::Web::Http::Headers::HttpMethodHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::CacheControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_CacheControl(&value)); return winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Connection() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Connection(&value)); return winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Date(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Location(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Location(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Location(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::ProxyAuthenticate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_ProxyAuthenticate(&value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_RetryAfter(&value)); return winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_RetryAfter(*(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TransferEncoding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_TransferEncoding(&value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::WwwAuthenticate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_WwwAuthenticate(&value)); return winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::Append(param::hstring const& name, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->Append(*(void**)(&name), *(void**)(&value))); } template auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->TryAppendWithoutValidation(*(void**)(&name), *(void**)(&value), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Parameters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue)->get_Parameters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue)->get_Value(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::ParseAdd(param::hstring const& input) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection)->ParseAdd(*(void**)(&input))); } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection::TryParseAdd(param::hstring const& input) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection)->TryParseAdd(*(void**)(&input), &result)); return result; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory::Create(param::hstring const& input) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueFactory)->Create(*(void**)(&input), &value)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue{ value, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::Parse(param::hstring const& input) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueStatics)->Parse(*(void**)(&input), &result)); return winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue{ result, take_ownership_from_abi }; } template auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const { bool succeeded{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueStatics)->TryParse(*(void**)(&input), impl::bind_out(transferCodingHeaderValue), &succeeded)); return succeeded; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxAge(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MaxAge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxAge(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxAge(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxStale(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MaxStale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxStale(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxStale(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinFresh(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MinFresh()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinFresh(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinFresh(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SharedMaxAge(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SharedMaxAge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SharedMaxAge(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SharedMaxAge(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scheme(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Token(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Token()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromScheme(void* scheme, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromScheme(*reinterpret_cast(&scheme))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromSchemeWithToken(void* scheme, void* token, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromSchemeWithToken(*reinterpret_cast(&scheme), *reinterpret_cast(&token))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** challengeHeaderValue, bool* succeeded) noexcept final try { clear_abi(challengeHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(challengeHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Token(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Token()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* token, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Create(*reinterpret_cast(&token))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** connectionOptionHeaderValue, bool* succeeded) noexcept final try { clear_abi(connectionOptionHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(connectionOptionHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ContentCoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentCoding()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* contentCoding, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Create(*reinterpret_cast(&contentCoding))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** contentCodingHeaderValue, bool* succeeded) noexcept final try { clear_abi(contentCodingHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(contentCodingHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ContentCoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentCoding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Quality(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Quality()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromValue(void* contentCoding, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromValue(*reinterpret_cast(&contentCoding))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromValueWithQuality(void* contentCoding, double quality, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromValueWithQuality(*reinterpret_cast(&contentCoding), quality)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** contentCodingWithQualityHeaderValue, bool* succeeded) noexcept final try { clear_abi(contentCodingWithQualityHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(contentCodingWithQualityHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DispositionType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DispositionType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DispositionType(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DispositionType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FileName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FileName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FileName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FileName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FileNameStar(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FileNameStar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FileNameStar(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FileNameStar(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Name(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Name(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Size(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Size()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Size(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Size(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* dispositionType, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Create(*reinterpret_cast(&dispositionType))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** contentDispositionHeaderValue, bool* succeeded) noexcept final try { clear_abi(contentDispositionHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(contentDispositionHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ContentDisposition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentDisposition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentDisposition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentDisposition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentEncoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentEncoding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentLanguage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentLanguage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentLength(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ContentLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentLength(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentLength(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentLocation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentLocation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentLocation(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentLocation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentMD5(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentMD5()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentMD5(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentMD5(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentRange(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentRange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentRange(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentRange(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentType(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Expires(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Expires()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Expires(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Expires(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastModified(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LastModified()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LastModified(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LastModified(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Append(void* name, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Append(*reinterpret_cast(&name), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryAppendWithoutValidation(void* name, void* value, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryAppendWithoutValidation(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FirstBytePosition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().FirstBytePosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastBytePosition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LastBytePosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Length(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Length()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Unit(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Unit()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Unit(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Unit(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromLength(uint64_t length, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromLength(length)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromRange(uint64_t from, uint64_t to, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromRange(from, to)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromRangeWithLength(from, to, length)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** contentRangeHeaderValue, bool* succeeded) noexcept final try { clear_abi(contentRangeHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(contentRangeHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromName(void* name, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromName(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNameWithValue(void* name, void* value, void** cookiePairHeaderValue) noexcept final try { clear_abi(cookiePairHeaderValue); typename D::abi_guard guard(this->shim()); *cookiePairHeaderValue = detach_from(this->shim().CreateFromNameWithValue(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** cookiePairHeaderValue, bool* succeeded) noexcept final try { clear_abi(cookiePairHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(cookiePairHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scheme(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Token(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Token()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromScheme(void* scheme, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromScheme(*reinterpret_cast(&scheme))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromSchemeWithToken(void* scheme, void* token, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromSchemeWithToken(*reinterpret_cast(&scheme), *reinterpret_cast(&token))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** credentialsHeaderValue, bool* succeeded) noexcept final try { clear_abi(credentialsHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(credentialsHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Date(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Delta(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Delta()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** dateOrDeltaHeaderValue, bool* succeeded) noexcept final try { clear_abi(dateOrDeltaHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(dateOrDeltaHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromName(void* name, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromName(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNameWithValue(void* name, void* value, void** expectationHeaderValue) noexcept final try { clear_abi(expectationHeaderValue); typename D::abi_guard guard(this->shim()); *expectationHeaderValue = detach_from(this->shim().CreateFromNameWithValue(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** expectationHeaderValue, bool* succeeded) noexcept final try { clear_abi(expectationHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(expectationHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LanguageRange(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LanguageRange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Quality(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Quality()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromLanguageRange(void* languageRange, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromLanguageRange(*reinterpret_cast(&languageRange))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLanguageRangeWithQuality(void* languageRange, double quality, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromLanguageRangeWithQuality(*reinterpret_cast(&languageRange), quality)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** languageRangeWithQualityHeaderValue, bool* succeeded) noexcept final try { clear_abi(languageRangeWithQualityHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(languageRangeWithQualityHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CharSet(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharSet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharSet(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharSet(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MediaType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MediaType(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MediaType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* mediaType, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Create(*reinterpret_cast(&mediaType))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** mediaTypeHeaderValue, bool* succeeded) noexcept final try { clear_abi(mediaTypeHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(mediaTypeHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CharSet(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharSet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharSet(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharSet(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MediaType(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MediaType(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MediaType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Quality(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Quality()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Quality(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Quality(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromMediaType(void* mediaType, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromMediaType(*reinterpret_cast(&mediaType))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromMediaTypeWithQuality(void* mediaType, double quality, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromMediaTypeWithQuality(*reinterpret_cast(&mediaType), quality)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** mediaTypeWithQualityHeaderValue, bool* succeeded) noexcept final try { clear_abi(mediaTypeWithQualityHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(mediaTypeWithQualityHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromName(void* name, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromName(*reinterpret_cast(&name))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNameWithValue(void* name, void* value, void** nameValueHeaderValue) noexcept final try { clear_abi(nameValueHeaderValue); typename D::abi_guard guard(this->shim()); *nameValueHeaderValue = detach_from(this->shim().CreateFromNameWithValue(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** nameValueHeaderValue, bool* succeeded) noexcept final try { clear_abi(nameValueHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(nameValueHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Name(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Name()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Version(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Version()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromName(void* productName, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromName(*reinterpret_cast(&productName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNameWithVersion(void* productName, void* productVersion, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromNameWithVersion(*reinterpret_cast(&productName), *reinterpret_cast(&productVersion))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** productHeaderValue, bool* succeeded) noexcept final try { clear_abi(productHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(productHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Product(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Product()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Comment(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Comment()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromComment(void* productComment, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromComment(*reinterpret_cast(&productComment))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromNameWithVersion(void* productName, void* productVersion, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateFromNameWithVersion(*reinterpret_cast(&productName), *reinterpret_cast(&productVersion))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** productInfoHeaderValue, bool* succeeded) noexcept final try { clear_abi(productInfoHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(productInfoHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Accept(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Accept()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AcceptEncoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptEncoding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AcceptLanguage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptLanguage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Authorization(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Authorization()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Authorization(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Authorization(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheControl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheControl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Connection(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Connection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cookie(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cookie()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Date(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Date(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Date(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Expect(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Expect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_From(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().From()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_From(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().From(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Host(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Host()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Host(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Host(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IfModifiedSince(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().IfModifiedSince()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IfModifiedSince(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IfModifiedSince(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IfUnmodifiedSince(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().IfUnmodifiedSince()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IfUnmodifiedSince(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IfUnmodifiedSince(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxForwards(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MaxForwards()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxForwards(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxForwards(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProxyAuthorization(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProxyAuthorization()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ProxyAuthorization(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ProxyAuthorization(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Referer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Referer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Referer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Referer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransferEncoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransferEncoding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UserAgent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UserAgent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Append(void* name, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Append(*reinterpret_cast(&name), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryAppendWithoutValidation(void* name, void* value, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryAppendWithoutValidation(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Age(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Age()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Age(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Age(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Allow(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Allow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheControl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheControl()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Connection(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Connection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Date(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Date(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Date(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProxyAuthenticate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProxyAuthenticate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RetryAfter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RetryAfter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RetryAfter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RetryAfter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransferEncoding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransferEncoding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WwwAuthenticate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WwwAuthenticate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Append(void* name, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Append(*reinterpret_cast(&name), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryAppendWithoutValidation(void* name, void* value, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryAppendWithoutValidation(*reinterpret_cast(&name), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Parameters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Parameters()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ParseAdd(void* input) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ParseAdd(*reinterpret_cast(&input)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseAdd(void* input, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryParseAdd(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Create(void* input, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Create(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Parse(void* input, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Parse(*reinterpret_cast(&input))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParse(void* input, void** transferCodingHeaderValue, bool* succeeded) noexcept final try { clear_abi(transferCodingHeaderValue); typename D::abi_guard guard(this->shim()); *succeeded = detach_from(this->shim().TryParse(*reinterpret_cast(&input), *reinterpret_cast(transferCodingHeaderValue))); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::Web::Http::Headers { inline HttpChallengeHeaderValue::HttpChallengeHeaderValue(param::hstring const& scheme) : HttpChallengeHeaderValue(impl::call_factory([&](IHttpChallengeHeaderValueFactory const& f) { return f.CreateFromScheme(scheme); })) { } inline HttpChallengeHeaderValue::HttpChallengeHeaderValue(param::hstring const& scheme, param::hstring const& token) : HttpChallengeHeaderValue(impl::call_factory([&](IHttpChallengeHeaderValueFactory const& f) { return f.CreateFromSchemeWithToken(scheme, token); })) { } inline auto HttpChallengeHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpChallengeHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpChallengeHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) { return impl::call_factory([&](IHttpChallengeHeaderValueStatics const& f) { return f.TryParse(input, challengeHeaderValue); }); } inline HttpConnectionOptionHeaderValue::HttpConnectionOptionHeaderValue(param::hstring const& token) : HttpConnectionOptionHeaderValue(impl::call_factory([&](IHttpConnectionOptionHeaderValueFactory const& f) { return f.Create(token); })) { } inline auto HttpConnectionOptionHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpConnectionOptionHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpConnectionOptionHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) { return impl::call_factory([&](IHttpConnectionOptionHeaderValueStatics const& f) { return f.TryParse(input, connectionOptionHeaderValue); }); } inline HttpContentCodingHeaderValue::HttpContentCodingHeaderValue(param::hstring const& contentCoding) : HttpContentCodingHeaderValue(impl::call_factory([&](IHttpContentCodingHeaderValueFactory const& f) { return f.Create(contentCoding); })) { } inline auto HttpContentCodingHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpContentCodingHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpContentCodingHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) { return impl::call_factory([&](IHttpContentCodingHeaderValueStatics const& f) { return f.TryParse(input, contentCodingHeaderValue); }); } inline HttpContentCodingWithQualityHeaderValue::HttpContentCodingWithQualityHeaderValue(param::hstring const& contentCoding) : HttpContentCodingWithQualityHeaderValue(impl::call_factory([&](IHttpContentCodingWithQualityHeaderValueFactory const& f) { return f.CreateFromValue(contentCoding); })) { } inline HttpContentCodingWithQualityHeaderValue::HttpContentCodingWithQualityHeaderValue(param::hstring const& contentCoding, double quality) : HttpContentCodingWithQualityHeaderValue(impl::call_factory([&](IHttpContentCodingWithQualityHeaderValueFactory const& f) { return f.CreateFromValueWithQuality(contentCoding, quality); })) { } inline auto HttpContentCodingWithQualityHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpContentCodingWithQualityHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpContentCodingWithQualityHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) { return impl::call_factory([&](IHttpContentCodingWithQualityHeaderValueStatics const& f) { return f.TryParse(input, contentCodingWithQualityHeaderValue); }); } inline HttpContentDispositionHeaderValue::HttpContentDispositionHeaderValue(param::hstring const& dispositionType) : HttpContentDispositionHeaderValue(impl::call_factory([&](IHttpContentDispositionHeaderValueFactory const& f) { return f.Create(dispositionType); })) { } inline auto HttpContentDispositionHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpContentDispositionHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpContentDispositionHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) { return impl::call_factory([&](IHttpContentDispositionHeaderValueStatics const& f) { return f.TryParse(input, contentDispositionHeaderValue); }); } inline HttpContentHeaderCollection::HttpContentHeaderCollection() : HttpContentHeaderCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline HttpContentRangeHeaderValue::HttpContentRangeHeaderValue(uint64_t length) : HttpContentRangeHeaderValue(impl::call_factory([&](IHttpContentRangeHeaderValueFactory const& f) { return f.CreateFromLength(length); })) { } inline HttpContentRangeHeaderValue::HttpContentRangeHeaderValue(uint64_t from, uint64_t to) : HttpContentRangeHeaderValue(impl::call_factory([&](IHttpContentRangeHeaderValueFactory const& f) { return f.CreateFromRange(from, to); })) { } inline HttpContentRangeHeaderValue::HttpContentRangeHeaderValue(uint64_t from, uint64_t to, uint64_t length) : HttpContentRangeHeaderValue(impl::call_factory([&](IHttpContentRangeHeaderValueFactory const& f) { return f.CreateFromRangeWithLength(from, to, length); })) { } inline auto HttpContentRangeHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpContentRangeHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpContentRangeHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) { return impl::call_factory([&](IHttpContentRangeHeaderValueStatics const& f) { return f.TryParse(input, contentRangeHeaderValue); }); } inline HttpCookiePairHeaderValue::HttpCookiePairHeaderValue(param::hstring const& name) : HttpCookiePairHeaderValue(impl::call_factory([&](IHttpCookiePairHeaderValueFactory const& f) { return f.CreateFromName(name); })) { } inline HttpCookiePairHeaderValue::HttpCookiePairHeaderValue(param::hstring const& name, param::hstring const& value) : HttpCookiePairHeaderValue(impl::call_factory([&](IHttpCookiePairHeaderValueFactory const& f) { return f.CreateFromNameWithValue(name, value); })) { } inline auto HttpCookiePairHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpCookiePairHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpCookiePairHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) { return impl::call_factory([&](IHttpCookiePairHeaderValueStatics const& f) { return f.TryParse(input, cookiePairHeaderValue); }); } inline HttpCredentialsHeaderValue::HttpCredentialsHeaderValue(param::hstring const& scheme) : HttpCredentialsHeaderValue(impl::call_factory([&](IHttpCredentialsHeaderValueFactory const& f) { return f.CreateFromScheme(scheme); })) { } inline HttpCredentialsHeaderValue::HttpCredentialsHeaderValue(param::hstring const& scheme, param::hstring const& token) : HttpCredentialsHeaderValue(impl::call_factory([&](IHttpCredentialsHeaderValueFactory const& f) { return f.CreateFromSchemeWithToken(scheme, token); })) { } inline auto HttpCredentialsHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpCredentialsHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpCredentialsHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) { return impl::call_factory([&](IHttpCredentialsHeaderValueStatics const& f) { return f.TryParse(input, credentialsHeaderValue); }); } inline auto HttpDateOrDeltaHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpDateOrDeltaHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpDateOrDeltaHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) { return impl::call_factory([&](IHttpDateOrDeltaHeaderValueStatics const& f) { return f.TryParse(input, dateOrDeltaHeaderValue); }); } inline HttpExpectationHeaderValue::HttpExpectationHeaderValue(param::hstring const& name) : HttpExpectationHeaderValue(impl::call_factory([&](IHttpExpectationHeaderValueFactory const& f) { return f.CreateFromName(name); })) { } inline HttpExpectationHeaderValue::HttpExpectationHeaderValue(param::hstring const& name, param::hstring const& value) : HttpExpectationHeaderValue(impl::call_factory([&](IHttpExpectationHeaderValueFactory const& f) { return f.CreateFromNameWithValue(name, value); })) { } inline auto HttpExpectationHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpExpectationHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpExpectationHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) { return impl::call_factory([&](IHttpExpectationHeaderValueStatics const& f) { return f.TryParse(input, expectationHeaderValue); }); } inline HttpLanguageRangeWithQualityHeaderValue::HttpLanguageRangeWithQualityHeaderValue(param::hstring const& languageRange) : HttpLanguageRangeWithQualityHeaderValue(impl::call_factory([&](IHttpLanguageRangeWithQualityHeaderValueFactory const& f) { return f.CreateFromLanguageRange(languageRange); })) { } inline HttpLanguageRangeWithQualityHeaderValue::HttpLanguageRangeWithQualityHeaderValue(param::hstring const& languageRange, double quality) : HttpLanguageRangeWithQualityHeaderValue(impl::call_factory([&](IHttpLanguageRangeWithQualityHeaderValueFactory const& f) { return f.CreateFromLanguageRangeWithQuality(languageRange, quality); })) { } inline auto HttpLanguageRangeWithQualityHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpLanguageRangeWithQualityHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpLanguageRangeWithQualityHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) { return impl::call_factory([&](IHttpLanguageRangeWithQualityHeaderValueStatics const& f) { return f.TryParse(input, languageRangeWithQualityHeaderValue); }); } inline HttpMediaTypeHeaderValue::HttpMediaTypeHeaderValue(param::hstring const& mediaType) : HttpMediaTypeHeaderValue(impl::call_factory([&](IHttpMediaTypeHeaderValueFactory const& f) { return f.Create(mediaType); })) { } inline auto HttpMediaTypeHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpMediaTypeHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpMediaTypeHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) { return impl::call_factory([&](IHttpMediaTypeHeaderValueStatics const& f) { return f.TryParse(input, mediaTypeHeaderValue); }); } inline HttpMediaTypeWithQualityHeaderValue::HttpMediaTypeWithQualityHeaderValue(param::hstring const& mediaType) : HttpMediaTypeWithQualityHeaderValue(impl::call_factory([&](IHttpMediaTypeWithQualityHeaderValueFactory const& f) { return f.CreateFromMediaType(mediaType); })) { } inline HttpMediaTypeWithQualityHeaderValue::HttpMediaTypeWithQualityHeaderValue(param::hstring const& mediaType, double quality) : HttpMediaTypeWithQualityHeaderValue(impl::call_factory([&](IHttpMediaTypeWithQualityHeaderValueFactory const& f) { return f.CreateFromMediaTypeWithQuality(mediaType, quality); })) { } inline auto HttpMediaTypeWithQualityHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpMediaTypeWithQualityHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpMediaTypeWithQualityHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) { return impl::call_factory([&](IHttpMediaTypeWithQualityHeaderValueStatics const& f) { return f.TryParse(input, mediaTypeWithQualityHeaderValue); }); } inline HttpNameValueHeaderValue::HttpNameValueHeaderValue(param::hstring const& name) : HttpNameValueHeaderValue(impl::call_factory([&](IHttpNameValueHeaderValueFactory const& f) { return f.CreateFromName(name); })) { } inline HttpNameValueHeaderValue::HttpNameValueHeaderValue(param::hstring const& name, param::hstring const& value) : HttpNameValueHeaderValue(impl::call_factory([&](IHttpNameValueHeaderValueFactory const& f) { return f.CreateFromNameWithValue(name, value); })) { } inline auto HttpNameValueHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpNameValueHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpNameValueHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) { return impl::call_factory([&](IHttpNameValueHeaderValueStatics const& f) { return f.TryParse(input, nameValueHeaderValue); }); } inline HttpProductHeaderValue::HttpProductHeaderValue(param::hstring const& productName) : HttpProductHeaderValue(impl::call_factory([&](IHttpProductHeaderValueFactory const& f) { return f.CreateFromName(productName); })) { } inline HttpProductHeaderValue::HttpProductHeaderValue(param::hstring const& productName, param::hstring const& productVersion) : HttpProductHeaderValue(impl::call_factory([&](IHttpProductHeaderValueFactory const& f) { return f.CreateFromNameWithVersion(productName, productVersion); })) { } inline auto HttpProductHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpProductHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpProductHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) { return impl::call_factory([&](IHttpProductHeaderValueStatics const& f) { return f.TryParse(input, productHeaderValue); }); } inline HttpProductInfoHeaderValue::HttpProductInfoHeaderValue(param::hstring const& productComment) : HttpProductInfoHeaderValue(impl::call_factory([&](IHttpProductInfoHeaderValueFactory const& f) { return f.CreateFromComment(productComment); })) { } inline HttpProductInfoHeaderValue::HttpProductInfoHeaderValue(param::hstring const& productName, param::hstring const& productVersion) : HttpProductInfoHeaderValue(impl::call_factory([&](IHttpProductInfoHeaderValueFactory const& f) { return f.CreateFromNameWithVersion(productName, productVersion); })) { } inline auto HttpProductInfoHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpProductInfoHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpProductInfoHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) { return impl::call_factory([&](IHttpProductInfoHeaderValueStatics const& f) { return f.TryParse(input, productInfoHeaderValue); }); } inline HttpTransferCodingHeaderValue::HttpTransferCodingHeaderValue(param::hstring const& input) : HttpTransferCodingHeaderValue(impl::call_factory([&](IHttpTransferCodingHeaderValueFactory const& f) { return f.Create(input); })) { } inline auto HttpTransferCodingHeaderValue::Parse(param::hstring const& input) { return impl::call_factory([&](IHttpTransferCodingHeaderValueStatics const& f) { return f.Parse(input); }); } inline auto HttpTransferCodingHeaderValue::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) { return impl::call_factory([&](IHttpTransferCodingHeaderValueStatics const& f) { return f.TryParse(input, transferCodingHeaderValue); }); } } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; template<> struct formatter : formatter {}; #endif } #endif