format 4.0
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
namespace Windows.System.Update

delegate Windows.Foundation.AsyncOperationCompletedHandler<System.Boolean> concrete
    py winrt.windows.foundation.AsyncOperationCompletedHandler[Boolean]
    guid c1d3d1a2-ae17-5a5f-b5a2-bdcc8844889a
    signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};b1)
    base Windows.Foundation.AsyncOperationCompletedHandler
    argument System.Boolean
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in parameterized type=Windows.Foundation.IAsyncOperation<System.Boolean> name=asyncInfo
            in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus

delegate Windows.Foundation.EventHandler<System.Object> concrete
    py winrt.windows.foundation.EventHandler[Object]
    guid c50898f6-c536-5f47-8583-8b2c2438a13b
    signature pinterface({9de1c535-6ae1-11e0-84e1-18a905bcc53f};cinterface(IInspectable))
    base Windows.Foundation.EventHandler
    argument System.Object
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in object name=sender
            in object name=args

interface Windows.Foundation.IAsyncOperation<System.Boolean> concrete awaitable
    py winrt.windows.foundation._IAsyncOperation[Boolean]
    guid cdb5efb3-5788-509d-9be1-71ccb8a3362a
    signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};b1)
    base Windows.Foundation.IAsyncOperation
    requires Windows.Foundation.IAsyncInfo
    argument System.Boolean
    property completed
        get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<System.Boolean> shape=4 reverse=43 role=completed
            out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<System.Boolean> return
        put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<System.Boolean> shape=4 reverse=22
            in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<System.Boolean> 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<System.Boolean> shape=4 reverse=62 role=get_results
            out boolean return

interface Windows.Foundation.Collections.IIterable<System.String> concrete iterable
    py winrt.windows.foundation.collections._IIterable[String]
    guid e2fcc7c1-3bfc-5a0b-b2b0-72e769d1cb7e
    signature pinterface({faa585ea-6214-4217-afda-7f46de5869b3};string)
    base Windows.Foundation.Collections.IIterable
    argument System.String
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.String> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<System.String> return

interface Windows.Foundation.Collections.IIterable<Windows.System.Update.SystemUpdateItem> concrete iterable
    py winrt.windows.foundation.collections._IIterable[SystemUpdateItem]
    guid 318a3078-918c-5521-b460-0b4210360aa1
    signature pinterface({faa585ea-6214-4217-afda-7f46de5869b3};rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7}))
    base Windows.Foundation.Collections.IIterable
    argument Windows.System.Update.SystemUpdateItem
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<Windows.System.Update.SystemUpdateItem> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> return

interface Windows.Foundation.Collections.IIterator<System.String> concrete iterable iterator
    py winrt.windows.foundation.collections._IIterator[String]
    guid 8c304ebb-6615-50a4-8829-879ecd443236
    signature pinterface({6a79e863-4300-459a-9966-cbb660963ee1};string)
    base Windows.Foundation.Collections.IIterator
    argument System.String
    property current
        get get_Current slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=22 role=current
            out string return
    property has_current
        get get_HasCurrent slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=43 role=has_current
            out boolean return
    method get_many
        method GetMany slot=9 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=117 reverse=101 role=get_many
            fill_array string name=items
            out uint32 return
    method move_next
        method MoveNext slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.String> shape=4 reverse=62 role=move_next
            out boolean return

interface Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> concrete iterable iterator
    py winrt.windows.foundation.collections._IIterator[SystemUpdateItem]
    guid f4ae5176-c068-542f-81b4-8900f72bd742
    signature pinterface({6a79e863-4300-459a-9966-cbb660963ee1};rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7}))
    base Windows.Foundation.Collections.IIterator
    argument Windows.System.Update.SystemUpdateItem
    property current
        get get_Current slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> shape=4 reverse=22 role=current
            out class type=Windows.System.Update.SystemUpdateItem return
    property has_current
        get get_HasCurrent slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> shape=4 reverse=43 role=has_current
            out boolean return
    method get_many
        method GetMany slot=9 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> shape=117 reverse=101 role=get_many
            fill_array class type=Windows.System.Update.SystemUpdateItem name=items
            out uint32 return
    method move_next
        method MoveNext slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> shape=4 reverse=62 role=move_next
            out boolean return

interface Windows.System.Update.ISystemUpdateItem
    guid 779740eb-5624-519e-a8e2-09e9173b3fb7

interface Windows.System.Update.ISystemUpdateLastErrorInfo
    guid 7ee887f7-8a44-5b6e-bd07-7aece4116ea9

interface Windows.System.Update.ISystemUpdateManagerStatics
    guid b2d3fcef-2971-51be-b41a-8bd703bb701a

interface Windows.Foundation.Collections.IVectorView<System.String> concrete iterable sequence
    py winrt.windows.foundation.collections._IVectorView[String]
    guid 2f13c006-a03a-5f69-b090-75a43e33423e
    signature pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};string)
    base Windows.Foundation.Collections.IVectorView
    requires Windows.Foundation.Collections.IIterable<System.String>
    argument System.String
    property size
        get get_Size slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=4 reverse=43 role=size
            out uint32 return
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.String> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<System.String> return
    method get_at
        method GetAt slot=6 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=51 reverse=24 role=get_at
            in uint32 name=index
            out string return
    method get_many
        method GetMany slot=9 inputs=2 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=195 reverse=102 role=get_many
            in uint32 name=startIndex
            fill_array string name=items
            out uint32 return
    method index_of
        method IndexOf slot=8 inputs=1 outputs=2 declaring=Windows.Foundation.Collections.IVectorView<System.String> shape=117 reverse=66 role=index_of
            in string name=value
            out uint32 name=index
            out boolean return

interface Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> concrete iterable sequence
    py winrt.windows.foundation.collections._IVectorView[SystemUpdateItem]
    guid 7c77b64c-8be2-50e0-8ca5-d8265d80902b
    signature pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7}))
    base Windows.Foundation.Collections.IVectorView
    requires Windows.Foundation.Collections.IIterable<Windows.System.Update.SystemUpdateItem>
    argument Windows.System.Update.SystemUpdateItem
    property size
        get get_Size slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> shape=4 reverse=43 role=size
            out uint32 return
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<Windows.System.Update.SystemUpdateItem> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<Windows.System.Update.SystemUpdateItem> return
    method get_at
        method GetAt slot=6 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> shape=51 reverse=24 role=get_at
            in uint32 name=index
            out class type=Windows.System.Update.SystemUpdateItem return
    method get_many
        method GetMany slot=9 inputs=2 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> shape=195 reverse=102 role=get_many
            in uint32 name=startIndex
            fill_array class type=Windows.System.Update.SystemUpdateItem name=items
            out uint32 return
    method index_of
        method IndexOf slot=8 inputs=1 outputs=2 declaring=Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> shape=117 reverse=66 role=index_of
            in class type=Windows.System.Update.SystemUpdateItem name=value
            out uint32 name=index
            out boolean return

enum Windows.System.Update.SystemUpdateAttentionRequiredReason python_type
    py SystemUpdateAttentionRequiredReason
    signature enum(Windows.System.Update.SystemUpdateAttentionRequiredReason;i4)
    constant NONE 0
    constant NETWORK_REQUIRED 1
    constant INSUFFICIENT_DISK_SPACE 2
    constant INSUFFICIENT_BATTERY 3
    constant UPDATE_BLOCKED 4

class Windows.System.Update.SystemUpdateItem python_type
    py SystemUpdateItem
    signature rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7})
    default Windows.System.Update.ISystemUpdateItem
    requires Windows.System.Update.ISystemUpdateItem
    property description
        get get_Description slot=8 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out string return
    property download_progress
        get get_DownloadProgress slot=11 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out double return
    property extended_error
        get get_ExtendedError slot=13 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out hresult type=Windows.Foundation.HResult return
    property id
        get get_Id slot=9 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out string return
    property install_progress
        get get_InstallProgress slot=12 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out double return
    property revision
        get get_Revision slot=10 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out uint32 return
    property state
        get get_State slot=6 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out enum32 type=Windows.System.Update.SystemUpdateItemState return
    property title
        get get_Title slot=7 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateItem shape=4
            out string return

enum Windows.System.Update.SystemUpdateItemState python_type
    py SystemUpdateItemState
    signature enum(Windows.System.Update.SystemUpdateItemState;i4)
    constant NOT_STARTED 0
    constant INITIALIZING 1
    constant PREPARING 2
    constant CALCULATING 3
    constant DOWNLOADING 4
    constant INSTALLING 5
    constant COMPLETED 6
    constant REBOOT_REQUIRED 7
    constant ERROR 8

class Windows.System.Update.SystemUpdateLastErrorInfo python_type
    py SystemUpdateLastErrorInfo
    signature rc(Windows.System.Update.SystemUpdateLastErrorInfo;{7ee887f7-8a44-5b6e-bd07-7aece4116ea9})
    default Windows.System.Update.ISystemUpdateLastErrorInfo
    requires Windows.System.Update.ISystemUpdateLastErrorInfo
    property extended_error
        get get_ExtendedError slot=7 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateLastErrorInfo shape=4
            out hresult type=Windows.Foundation.HResult return
    property is_interactive
        get get_IsInteractive slot=8 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateLastErrorInfo shape=4
            out boolean return
    property state
        get get_State slot=6 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateLastErrorInfo shape=4
            out enum32 type=Windows.System.Update.SystemUpdateManagerState return

class Windows.System.Update.SystemUpdateManager static python_type
    py SystemUpdateManager
    factory Windows.System.Update.ISystemUpdateManagerStatics
    property attention_required_reason static
        get get_AttentionRequiredReason slot=24 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out enum32 type=Windows.System.Update.SystemUpdateAttentionRequiredReason return
    property download_progress static
        get get_DownloadProgress slot=10 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out double return
    property extended_error static
        get get_ExtendedError slot=22 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out hresult type=Windows.Foundation.HResult return
    property install_progress static
        get get_InstallProgress slot=11 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out double return
    property last_error_info static
        get get_LastErrorInfo slot=18 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out class type=Windows.System.Update.SystemUpdateLastErrorInfo return
    property last_update_check_time static
        get get_LastUpdateCheckTime slot=16 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out datetime return
    property last_update_install_time static
        get get_LastUpdateInstallTime slot=17 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out datetime return
    property state static
        get get_State slot=7 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out enum32 type=Windows.System.Update.SystemUpdateManagerState return
    property user_active_hours_end static
        get get_UserActiveHoursEnd slot=13 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out timespan return
    property user_active_hours_max static
        get get_UserActiveHoursMax slot=14 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out int32 return
    property user_active_hours_start static
        get get_UserActiveHoursStart slot=12 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out timespan return
    event state_changed static
        add add_StateChanged slot=8 inputs=1 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=51 static
            in delegate type=Windows.Foundation.EventHandler<System.Object> name=handler
            out event_token type=Windows.Foundation.EventRegistrationToken return
        remove remove_StateChanged slot=9 inputs=1 outputs=0 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=26 static
            in event_token type=Windows.Foundation.EventRegistrationToken name=token
    method block_automatic_reboot_async static
        method BlockAutomaticRebootAsync slot=20 inputs=1 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=51 static
            in string name=lockId
            out parameterized type=Windows.Foundation.IAsyncOperation<System.Boolean> return
    method get_automatic_reboot_block_ids static
        method GetAutomaticRebootBlockIds slot=19 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out parameterized type=Windows.Foundation.Collections.IVectorView<System.String> return
    method get_flight_ring static
        method GetFlightRing slot=26 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out string return
    method get_update_items static
        method GetUpdateItems slot=23 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out parameterized type=Windows.Foundation.Collections.IVectorView<Windows.System.Update.SystemUpdateItem> return
    method is_supported static
        method IsSupported slot=6 inputs=0 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            out boolean return
    method reboot_to_complete_install static
        method RebootToCompleteInstall slot=28 inputs=0 outputs=0 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=0 static
    method set_flight_ring static
        method SetFlightRing slot=25 inputs=1 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=51 static
            in string name=flightRing
            out boolean return
    method start_cancel_updates static
        method StartCancelUpdates slot=29 inputs=0 outputs=0 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=0 static
    method start_install static
        method StartInstall slot=27 inputs=1 outputs=0 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=4 static
            in enum32 type=Windows.System.Update.SystemUpdateStartInstallAction name=action
    method try_set_user_active_hours static
        method TrySetUserActiveHours slot=15 inputs=2 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=170 static
            in timespan name=start
            in timespan name=end
            out boolean return
    method unblock_automatic_reboot_async static
        method UnblockAutomaticRebootAsync slot=21 inputs=1 outputs=1 declaring=Windows.System.Update.ISystemUpdateManagerStatics shape=51 static
            in string name=lockId
            out parameterized type=Windows.Foundation.IAsyncOperation<System.Boolean> return

enum Windows.System.Update.SystemUpdateManagerState python_type
    py SystemUpdateManagerState
    signature enum(Windows.System.Update.SystemUpdateManagerState;i4)
    constant IDLE 0
    constant DETECTING 1
    constant READY_TO_DOWNLOAD 2
    constant DOWNLOADING 3
    constant READY_TO_INSTALL 4
    constant INSTALLING 5
    constant REBOOT_REQUIRED 6
    constant READY_TO_FINALIZE 7
    constant FINALIZING 8
    constant COMPLETED 9
    constant ATTENTION_REQUIRED 10
    constant ERROR 11

enum Windows.System.Update.SystemUpdateStartInstallAction python_type
    py SystemUpdateStartInstallAction
    signature enum(Windows.System.Update.SystemUpdateStartInstallAction;i4)
    constant UP_TO_REBOOT 0
    constant ALLOW_REBOOT 1

class System.Boolean external
    py winrt.system.Boolean

class System.Object external
    py winrt.system.Object

class System.String external
    py winrt.system.String

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

delegate Windows.Foundation.EventHandler external parameterized
    py winrt.windows.foundation.EventHandler
    guid 9de1c535-6ae1-11e0-84e1-18a905bcc53f

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

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

interface Windows.Foundation.Collections.IIterable external parameterized
    py winrt.windows.foundation.collections._IIterable
    guid faa585ea-6214-4217-afda-7f46de5869b3

interface Windows.Foundation.Collections.IIterator external parameterized
    py winrt.windows.foundation.collections._IIterator
    guid 6a79e863-4300-459a-9966-cbb660963ee1

interface Windows.Foundation.Collections.IVectorView external parameterized
    py winrt.windows.foundation.collections._IVectorView
    guid bbe1fa4c-b0e3-4583-baef-1f1b2e483e56
