mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
91 lines
5.1 KiB
C++
91 lines
5.1 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Devices_Printers_0_H
|
|
#define WINRT_Windows_Devices_Printers_0_H
|
|
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
|
|
{
|
|
struct IRandomAccessStreamWithContentType;
|
|
}
|
|
WINRT_EXPORT namespace winrt::Windows::Devices::Printers
|
|
{
|
|
struct IPrint3DDevice;
|
|
struct IPrint3DDeviceStatics;
|
|
struct IPrintSchema;
|
|
struct Print3DDevice;
|
|
struct PrintSchema;
|
|
}
|
|
namespace winrt::impl
|
|
{
|
|
template <> struct category<winrt::Windows::Devices::Printers::IPrint3DDevice>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Devices::Printers::IPrintSchema>{ using type = interface_category; };
|
|
template <> struct category<winrt::Windows::Devices::Printers::Print3DDevice>{ using type = class_category; };
|
|
template <> struct category<winrt::Windows::Devices::Printers::PrintSchema>{ using type = class_category; };
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Printers::Print3DDevice> = L"Windows.Devices.Printers.Print3DDevice";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Printers::PrintSchema> = L"Windows.Devices.Printers.PrintSchema";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Printers::IPrint3DDevice> = L"Windows.Devices.Printers.IPrint3DDevice";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics> = L"Windows.Devices.Printers.IPrint3DDeviceStatics";
|
|
template <> inline constexpr auto& name_v<winrt::Windows::Devices::Printers::IPrintSchema> = L"Windows.Devices.Printers.IPrintSchema";
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Printers::IPrint3DDevice>{ 0x041C3D19,0x9713,0x42A2,{ 0x98,0x13,0x7D,0xC3,0x33,0x74,0x28,0xD3 } }; // 041C3D19-9713-42A2-9813-7DC3337428D3
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics>{ 0xFDE3620A,0x67CD,0x41B7,{ 0xA3,0x44,0x51,0x50,0xA1,0xFD,0x75,0xB5 } }; // FDE3620A-67CD-41B7-A344-5150A1FD75B5
|
|
template <> inline constexpr guid guid_v<winrt::Windows::Devices::Printers::IPrintSchema>{ 0xC2B98316,0x26B8,0x4BFB,{ 0x81,0x38,0x9F,0x96,0x2C,0x22,0xA3,0x5B } }; // C2B98316-26B8-4BFB-8138-9F962C22A35B
|
|
template <> struct default_interface<winrt::Windows::Devices::Printers::Print3DDevice>{ using type = winrt::Windows::Devices::Printers::IPrint3DDevice; };
|
|
template <> struct default_interface<winrt::Windows::Devices::Printers::PrintSchema>{ using type = winrt::Windows::Devices::Printers::IPrintSchema; };
|
|
template <> struct abi<winrt::Windows::Devices::Printers::IPrint3DDevice>
|
|
{
|
|
struct __declspec(novtable) type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall get_PrintSchema(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics>
|
|
{
|
|
struct __declspec(novtable) type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall FromIdAsync(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall GetDeviceSelector(void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <> struct abi<winrt::Windows::Devices::Printers::IPrintSchema>
|
|
{
|
|
struct __declspec(novtable) type : inspectable_abi
|
|
{
|
|
virtual int32_t __stdcall GetDefaultPrintTicketAsync(void**) noexcept = 0;
|
|
virtual int32_t __stdcall GetCapabilitiesAsync(void*, void**) noexcept = 0;
|
|
virtual int32_t __stdcall MergeAndValidateWithDefaultPrintTicketAsync(void*, void**) noexcept = 0;
|
|
};
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Devices_Printers_IPrint3DDevice
|
|
{
|
|
[[nodiscard]] auto PrintSchema() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Devices::Printers::IPrint3DDevice>
|
|
{
|
|
template <typename D> using type = consume_Windows_Devices_Printers_IPrint3DDevice<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Devices_Printers_IPrint3DDeviceStatics
|
|
{
|
|
auto FromIdAsync(param::hstring const& deviceId) const;
|
|
auto GetDeviceSelector() const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics>
|
|
{
|
|
template <typename D> using type = consume_Windows_Devices_Printers_IPrint3DDeviceStatics<D>;
|
|
};
|
|
template <typename D>
|
|
struct consume_Windows_Devices_Printers_IPrintSchema
|
|
{
|
|
auto GetDefaultPrintTicketAsync() const;
|
|
auto GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const;
|
|
auto MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const;
|
|
};
|
|
template <> struct consume<winrt::Windows::Devices::Printers::IPrintSchema>
|
|
{
|
|
template <typename D> using type = consume_Windows_Devices_Printers_IPrintSchema<D>;
|
|
};
|
|
}
|
|
#endif
|