Latest update for winrt

PiperOrigin-RevId: 452591835
This commit is contained in:
jfcarroll
2022-06-02 12:05:19 -07:00
committed by Copybara-Service
parent 11558b453c
commit 28da839987
1366 changed files with 69568 additions and 70576 deletions
@@ -1,11 +1,11 @@
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
#pragma once
#ifndef WINRT_Windows_Storage_FileProperties_H
#define WINRT_Windows_Storage_FileProperties_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers.");
#define CPPWINRT_VERSION "2.0.210930.14"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220531.1"), "Mismatched C++/WinRT headers.");
#define CPPWINRT_VERSION "2.0.220531.1"
#include "winrt/Windows.Storage.h"
#include "winrt/impl/Windows.Devices.Geolocation.2.h"
#include "winrt/impl/Windows.Foundation.2.h"
@@ -15,475 +15,475 @@ static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatch
#include "winrt/impl/Windows.Storage.FileProperties.2.h"
namespace winrt::impl
{
template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_FileProperties_IBasicProperties<D>::Size() const
template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::Size() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_Size(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties<D>::DateModified() const
template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::DateModified() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_DateModified(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties<D>::ItemDate() const
template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::ItemDate() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_ItemDate(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Author() const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Author() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Author(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title() const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Title(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Keywords() const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment() const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Comment(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Comment(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geopoint>) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const
template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->GetGeotagAsync(*(void**)(&file), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geopoint>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const
template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->SetGeotagFromGeolocatorAsync(*(void**)(&file), *(void**)(&geolocator), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const
template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IGeotagHelperStatics)->SetGeotagAsync(*(void**)(&file), *(void**)(&geopoint), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Rating(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Rating(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Keywords() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_DateTaken(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken(winrt::Windows::Foundation::DateTime const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken(winrt::Windows::Foundation::DateTime const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_DateTaken(impl::bind_in(value)));
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Width() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Width(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Height() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Height(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::Title() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::Title(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Title(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Latitude() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Latitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Latitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Longitude() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Longitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Longitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_CameraManufacturer(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraManufacturer(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_CameraModel(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraModel(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::PhotoOrientation) consume_Windows_Storage_FileProperties_IImageProperties<D>::Orientation() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Orientation() const
{
winrt::Windows::Storage::FileProperties::PhotoOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Storage_FileProperties_IImageProperties<D>::PeopleNames() const
template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::PeopleNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_PeopleNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Album(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Album(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Artist(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Artist(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Genre() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Genre() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Genre(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_TrackNumber(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_TrackNumber(value));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Title(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Rating(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Rating(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Duration() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Duration() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Duration(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Bitrate() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Bitrate(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_AlbumArtist(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_AlbumArtist(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Composers() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Composers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Composers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Conductors() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Conductors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Conductors(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Subtitle(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Subtitle(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Producers() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Producers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Producers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Publisher(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Publisher(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Writers() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Writers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Writers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year() const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Year(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Year(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::MusicProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetMusicPropertiesAsync() const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetMusicPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetMusicPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::MusicProperties>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::VideoProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetVideoPropertiesAsync() const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetVideoPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetVideoPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::VideoProperties>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::ImageProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetImagePropertiesAsync() const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetImagePropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetImagePropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::ImageProperties>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::DocumentProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetDocumentPropertiesAsync() const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetDocumentPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetDocumentPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::DocumentProperties>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->RetrievePropertiesAsync(*(void**)(&propertiesToRetrieve), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> const& propertiesToSave) const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> const& propertiesToSave) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->SavePropertiesAsync(*(void**)(&propertiesToSave), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync() const
template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->SavePropertiesAsyncOverloadDefault(&operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalWidth() const
template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalWidth(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalHeight() const
template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalHeight(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::ReturnedSmallerCachedSize() const
template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::ReturnedSmallerCachedSize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_ReturnedSmallerCachedSize(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ThumbnailType) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::Type() const
template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::Type() const
{
winrt::Windows::Storage::FileProperties::ThumbnailType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Rating(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Rating(value));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Keywords() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Width() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Width(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Height() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Height(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Duration() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Duration() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Duration(put_abi(value)));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Latitude() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Latitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Latitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Longitude() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Longitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Longitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Title(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Subtitle(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Subtitle(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Producers() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Producers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Producers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Publisher(&value));
return hstring{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher(param::hstring const& value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Publisher(*(void**)(&value)));
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Writers() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Writers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Writers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Year(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year(uint32_t value) const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Year(value));
}
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Bitrate() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Bitrate(&value));
return value;
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Directors() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Directors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Directors(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoOrientation) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Orientation() const
template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Orientation() const
{
winrt::Windows::Storage::FileProperties::VideoOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Orientation(reinterpret_cast<int32_t*>(&value)));