using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; namespace WinRT.GenericHelpers { // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageFile2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFile2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageFile2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageItemPropertiesWithProvider { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemPropertiesWithProvider[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageItemPropertiesWithProvider ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_string { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { string ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalString.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalString.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; string[] __items = MarshalString.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_System_ComponentModel_INotifyPropertyChanged { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { System.ComponentModel.INotifyPropertyChanged ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.ComponentModel.INotifyPropertyChanged[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IList internal static class IList_Windows_Storage_StorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_GetView_2, &Do_Abi_IndexOf_3, &Do_Abi_SetAt_4, &Do_Abi_InsertAt_5, &Do_Abi_RemoveAt_6, &Do_Abi_Append_7, &Do_Abi_RemoveAtEnd_8, &Do_Abi_Clear_9, &Do_Abi_GetMany_10, &Do_Abi_ReplaceAll_11 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.StorageFile ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = global::ABI.Windows.Storage.StorageFile.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetView_2(IntPtr thisPtr, IntPtr* __return_value__) { global::System.Collections.Generic.IReadOnlyList ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetView_2(thisPtr); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_3(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_IndexOf_3(thisPtr, global::ABI.Windows.Storage.StorageFile.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_SetAt_4(IntPtr thisPtr, uint index, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_SetAt_4(thisPtr, index, global::ABI.Windows.Storage.StorageFile.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_InsertAt_5(IntPtr thisPtr, uint index, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_InsertAt_5(thisPtr, index, global::ABI.Windows.Storage.StorageFile.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAt_6(IntPtr thisPtr, uint index) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAt_6(thisPtr, index); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Append_7(IntPtr thisPtr, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Append_7(thisPtr, global::ABI.Windows.Storage.StorageFile.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAtEnd_8(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAtEnd_8(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Clear_9(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Clear_9(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_10(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.StorageFile[] __items = global::ABI.Windows.Storage.StorageFile.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetMany_10(thisPtr, startIndex, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_ReplaceAll_11(IntPtr thisPtr, int __itemsSize, IntPtr items) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_ReplaceAll_11(thisPtr, global::ABI.Windows.Storage.StorageFile.FromAbiArray((__itemsSize, items))); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_Streams_IInputStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.Streams.IInputStreamReference[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.Streams.IInputStreamReference ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageFile2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageFile2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFile2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_object { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { object ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInspectable.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInspectable.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; object[] __items = MarshalInspectable.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageItemProperties2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageItemProperties2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemProperties2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList> internal static class IReadOnlyList_System_Collections_Generic_IEnumerable_object_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods, IntPtr>.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { System.Collections.Generic.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_IndexOf_2(thisPtr, MarshalInterface>.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.Generic.IEnumerable[] __items = MarshalInterface>.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface>.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IList internal static class IList_string { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_GetView_2, &Do_Abi_IndexOf_3, &Do_Abi_SetAt_4, &Do_Abi_InsertAt_5, &Do_Abi_RemoveAt_6, &Do_Abi_Append_7, &Do_Abi_RemoveAtEnd_8, &Do_Abi_Clear_9, &Do_Abi_GetMany_10, &Do_Abi_ReplaceAll_11 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { string ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalString.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetView_2(IntPtr thisPtr, IntPtr* __return_value__) { global::System.Collections.Generic.IReadOnlyList ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetView_2(thisPtr); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_3(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_IndexOf_3(thisPtr, MarshalString.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_SetAt_4(IntPtr thisPtr, uint index, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_SetAt_4(thisPtr, index, MarshalString.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_InsertAt_5(IntPtr thisPtr, uint index, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_InsertAt_5(thisPtr, index, MarshalString.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAt_6(IntPtr thisPtr, uint index) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAt_6(thisPtr, index); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Append_7(IntPtr thisPtr, IntPtr value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Append_7(thisPtr, MarshalString.FromAbi(value)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAtEnd_8(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAtEnd_8(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Clear_9(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Clear_9(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_10(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; string[] __items = MarshalString.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetMany_10(thisPtr, startIndex, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_ReplaceAll_11(IntPtr thisPtr, int __itemsSize, IntPtr items) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_ReplaceAll_11(thisPtr, MarshalString.FromAbiArray((__itemsSize, items))); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageItem2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItem2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageItem2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageItem { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageItem ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItem[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_System_Collections_IEnumerable { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.IEnumerable[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { System.Collections.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IList internal static class IList_byte { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_GetView_2, &Do_Abi_IndexOf_3, &Do_Abi_SetAt_4, &Do_Abi_InsertAt_5, &Do_Abi_RemoveAt_6, &Do_Abi_Append_7, &Do_Abi_RemoveAtEnd_8, &Do_Abi_Clear_9, &Do_Abi_GetMany_10, &Do_Abi_ReplaceAll_11 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, byte* __return_value__) { byte ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetView_2(IntPtr thisPtr, IntPtr* __return_value__) { global::System.Collections.Generic.IReadOnlyList ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetView_2(thisPtr); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_3(IntPtr thisPtr, byte value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_IndexOf_3(thisPtr, value, out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_SetAt_4(IntPtr thisPtr, uint index, byte value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_SetAt_4(thisPtr, index, value); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_InsertAt_5(IntPtr thisPtr, uint index, byte value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_InsertAt_5(thisPtr, index, value); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAt_6(IntPtr thisPtr, uint index) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAt_6(thisPtr, index); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Append_7(IntPtr thisPtr, byte value) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Append_7(thisPtr, value); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_RemoveAtEnd_8(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_RemoveAtEnd_8(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_Clear_9(IntPtr thisPtr) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_Clear_9(thisPtr); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_10(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; byte[] __items = MarshalBlittable.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_GetMany_10(thisPtr, startIndex, ref __items); MarshalBlittable.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_ReplaceAll_11(IntPtr thisPtr, int __itemsSize, IntPtr items) { try { global::ABI.System.Collections.Generic.IListMethods.Abi_ReplaceAll_11(thisPtr, MarshalBlittable.FromAbiArray((__itemsSize, items))); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_System_Collections_IEnumerable { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable> internal static class IEnumerable_System_Collections_Generic_IEnumerable_object_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods, IntPtr>.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods>.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_System_ComponentModel_INotifyPropertyChanged { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.ComponentModel.INotifyPropertyChanged[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { System.ComponentModel.INotifyPropertyChanged ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageItemPropertiesWithProvider { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageItem { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageItemProperties { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageItemProperties2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemProperties2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageItemProperties2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_Streams_IRandomAccessStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.Streams.IRandomAccessStreamReference ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.Streams.IRandomAccessStreamReference[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_Streams_IRandomAccessStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_StorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.StorageFile ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = global::ABI.Windows.Storage.StorageFile.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, global::ABI.Windows.Storage.StorageFile.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.StorageFile[] __items = global::ABI.Windows.Storage.StorageFile.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_StorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.StorageFile[] __items = global::ABI.Windows.Storage.StorageFile.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.StorageFile ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = global::ABI.Windows.Storage.StorageFile.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_System_Collections_IEnumerable { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { System.Collections.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.IEnumerable[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_byte { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; byte[] __items = MarshalBlittable.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalBlittable.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, byte* __return_value__) { byte ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_byte { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_string { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; string[] __items = MarshalString.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { string ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalString.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_byte { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, byte* __return_value__) { byte ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, byte value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, value, out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; byte[] __items = MarshalBlittable.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalBlittable.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_Streams_IInputStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable> internal static class IEnumerable_System_Collections_Generic_IEnumerable_char_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods, IntPtr>.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods>.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageFilePropertiesWithAvailability { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFilePropertiesWithAvailability[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageFilePropertiesWithAvailability ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_object { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; object[] __items = MarshalInspectable.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); Marshaler.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { object ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInspectable.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageItem { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItem[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageItem ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageFile2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_Streams_IRandomAccessStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.Streams.IRandomAccessStreamReference[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.Streams.IRandomAccessStreamReference ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator> internal static class IEnumerator_System_Collections_Generic_IEnumerable_char_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods, IntPtr>.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.Generic.IEnumerable[] __items = MarshalInterface>.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface>.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { System.Collections.Generic.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageItemPropertiesWithProvider { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageItemPropertiesWithProvider ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemPropertiesWithProvider[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_char { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_System_ComponentModel_INotifyPropertyChanged { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageItem2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList> internal static class IReadOnlyList_System_Collections_Generic_IEnumerable_char_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods, IntPtr>.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { System.Collections.Generic.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_IndexOf_2(thisPtr, MarshalInterface>.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.Generic.IEnumerable[] __items = MarshalInterface>.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface>.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods>.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_StorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_string { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageItem2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageItem2 ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItem2[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageItemProperties { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemProperties[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageItemProperties ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageFilePropertiesWithAvailability { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageItemProperties { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageItemProperties ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageItemProperties[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_Streams_IInputStreamReference { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.Streams.IInputStreamReference ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.Streams.IInputStreamReference[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator> internal static class IEnumerator_System_Collections_Generic_IEnumerable_object_ { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods, IntPtr>.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; System.Collections.Generic.IEnumerable[] __items = MarshalInterface>.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface>.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { System.Collections.Generic.IEnumerable ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface>.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods>.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageFile ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFile[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_Windows_Storage_IStorageItemProperties2 { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IReadOnlyList internal static class IReadOnlyList_Windows_Storage_IStorageFilePropertiesWithAvailability { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IReadOnlyListMethods.InitCcw( &Do_Abi_GetAt_0, &Do_Abi_get_Size_1, &Do_Abi_IndexOf_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetAt_0(IntPtr thisPtr, uint index, IntPtr* __return_value__) { Windows.Storage.IStorageFilePropertiesWithAvailability ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetAt_0(thisPtr, index); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_IndexOf_2(IntPtr thisPtr, IntPtr value, uint* index, byte* __return_value__) { bool ____return_value__ = default; *index = default; *__return_value__ = default; uint __index = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_IndexOf_2(thisPtr, MarshalInterface.FromAbi(value), out __index); *index = __index; *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, uint startIndex, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFilePropertiesWithAvailability[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_GetMany_3(thisPtr, startIndex, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Size_1(IntPtr thisPtr, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IReadOnlyListMethods.Abi_get_Size_1(thisPtr); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerator internal static class IEnumerator_Windows_Storage_IStorageFile { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumeratorMethods.InitCcw( &Do_Abi_get_Current_0, &Do_Abi_get_HasCurrent_1, &Do_Abi_MoveNext_2, &Do_Abi_GetMany_3 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_MoveNext_2(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_MoveNext_2(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_GetMany_3(IntPtr thisPtr, int __itemsSize, IntPtr items, uint* __return_value__) { uint ____return_value__ = default; *__return_value__ = default; Windows.Storage.IStorageFile[] __items = MarshalInterface.FromAbiArray((__itemsSize, items)); try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_GetMany_3(thisPtr, ref __items); MarshalInterface.CopyManagedArray(__items, items); *__return_value__ = ____return_value__; } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_Current_0(IntPtr thisPtr, IntPtr* __return_value__) { Windows.Storage.IStorageFile ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_Current_0(thisPtr); *__return_value__ = MarshalInterface.FromManaged(____return_value__); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_get_HasCurrent_1(IntPtr thisPtr, byte* __return_value__) { bool ____return_value__ = default; *__return_value__ = default; try { ____return_value__ = global::ABI.System.Collections.Generic.IEnumeratorMethods.Abi_get_HasCurrent_1(thisPtr); *__return_value__ = (byte)(____return_value__ ? 1 : 0); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } // System.Collections.Generic.IEnumerable internal static class IEnumerable_object { private static bool _initialized = Init(); internal static bool Initialized => _initialized; private static unsafe bool Init() { return global::ABI.System.Collections.Generic.IEnumerableMethods.InitCcw( &Do_Abi_First_0 ); } [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvStdcall) })] private static unsafe int Do_Abi_First_0(IntPtr thisPtr, IntPtr* __return_value__) { *__return_value__ = default; try { *__return_value__ = MarshalInterface>. FromManaged(global::ABI.System.Collections.Generic.IEnumerableMethods.Abi_First_0(thisPtr)); } catch (global::System.Exception __exception__) { global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); } return 0; } } }