format 4.0
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
namespace Microsoft.Windows.Media.Capture

delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFile> concrete
    py winrt.windows.foundation.AsyncOperationCompletedHandler[StorageFile]
    guid e521c894-2c26-5946-9e61-2b5e188d01ed
    signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea}))
    base Windows.Foundation.AsyncOperationCompletedHandler
    argument Windows.Storage.StorageFile
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in parameterized type=Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> name=asyncInfo
            in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus

class Microsoft.Windows.Media.Capture.CameraCaptureUI python_type
    py CameraCaptureUI
    signature rc(Microsoft.Windows.Media.Capture.CameraCaptureUI;{c001d024-c617-5742-9ae1-8fd31be07f6c})
    default Microsoft.Windows.Media.Capture.ICameraCaptureUI
    requires Microsoft.Windows.Media.Capture.ICameraCaptureUI
    factory Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory
    constructor -
        ctor .ctor slot=6 inputs=1 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory shape=97
            in struct type=Microsoft.UI.WindowId name=windowId
            out class type=Microsoft.Windows.Media.Capture.CameraCaptureUI return
    property photo_settings
        get get_PhotoSettings slot=6 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUI shape=4
            out class type=Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings return
    property video_settings
        get get_VideoSettings slot=7 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUI shape=4
            out class type=Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings return
    method capture_file_async
        method CaptureFileAsync slot=8 inputs=1 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUI shape=51
            in enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIMode name=mode
            out parameterized type=Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> return

enum Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution python_type
    py CameraCaptureUIMaxPhotoResolution
    signature enum(Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution;i4)
    constant HIGHEST_AVAILABLE 0
    constant VERY_SMALL_QVGA 1
    constant SMALL_VGA 2
    constant MEDIUM_XGA 3
    constant LARGE3_M 4
    constant VERY_LARGE5_M 5

enum Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution python_type
    py CameraCaptureUIMaxVideoResolution
    signature enum(Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution;i4)
    constant HIGHEST_AVAILABLE 0
    constant LOW_DEFINITION 1
    constant STANDARD_DEFINITION 2
    constant HIGH_DEFINITION 3

enum Microsoft.Windows.Media.Capture.CameraCaptureUIMode python_type
    py CameraCaptureUIMode
    signature enum(Microsoft.Windows.Media.Capture.CameraCaptureUIMode;i4)
    constant PHOTO_OR_VIDEO 0
    constant PHOTO 1
    constant VIDEO 2

class Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings activatable python_type
    py CameraCaptureUIPhotoCaptureSettings
    signature rc(Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings;{19fe2155-d018-53fc-bbdc-5781a94687a0})
    default Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings
    requires Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings
    constructor -
        ctor .ctor slot=6 inputs=0 outputs=1 shape=4
            out object return
    property max_resolution
        get get_MaxResolution slot=14 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            out enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution return
        put put_MaxResolution slot=15 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            in enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution name=value
    property format
        get get_Format slot=12 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            out enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat return
        put put_Format slot=13 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            in enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat name=value
    property cropped_size_in_pixels
        get get_CroppedSizeInPixels slot=10 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            out struct type=Windows.Foundation.Size return
        put put_CroppedSizeInPixels slot=11 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=10
            in struct type=Windows.Foundation.Size name=value
    property cropped_aspect_ratio
        get get_CroppedAspectRatio slot=8 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            out struct type=Windows.Foundation.Size return
        put put_CroppedAspectRatio slot=9 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=10
            in struct type=Windows.Foundation.Size name=value
    property allow_cropping
        get get_AllowCropping slot=6 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            out boolean return
        put put_AllowCropping slot=7 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings shape=4
            in boolean name=value

enum Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat python_type
    py CameraCaptureUIPhotoFormat
    signature enum(Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat;i4)
    constant JPEG 0
    constant PNG 1
    constant JPEG_X_R 2

class Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings activatable python_type
    py CameraCaptureUIVideoCaptureSettings
    signature rc(Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings;{47dd74f6-83b7-5123-bbdf-d757201d1ee8})
    default Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings
    requires Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings
    constructor -
        ctor .ctor slot=6 inputs=0 outputs=1 shape=4
            out object return
    property max_resolution
        get get_MaxResolution slot=12 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            out enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution return
        put put_MaxResolution slot=13 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            in enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution name=value
    property max_duration_in_seconds
        get get_MaxDurationInSeconds slot=10 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            out single return
        put put_MaxDurationInSeconds slot=11 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=1
            in single name=value
    property format
        get get_Format slot=8 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            out enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat return
        put put_Format slot=9 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            in enum32 type=Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat name=value
    property allow_trimming
        get get_AllowTrimming slot=6 inputs=0 outputs=1 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            out boolean return
        put put_AllowTrimming slot=7 inputs=1 outputs=0 declaring=Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings shape=4
            in boolean name=value

enum Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat python_type
    py CameraCaptureUIVideoFormat
    signature enum(Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat;i4)
    constant MP4 0
    constant WMV 1

interface Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> concrete awaitable
    py winrt.windows.foundation._IAsyncOperation[StorageFile]
    guid 5e52f8ce-aced-5a42-95b4-f674dd84885e
    signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea}))
    base Windows.Foundation.IAsyncOperation
    requires Windows.Foundation.IAsyncInfo
    argument Windows.Storage.StorageFile
    property completed
        get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> shape=4 reverse=43 role=completed
            out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFile> return
        put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> shape=4 reverse=22
            in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.StorageFile> name=handler
    property error_code
        get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
            out hresult type=Windows.Foundation.HResult return
    property id
        get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
            out uint32 return
    property status
        get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
            out enum32 type=Windows.Foundation.AsyncStatus return
    method cancel
        method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
    method close
        method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
    method get_results
        method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> shape=4 reverse=62 role=get_results
            out class type=Windows.Storage.StorageFile return

interface Microsoft.Windows.Media.Capture.ICameraCaptureUI
    guid c001d024-c617-5742-9ae1-8fd31be07f6c

interface Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory
    guid 2b49623d-5f22-5fee-991f-14f24592a3c2

interface Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings
    guid 19fe2155-d018-53fc-bbdc-5781a94687a0

interface Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings
    guid 47dd74f6-83b7-5123-bbdf-d757201d1ee8

struct Microsoft.UI.WindowId external
    py winrt.microsoft.ui.WindowId

delegate Windows.Foundation.AsyncOperationCompletedHandler external parameterized
    py winrt.windows.foundation.AsyncOperationCompletedHandler
    guid fcdcf02c-e5d8-4478-915a-4d90b74b83a5

enum Windows.Foundation.AsyncStatus external
    py winrt.windows.foundation.AsyncStatus

struct Windows.Foundation.HResult external
    py winrt.windows.foundation.HResult

interface Windows.Foundation.IAsyncInfo external
    py winrt.windows.foundation._IAsyncInfo
    guid 00000036-0000-0000-c000-000000000046

interface Windows.Foundation.IAsyncOperation external parameterized
    py winrt.windows.foundation._IAsyncOperation
    guid 9fc2b0bb-e446-44e2-aa61-9cab8f636af2

struct Windows.Foundation.Size external
    py winrt.windows.foundation.Size

class Windows.Storage.StorageFile external
    py winrt.windows.storage.StorageFile
