mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
462 lines
35 KiB
C++
462 lines
35 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Media_Capture_2_H
|
|
#define WINRT_Windows_Media_Capture_2_H
|
|
#include "winrt/impl/Windows.Foundation.1.h"
|
|
#include "winrt/impl/Windows.Storage.Streams.1.h"
|
|
#include "winrt/impl/Windows.System.1.h"
|
|
#include "winrt/impl/Windows.Media.Capture.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::Media::Capture
|
|
{
|
|
struct MediaCaptureFailedEventHandler : winrt::Windows::Foundation::IUnknown
|
|
{
|
|
MediaCaptureFailedEventHandler(std::nullptr_t = nullptr) noexcept {}
|
|
MediaCaptureFailedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
|
|
template <typename L> MediaCaptureFailedEventHandler(L lambda);
|
|
template <typename F> MediaCaptureFailedEventHandler(F* function);
|
|
template <typename O, typename M> MediaCaptureFailedEventHandler(O* object, M method);
|
|
template <typename O, typename M> MediaCaptureFailedEventHandler(com_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> MediaCaptureFailedEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
|
template <typename O, typename M> MediaCaptureFailedEventHandler(std::shared_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> MediaCaptureFailedEventHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
|
auto operator()(winrt::Windows::Media::Capture::MediaCapture const& sender, winrt::Windows::Media::Capture::MediaCaptureFailedEventArgs const& errorEventArgs) const;
|
|
};
|
|
struct RecordLimitationExceededEventHandler : winrt::Windows::Foundation::IUnknown
|
|
{
|
|
RecordLimitationExceededEventHandler(std::nullptr_t = nullptr) noexcept {}
|
|
RecordLimitationExceededEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
|
|
template <typename L> RecordLimitationExceededEventHandler(L lambda);
|
|
template <typename F> RecordLimitationExceededEventHandler(F* function);
|
|
template <typename O, typename M> RecordLimitationExceededEventHandler(O* object, M method);
|
|
template <typename O, typename M> RecordLimitationExceededEventHandler(com_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> RecordLimitationExceededEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
|
template <typename O, typename M> RecordLimitationExceededEventHandler(std::shared_ptr<O>&& object, M method);
|
|
template <typename O, typename LM> RecordLimitationExceededEventHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
|
auto operator()(winrt::Windows::Media::Capture::MediaCapture const& sender) const;
|
|
};
|
|
struct WhiteBalanceGain
|
|
{
|
|
double R {};
|
|
double G {};
|
|
double B {};
|
|
};
|
|
inline bool operator==(WhiteBalanceGain const& left, WhiteBalanceGain const& right) noexcept
|
|
{
|
|
return left.R == right.R && left.G == right.G && left.B == right.B;
|
|
}
|
|
inline bool operator!=(WhiteBalanceGain const& left, WhiteBalanceGain const& right) noexcept
|
|
{
|
|
return !(left == right);
|
|
}
|
|
struct WINRT_IMPL_EMPTY_BASES AdvancedCapturedPhoto : winrt::Windows::Media::Capture::IAdvancedCapturedPhoto,
|
|
impl::require<AdvancedCapturedPhoto, winrt::Windows::Media::Capture::IAdvancedCapturedPhoto2>
|
|
{
|
|
AdvancedCapturedPhoto(std::nullptr_t) noexcept {}
|
|
AdvancedCapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAdvancedCapturedPhoto(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AdvancedPhotoCapture : winrt::Windows::Media::Capture::IAdvancedPhotoCapture
|
|
{
|
|
AdvancedPhotoCapture(std::nullptr_t) noexcept {}
|
|
AdvancedPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAdvancedPhotoCapture(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundService : winrt::Windows::Media::Capture::IAppBroadcastBackgroundService,
|
|
impl::require<AppBroadcastBackgroundService, winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>
|
|
{
|
|
AppBroadcastBackgroundService(std::nullptr_t) noexcept {}
|
|
AppBroadcastBackgroundService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundService(ptr, take_ownership_from_abi) {}
|
|
using winrt::Windows::Media::Capture::IAppBroadcastBackgroundService::BroadcastTitle;
|
|
using impl::consume_t<AppBroadcastBackgroundService, winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>::BroadcastTitle;
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundServiceSignInInfo : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo,
|
|
impl::require<AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2>
|
|
{
|
|
AppBroadcastBackgroundServiceSignInInfo(std::nullptr_t) noexcept {}
|
|
AppBroadcastBackgroundServiceSignInInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastBackgroundServiceStreamInfo : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo,
|
|
impl::require<AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo2>
|
|
{
|
|
AppBroadcastBackgroundServiceStreamInfo(std::nullptr_t) noexcept {}
|
|
AppBroadcastBackgroundServiceStreamInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastCameraCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs
|
|
{
|
|
AppBroadcastCameraCaptureStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastCameraCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastGlobalSettings : winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings
|
|
{
|
|
AppBroadcastGlobalSettings(std::nullptr_t) noexcept {}
|
|
AppBroadcastGlobalSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastHeartbeatRequestedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs
|
|
{
|
|
AppBroadcastHeartbeatRequestedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastHeartbeatRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct AppBroadcastManager
|
|
{
|
|
AppBroadcastManager() = delete;
|
|
static auto GetGlobalSettings();
|
|
static auto ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value);
|
|
static auto GetProviderSettings();
|
|
static auto ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastMicrophoneCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs
|
|
{
|
|
AppBroadcastMicrophoneCaptureStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugIn : winrt::Windows::Media::Capture::IAppBroadcastPlugIn
|
|
{
|
|
AppBroadcastPlugIn(std::nullptr_t) noexcept {}
|
|
AppBroadcastPlugIn(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugIn(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugInManager : winrt::Windows::Media::Capture::IAppBroadcastPlugInManager
|
|
{
|
|
AppBroadcastPlugInManager(std::nullptr_t) noexcept {}
|
|
AppBroadcastPlugInManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugInManager(ptr, take_ownership_from_abi) {}
|
|
static auto GetDefault();
|
|
static auto GetForUser(winrt::Windows::System::User const& user);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPlugInStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs
|
|
{
|
|
AppBroadcastPlugInStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastPlugInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreview : winrt::Windows::Media::Capture::IAppBroadcastPreview
|
|
{
|
|
AppBroadcastPreview(std::nullptr_t) noexcept {}
|
|
AppBroadcastPreview(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreview(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs
|
|
{
|
|
AppBroadcastPreviewStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastPreviewStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamReader : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader
|
|
{
|
|
AppBroadcastPreviewStreamReader(std::nullptr_t) noexcept {}
|
|
AppBroadcastPreviewStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamVideoFrame : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame
|
|
{
|
|
AppBroadcastPreviewStreamVideoFrame(std::nullptr_t) noexcept {}
|
|
AppBroadcastPreviewStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastPreviewStreamVideoHeader : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader
|
|
{
|
|
AppBroadcastPreviewStreamVideoHeader(std::nullptr_t) noexcept {}
|
|
AppBroadcastPreviewStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastProviderSettings : winrt::Windows::Media::Capture::IAppBroadcastProviderSettings
|
|
{
|
|
AppBroadcastProviderSettings(std::nullptr_t) noexcept {}
|
|
AppBroadcastProviderSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastProviderSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastServices : winrt::Windows::Media::Capture::IAppBroadcastServices
|
|
{
|
|
AppBroadcastServices(std::nullptr_t) noexcept {}
|
|
AppBroadcastServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastServices(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastSignInStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs
|
|
{
|
|
AppBroadcastSignInStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastSignInStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastState : winrt::Windows::Media::Capture::IAppBroadcastState
|
|
{
|
|
AppBroadcastState(std::nullptr_t) noexcept {}
|
|
AppBroadcastState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastState(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamAudioFrame : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame
|
|
{
|
|
AppBroadcastStreamAudioFrame(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamAudioFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamAudioHeader : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader
|
|
{
|
|
AppBroadcastStreamAudioHeader(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamAudioHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamReader : winrt::Windows::Media::Capture::IAppBroadcastStreamReader
|
|
{
|
|
AppBroadcastStreamReader(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamReader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamReader(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamStateChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs
|
|
{
|
|
AppBroadcastStreamStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamVideoFrame : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame
|
|
{
|
|
AppBroadcastStreamVideoFrame(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamVideoFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastStreamVideoHeader : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader
|
|
{
|
|
AppBroadcastStreamVideoHeader(std::nullptr_t) noexcept {}
|
|
AppBroadcastStreamVideoHeader(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastTriggerDetails : winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails
|
|
{
|
|
AppBroadcastTriggerDetails(std::nullptr_t) noexcept {}
|
|
AppBroadcastTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppBroadcastViewerCountChangedEventArgs : winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs
|
|
{
|
|
AppBroadcastViewerCountChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppBroadcastViewerCountChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCapture : winrt::Windows::Media::Capture::IAppCapture
|
|
{
|
|
AppCapture(std::nullptr_t) noexcept {}
|
|
AppCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCapture(ptr, take_ownership_from_abi) {}
|
|
static auto GetForCurrentView();
|
|
static auto SetAllowedAsync(bool allowed);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureAlternateShortcutKeys : winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys,
|
|
impl::require<AppCaptureAlternateShortcutKeys, winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2, winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3>
|
|
{
|
|
AppCaptureAlternateShortcutKeys(std::nullptr_t) noexcept {}
|
|
AppCaptureAlternateShortcutKeys(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureDurationGeneratedEventArgs : winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs
|
|
{
|
|
AppCaptureDurationGeneratedEventArgs(std::nullptr_t) noexcept {}
|
|
AppCaptureDurationGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureFileGeneratedEventArgs : winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs
|
|
{
|
|
AppCaptureFileGeneratedEventArgs(std::nullptr_t) noexcept {}
|
|
AppCaptureFileGeneratedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct AppCaptureManager
|
|
{
|
|
AppCaptureManager() = delete;
|
|
static auto GetCurrentSettings();
|
|
static auto ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureMetadataWriter : winrt::Windows::Media::Capture::IAppCaptureMetadataWriter,
|
|
impl::require<AppCaptureMetadataWriter, winrt::Windows::Foundation::IClosable>
|
|
{
|
|
AppCaptureMetadataWriter(std::nullptr_t) noexcept {}
|
|
AppCaptureMetadataWriter(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureMetadataWriter(ptr, take_ownership_from_abi) {}
|
|
AppCaptureMetadataWriter();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureMicrophoneCaptureStateChangedEventArgs : winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs
|
|
{
|
|
AppCaptureMicrophoneCaptureStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppCaptureMicrophoneCaptureStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureRecordOperation : winrt::Windows::Media::Capture::IAppCaptureRecordOperation
|
|
{
|
|
AppCaptureRecordOperation(std::nullptr_t) noexcept {}
|
|
AppCaptureRecordOperation(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureRecordOperation(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureRecordingStateChangedEventArgs : winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs
|
|
{
|
|
AppCaptureRecordingStateChangedEventArgs(std::nullptr_t) noexcept {}
|
|
AppCaptureRecordingStateChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureServices : winrt::Windows::Media::Capture::IAppCaptureServices
|
|
{
|
|
AppCaptureServices(std::nullptr_t) noexcept {}
|
|
AppCaptureServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureServices(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureSettings : winrt::Windows::Media::Capture::IAppCaptureSettings,
|
|
impl::require<AppCaptureSettings, winrt::Windows::Media::Capture::IAppCaptureSettings2, winrt::Windows::Media::Capture::IAppCaptureSettings3, winrt::Windows::Media::Capture::IAppCaptureSettings4, winrt::Windows::Media::Capture::IAppCaptureSettings5>
|
|
{
|
|
AppCaptureSettings(std::nullptr_t) noexcept {}
|
|
AppCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES AppCaptureState : winrt::Windows::Media::Capture::IAppCaptureState
|
|
{
|
|
AppCaptureState(std::nullptr_t) noexcept {}
|
|
AppCaptureState(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IAppCaptureState(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CameraCaptureUI : winrt::Windows::Media::Capture::ICameraCaptureUI
|
|
{
|
|
CameraCaptureUI(std::nullptr_t) noexcept {}
|
|
CameraCaptureUI(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUI(ptr, take_ownership_from_abi) {}
|
|
CameraCaptureUI();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CameraCaptureUIPhotoCaptureSettings : winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings
|
|
{
|
|
CameraCaptureUIPhotoCaptureSettings(std::nullptr_t) noexcept {}
|
|
CameraCaptureUIPhotoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CameraCaptureUIVideoCaptureSettings : winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings
|
|
{
|
|
CameraCaptureUIVideoCaptureSettings(std::nullptr_t) noexcept {}
|
|
CameraCaptureUIVideoCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct CameraOptionsUI
|
|
{
|
|
CameraOptionsUI() = delete;
|
|
static auto Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CapturedFrame : winrt::Windows::Media::Capture::ICapturedFrame,
|
|
impl::require<CapturedFrame, winrt::Windows::Media::Capture::ICapturedFrameWithSoftwareBitmap, winrt::Windows::Media::Capture::ICapturedFrame2>
|
|
{
|
|
CapturedFrame(std::nullptr_t) noexcept {}
|
|
CapturedFrame(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedFrame(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CapturedFrameControlValues : winrt::Windows::Media::Capture::ICapturedFrameControlValues,
|
|
impl::require<CapturedFrameControlValues, winrt::Windows::Media::Capture::ICapturedFrameControlValues2>
|
|
{
|
|
CapturedFrameControlValues(std::nullptr_t) noexcept {}
|
|
CapturedFrameControlValues(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedFrameControlValues(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CapturedPhoto : winrt::Windows::Media::Capture::ICapturedPhoto
|
|
{
|
|
CapturedPhoto(std::nullptr_t) noexcept {}
|
|
CapturedPhoto(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ICapturedPhoto(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES GameBarServices : winrt::Windows::Media::Capture::IGameBarServices
|
|
{
|
|
GameBarServices(std::nullptr_t) noexcept {}
|
|
GameBarServices(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServices(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES GameBarServicesCommandEventArgs : winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs
|
|
{
|
|
GameBarServicesCommandEventArgs(std::nullptr_t) noexcept {}
|
|
GameBarServicesCommandEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES GameBarServicesManager : winrt::Windows::Media::Capture::IGameBarServicesManager
|
|
{
|
|
GameBarServicesManager(std::nullptr_t) noexcept {}
|
|
GameBarServicesManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesManager(ptr, take_ownership_from_abi) {}
|
|
static auto GetDefault();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES GameBarServicesManagerGameBarServicesCreatedEventArgs : winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs
|
|
{
|
|
GameBarServicesManagerGameBarServicesCreatedEventArgs(std::nullptr_t) noexcept {}
|
|
GameBarServicesManagerGameBarServicesCreatedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES GameBarServicesTargetInfo : winrt::Windows::Media::Capture::IGameBarServicesTargetInfo
|
|
{
|
|
GameBarServicesTargetInfo(std::nullptr_t) noexcept {}
|
|
GameBarServicesTargetInfo(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IGameBarServicesTargetInfo(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES LowLagMediaRecording : winrt::Windows::Media::Capture::ILowLagMediaRecording,
|
|
impl::require<LowLagMediaRecording, winrt::Windows::Media::Capture::ILowLagMediaRecording2, winrt::Windows::Media::Capture::ILowLagMediaRecording3>
|
|
{
|
|
LowLagMediaRecording(std::nullptr_t) noexcept {}
|
|
LowLagMediaRecording(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagMediaRecording(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES LowLagPhotoCapture : winrt::Windows::Media::Capture::ILowLagPhotoCapture
|
|
{
|
|
LowLagPhotoCapture(std::nullptr_t) noexcept {}
|
|
LowLagPhotoCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagPhotoCapture(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES LowLagPhotoSequenceCapture : winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture
|
|
{
|
|
LowLagPhotoSequenceCapture(std::nullptr_t) noexcept {}
|
|
LowLagPhotoSequenceCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCapture : winrt::Windows::Media::Capture::IMediaCapture,
|
|
impl::require<MediaCapture, winrt::Windows::Media::Capture::IMediaCaptureVideoPreview, winrt::Windows::Media::Capture::IMediaCapture2, winrt::Windows::Foundation::IClosable, winrt::Windows::Media::Capture::IMediaCapture3, winrt::Windows::Media::Capture::IMediaCapture4, winrt::Windows::Media::Capture::IMediaCapture5, winrt::Windows::Media::Capture::IMediaCapture6, winrt::Windows::Media::Capture::IMediaCapture7>
|
|
{
|
|
MediaCapture(std::nullptr_t) noexcept {}
|
|
MediaCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCapture(ptr, take_ownership_from_abi) {}
|
|
MediaCapture();
|
|
static auto IsVideoProfileSupported(param::hstring const& videoDeviceId);
|
|
static auto FindAllVideoProfiles(param::hstring const& videoDeviceId);
|
|
static auto FindConcurrentProfiles(param::hstring const& videoDeviceId);
|
|
static auto FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureDeviceExclusiveControlStatusChangedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs
|
|
{
|
|
MediaCaptureDeviceExclusiveControlStatusChangedEventArgs(std::nullptr_t) noexcept {}
|
|
MediaCaptureDeviceExclusiveControlStatusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureFailedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs
|
|
{
|
|
MediaCaptureFailedEventArgs(std::nullptr_t) noexcept {}
|
|
MediaCaptureFailedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureFocusChangedEventArgs : winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs
|
|
{
|
|
MediaCaptureFocusChangedEventArgs(std::nullptr_t) noexcept {}
|
|
MediaCaptureFocusChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureInitializationSettings : winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings,
|
|
impl::require<MediaCaptureInitializationSettings, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6, winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7>
|
|
{
|
|
MediaCaptureInitializationSettings(std::nullptr_t) noexcept {}
|
|
MediaCaptureInitializationSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings(ptr, take_ownership_from_abi) {}
|
|
MediaCaptureInitializationSettings();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCapturePauseResult : winrt::Windows::Media::Capture::IMediaCapturePauseResult,
|
|
impl::require<MediaCapturePauseResult, winrt::Windows::Foundation::IClosable>
|
|
{
|
|
MediaCapturePauseResult(std::nullptr_t) noexcept {}
|
|
MediaCapturePauseResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCapturePauseResult(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureRelativePanelWatcher : winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher,
|
|
impl::require<MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IClosable>
|
|
{
|
|
MediaCaptureRelativePanelWatcher(std::nullptr_t) noexcept {}
|
|
MediaCaptureRelativePanelWatcher(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureSettings : winrt::Windows::Media::Capture::IMediaCaptureSettings,
|
|
impl::require<MediaCaptureSettings, winrt::Windows::Media::Capture::IMediaCaptureSettings2, winrt::Windows::Media::Capture::IMediaCaptureSettings3>
|
|
{
|
|
MediaCaptureSettings(std::nullptr_t) noexcept {}
|
|
MediaCaptureSettings(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureSettings(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureStopResult : winrt::Windows::Media::Capture::IMediaCaptureStopResult,
|
|
impl::require<MediaCaptureStopResult, winrt::Windows::Foundation::IClosable>
|
|
{
|
|
MediaCaptureStopResult(std::nullptr_t) noexcept {}
|
|
MediaCaptureStopResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureStopResult(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureVideoProfile : winrt::Windows::Media::Capture::IMediaCaptureVideoProfile,
|
|
impl::require<MediaCaptureVideoProfile, winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2>
|
|
{
|
|
MediaCaptureVideoProfile(std::nullptr_t) noexcept {}
|
|
MediaCaptureVideoProfile(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureVideoProfile(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES MediaCaptureVideoProfileMediaDescription : winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription,
|
|
impl::require<MediaCaptureVideoProfileMediaDescription, winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription2>
|
|
{
|
|
MediaCaptureVideoProfileMediaDescription(std::nullptr_t) noexcept {}
|
|
MediaCaptureVideoProfileMediaDescription(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES OptionalReferencePhotoCapturedEventArgs : winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs
|
|
{
|
|
OptionalReferencePhotoCapturedEventArgs(std::nullptr_t) noexcept {}
|
|
OptionalReferencePhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES PhotoCapturedEventArgs : winrt::Windows::Media::Capture::IPhotoCapturedEventArgs
|
|
{
|
|
PhotoCapturedEventArgs(std::nullptr_t) noexcept {}
|
|
PhotoCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IPhotoCapturedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES PhotoConfirmationCapturedEventArgs : winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs
|
|
{
|
|
PhotoConfirmationCapturedEventArgs(std::nullptr_t) noexcept {}
|
|
PhotoConfirmationCapturedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES ScreenCapture : winrt::Windows::Media::Capture::IScreenCapture
|
|
{
|
|
ScreenCapture(std::nullptr_t) noexcept {}
|
|
ScreenCapture(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IScreenCapture(ptr, take_ownership_from_abi) {}
|
|
static auto GetForCurrentView();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES SourceSuspensionChangedEventArgs : winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs
|
|
{
|
|
SourceSuspensionChangedEventArgs(std::nullptr_t) noexcept {}
|
|
SourceSuspensionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES VideoStreamConfiguration : winrt::Windows::Media::Capture::IVideoStreamConfiguration
|
|
{
|
|
VideoStreamConfiguration(std::nullptr_t) noexcept {}
|
|
VideoStreamConfiguration(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Media::Capture::IVideoStreamConfiguration(ptr, take_ownership_from_abi) {}
|
|
};
|
|
}
|
|
#endif
|