Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Microsoft.UI.Xaml.Media.Imaging.2.h
T
2026-01-27 23:46:02 -08:00

219 lines
11 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT
// v2.0.250303.1
#pragma once
#ifndef WINRT_Microsoft_UI_Xaml_Media_Imaging_2_H
#define WINRT_Microsoft_UI_Xaml_Media_Imaging_2_H
#include "winrt/impl/Microsoft.UI.Xaml.1.h"
#include "winrt/impl/Microsoft.UI.Xaml.Media.1.h"
#include "winrt/impl/Microsoft.UI.Xaml.Media.Imaging.1.h"
#include "winrt/impl/Windows.ApplicationModel.Background.1.h"
#include "winrt/impl/Windows.Foundation.1.h"
WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Media::Imaging {
struct DownloadProgressEventHandler : winrt::Windows::Foundation::IUnknown {
DownloadProgressEventHandler(std::nullptr_t = nullptr) noexcept {}
DownloadProgressEventHandler(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
template <typename L>
DownloadProgressEventHandler(L lambda);
template <typename F>
DownloadProgressEventHandler(F* function);
template <typename O, typename M>
DownloadProgressEventHandler(O* object, M method);
template <typename O, typename M>
DownloadProgressEventHandler(com_ptr<O>&& object, M method);
template <typename O, typename LM>
DownloadProgressEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
template <typename O, typename M>
DownloadProgressEventHandler(std::shared_ptr<O>&& object, M method);
template <typename O, typename LM>
DownloadProgressEventHandler(std::weak_ptr<O>&& object,
LM&& lambda_or_method);
auto operator()(winrt::Windows::Foundation::IInspectable const& sender,
winrt::Microsoft::UI::Xaml::Media::Imaging::
DownloadProgressEventArgs const& e) const;
};
struct WINRT_IMPL_EMPTY_BASES BitmapImage
: winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapImage,
impl::base<BitmapImage,
winrt::Microsoft::UI::Xaml::Media::Imaging::BitmapSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<BitmapImage,
winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
BitmapImage(std::nullptr_t) noexcept {}
BitmapImage(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapImage(
ptr, take_ownership_from_abi) {}
BitmapImage();
explicit BitmapImage(winrt::Windows::Foundation::Uri const& uriSource);
[[nodiscard]] static auto CreateOptionsProperty();
[[nodiscard]] static auto UriSourceProperty();
[[nodiscard]] static auto DecodePixelWidthProperty();
[[nodiscard]] static auto DecodePixelHeightProperty();
[[nodiscard]] static auto DecodePixelTypeProperty();
[[nodiscard]] static auto IsAnimatedBitmapProperty();
[[nodiscard]] static auto IsPlayingProperty();
[[nodiscard]] static auto AutoPlayProperty();
};
struct WINRT_IMPL_EMPTY_BASES BitmapSource
: winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapSource,
impl::base<BitmapSource, winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<BitmapSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
BitmapSource(std::nullptr_t) noexcept {}
BitmapSource(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapSource(
ptr, take_ownership_from_abi) {}
[[nodiscard]] static auto PixelWidthProperty();
[[nodiscard]] static auto PixelHeightProperty();
};
struct WINRT_IMPL_EMPTY_BASES DownloadProgressEventArgs
: winrt::Microsoft::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs {
DownloadProgressEventArgs(std::nullptr_t) noexcept {}
DownloadProgressEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::
IDownloadProgressEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES RenderTargetBitmap
: winrt::Microsoft::UI::Xaml::Media::Imaging::IRenderTargetBitmap,
impl::base<RenderTargetBitmap,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<RenderTargetBitmap,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
RenderTargetBitmap(std::nullptr_t) noexcept {}
RenderTargetBitmap(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::IRenderTargetBitmap(
ptr, take_ownership_from_abi) {}
RenderTargetBitmap();
[[nodiscard]] static auto PixelWidthProperty();
[[nodiscard]] static auto PixelHeightProperty();
};
struct WINRT_IMPL_EMPTY_BASES SoftwareBitmapSource
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISoftwareBitmapSource,
impl::base<SoftwareBitmapSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<SoftwareBitmapSource,
winrt::Windows::Foundation::IClosable,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
SoftwareBitmapSource(std::nullptr_t) noexcept {}
SoftwareBitmapSource(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISoftwareBitmapSource(
ptr, take_ownership_from_abi) {}
SoftwareBitmapSource();
};
struct WINRT_IMPL_EMPTY_BASES SurfaceImageSource
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISurfaceImageSource,
impl::base<SurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<SurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
SurfaceImageSource(std::nullptr_t) noexcept {}
SurfaceImageSource(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISurfaceImageSource(
ptr, take_ownership_from_abi) {}
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight);
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque);
};
struct WINRT_IMPL_EMPTY_BASES SvgImageSource
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISvgImageSource,
impl::base<SvgImageSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<SvgImageSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
SvgImageSource(std::nullptr_t) noexcept {}
SvgImageSource(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::ISvgImageSource(
ptr, take_ownership_from_abi) {}
SvgImageSource();
explicit SvgImageSource(winrt::Windows::Foundation::Uri const& uriSource);
[[nodiscard]] static auto UriSourceProperty();
[[nodiscard]] static auto RasterizePixelWidthProperty();
[[nodiscard]] static auto RasterizePixelHeightProperty();
};
struct WINRT_IMPL_EMPTY_BASES SvgImageSourceFailedEventArgs
: winrt::Microsoft::UI::Xaml::Media::Imaging::
ISvgImageSourceFailedEventArgs {
SvgImageSourceFailedEventArgs(std::nullptr_t) noexcept {}
SvgImageSourceFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::
ISvgImageSourceFailedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES SvgImageSourceOpenedEventArgs
: winrt::Microsoft::UI::Xaml::Media::Imaging::
ISvgImageSourceOpenedEventArgs {
SvgImageSourceOpenedEventArgs(std::nullptr_t) noexcept {}
SvgImageSourceOpenedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::
ISvgImageSourceOpenedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES VirtualSurfaceImageSource
: winrt::Microsoft::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSource,
impl::base<
VirtualSurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::Imaging::SurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<
VirtualSurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::Imaging::ISurfaceImageSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
VirtualSurfaceImageSource(std::nullptr_t) noexcept {}
VirtualSurfaceImageSource(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::
IVirtualSurfaceImageSource(ptr, take_ownership_from_abi) {}
VirtualSurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight);
VirtualSurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight,
bool isOpaque);
};
struct WINRT_IMPL_EMPTY_BASES WriteableBitmap
: winrt::Microsoft::UI::Xaml::Media::Imaging::IWriteableBitmap,
impl::base<WriteableBitmap,
winrt::Microsoft::UI::Xaml::Media::Imaging::BitmapSource,
winrt::Microsoft::UI::Xaml::Media::ImageSource,
winrt::Microsoft::UI::Xaml::DependencyObject>,
impl::require<WriteableBitmap,
winrt::Microsoft::UI::Xaml::Media::Imaging::IBitmapSource,
winrt::Microsoft::UI::Xaml::Media::IImageSource,
winrt::Microsoft::UI::Xaml::IDependencyObject> {
WriteableBitmap(std::nullptr_t) noexcept {}
WriteableBitmap(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::IWriteableBitmap(
ptr, take_ownership_from_abi) {}
WriteableBitmap(int32_t pixelWidth, int32_t pixelHeight);
};
struct WINRT_IMPL_EMPTY_BASES XamlRenderingBackgroundTask
: winrt::Microsoft::UI::Xaml::Media::Imaging::
IXamlRenderingBackgroundTask {
XamlRenderingBackgroundTask(std::nullptr_t) noexcept {}
XamlRenderingBackgroundTask(void* ptr, take_ownership_from_abi_t) noexcept
: winrt::Microsoft::UI::Xaml::Media::Imaging::
IXamlRenderingBackgroundTask(ptr, take_ownership_from_abi) {}
};
template <typename D>
class IXamlRenderingBackgroundTaskOverridesT {
D& shim() noexcept { return *static_cast<D*>(this); }
D const& shim() const noexcept { return *static_cast<const D*>(this); }
public:
using IXamlRenderingBackgroundTaskOverrides = winrt::Microsoft::UI::Xaml::
Media::Imaging::IXamlRenderingBackgroundTaskOverrides;
auto OnRun(winrt::Windows::ApplicationModel::Background::
IBackgroundTaskInstance const& taskInstance) const;
};
}
#endif