diff --git a/TerraFX.Interop.Windows.sln b/TerraFX.Interop.Windows.sln index 254ce4a4ad..01c212865b 100644 --- a/TerraFX.Interop.Windows.sln +++ b/TerraFX.Interop.Windows.sln @@ -4062,6 +4062,48 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.ui.composition.desk generation\WinRT\winrt\windows.ui.composition.desktop\winrt-windows.ui.composition.desktop.h = generation\WinRT\winrt\windows.ui.composition.desktop\winrt-windows.ui.composition.desktop.h EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.media.faceanalysis", "windows.media.faceanalysis", "{F8416880-35FD-4256-B8BB-C7B019BA461C}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.media.faceanalysis\generate.rsp = generation\WinRT\winrt\windows.media.faceanalysis\generate.rsp + generation\WinRT\winrt\windows.media.faceanalysis\header.txt = generation\WinRT\winrt\windows.media.faceanalysis\header.txt + generation\WinRT\winrt\windows.media.faceanalysis\winrt-windows.media.faceanalysis.h = generation\WinRT\winrt\windows.media.faceanalysis\winrt-windows.media.faceanalysis.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.applicationmodel.email", "windows.applicationmodel.email", "{79A5EA40-E3B7-480F-95FF-DA6292521E3F}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.applicationmodel.email\generate.rsp = generation\WinRT\winrt\windows.applicationmodel.email\generate.rsp + generation\WinRT\winrt\windows.applicationmodel.email\header.txt = generation\WinRT\winrt\windows.applicationmodel.email\header.txt + generation\WinRT\winrt\windows.applicationmodel.email\winrt-windows.applicationmodel.email.h = generation\WinRT\winrt\windows.applicationmodel.email\winrt-windows.applicationmodel.email.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.system.diagnostics", "windows.system.diagnostics", "{38A815F4-4251-4BD0-B89F-5D351346209D}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.system.diagnostics\generate.rsp = generation\WinRT\winrt\windows.system.diagnostics\generate.rsp + generation\WinRT\winrt\windows.system.diagnostics\header.txt = generation\WinRT\winrt\windows.system.diagnostics\header.txt + generation\WinRT\winrt\windows.system.diagnostics\winrt-windows.system.diagnostics.h = generation\WinRT\winrt\windows.system.diagnostics\winrt-windows.system.diagnostics.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.devices.radios", "windows.devices.radios", "{414B6787-C737-499E-AB8A-864726F4BDAA}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.devices.radios\generate.rsp = generation\WinRT\winrt\windows.devices.radios\generate.rsp + generation\WinRT\winrt\windows.devices.radios\header.txt = generation\WinRT\winrt\windows.devices.radios\header.txt + generation\WinRT\winrt\windows.devices.radios\winrt-windows.devices.radios.h = generation\WinRT\winrt\windows.devices.radios\winrt-windows.devices.radios.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.applicationmodel.userdatatasks", "windows.applicationmodel.userdatatasks", "{C3AF52AB-C489-465E-8632-796261DBC1EC}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.applicationmodel.userdatatasks\generate.rsp = generation\WinRT\winrt\windows.applicationmodel.userdatatasks\generate.rsp + generation\WinRT\winrt\windows.applicationmodel.userdatatasks\header.txt = generation\WinRT\winrt\windows.applicationmodel.userdatatasks\header.txt + generation\WinRT\winrt\windows.applicationmodel.userdatatasks\winrt-windows.applicationmodel.userdatatasks.h = generation\WinRT\winrt\windows.applicationmodel.userdatatasks\winrt-windows.applicationmodel.userdatatasks.h + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows.data.json", "windows.data.json", "{2AC8D3B6-AFE3-4B28-A258-3D35044DCFA4}" + ProjectSection(SolutionItems) = preProject + generation\WinRT\winrt\windows.data.json\generate.rsp = generation\WinRT\winrt\windows.data.json\generate.rsp + generation\WinRT\winrt\windows.data.json\header.txt = generation\WinRT\winrt\windows.data.json\header.txt + generation\WinRT\winrt\windows.data.json\winrt-windows.data.json.h = generation\WinRT\winrt\windows.data.json\winrt-windows.data.json.h + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -4677,6 +4719,12 @@ Global {807F70F0-D52C-40B8-9D13-BCF016222EA8} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} {8A7B659A-CEDB-4189-B1EA-7B0319E3F2B6} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} {2622EAB3-2544-40AD-9284-3F86115B7DDA} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {F8416880-35FD-4256-B8BB-C7B019BA461C} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {79A5EA40-E3B7-480F-95FF-DA6292521E3F} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {38A815F4-4251-4BD0-B89F-5D351346209D} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {414B6787-C737-499E-AB8A-864726F4BDAA} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {C3AF52AB-C489-465E-8632-796261DBC1EC} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} + {2AC8D3B6-AFE3-4B28-A258-3D35044DCFA4} = {030D5AC2-A56E-4C79-AD45-5BD6093C8D9A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461} diff --git a/generation/WinRT/winrt/windows.applicationmodel.email/generate.rsp b/generation/WinRT/winrt/windows.applicationmodel.email/generate.rsp new file mode 100644 index 0000000000..58d3c722c2 --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.email/generate.rsp @@ -0,0 +1,144 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IVector +ABI::Windows::Foundation::Collections::IVector +ABI::Windows::Foundation::Collections::IVector +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IReference +ABI::Windows::Foundation::IReference +ABI::Windows::Foundation::ITypedEventHandler +ABI::Windows::Foundation::ITypedEventHandler +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IEmailAttachment +IID_IEmailAttachment2 +IID_IEmailAttachmentFactory +IID_IEmailAttachmentFactory2 +IID_IEmailConversation +IID_IEmailConversationBatch +IID_IEmailConversationReader +IID_IEmailFolder +IID_IEmailIrmInfo +IID_IEmailIrmInfoFactory +IID_IEmailIrmTemplate +IID_IEmailIrmTemplateFactory +IID_IEmailItemCounts +IID_IEmailMailbox +IID_IEmailMailbox2 +IID_IEmailMailbox3 +IID_IEmailMailbox4 +IID_IEmailMailbox5 +IID_IEmailMailboxAction +IID_IEmailMailboxAutoReply +IID_IEmailMailboxAutoReplySettings +IID_IEmailMailboxCapabilities +IID_IEmailMailboxCapabilities2 +IID_IEmailMailboxCapabilities3 +IID_IEmailMailboxChange +IID_IEmailMailboxChangedDeferral +IID_IEmailMailboxChangedEventArgs +IID_IEmailMailboxChangeReader +IID_IEmailMailboxChangeTracker +IID_IEmailMailboxCreateFolderResult +IID_IEmailMailboxPolicies +IID_IEmailMailboxPolicies2 +IID_IEmailMailboxPolicies3 +IID_IEmailMailboxSyncManager +IID_IEmailMailboxSyncManager2 +IID_IEmailManagerForUser +IID_IEmailManagerStatics +IID_IEmailManagerStatics2 +IID_IEmailManagerStatics3 +IID_IEmailMeetingInfo +IID_IEmailMeetingInfo2 +IID_IEmailMessage +IID_IEmailMessage2 +IID_IEmailMessage3 +IID_IEmailMessage4 +IID_IEmailMessageBatch +IID_IEmailMessageReader +IID_IEmailQueryOptions +IID_IEmailQueryOptionsFactory +IID_IEmailQueryTextSearch +IID_IEmailRecipient +IID_IEmailRecipientFactory +IID_IEmailRecipientResolutionResult +IID_IEmailRecipientResolutionResult2 +IID_IEmailStore +IID_IEmailStoreNotificationTriggerDetails +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +WINDOWS_SYSTEM_SYSTEMMANAGEMENTCONTRACT_VERSION +--file +winrt-windows.applicationmodel.email.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.applicationmodel.email.h diff --git a/generation/WinRT/winrt/windows.applicationmodel.email/header.txt b/generation/WinRT/winrt/windows.applicationmodel.email/header.txt new file mode 100644 index 0000000000..08c784e844 --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.email/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.applicationmodel.email/winrt-windows.applicationmodel.email.h b/generation/WinRT/winrt/windows.applicationmodel.email/winrt-windows.applicationmodel.email.h new file mode 100644 index 0000000000..6f8d8efb06 --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.email/winrt-windows.applicationmodel.email.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/generate.rsp b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/generate.rsp new file mode 100644 index 0000000000..f028ea9aeb --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/generate.rsp @@ -0,0 +1,46 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::IReference +ABI::Windows::Foundation::IReference +ABI::Windows::Foundation::ITypedEventHandler +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IUserDataTask +IID_IUserDataTaskBatch +IID_IUserDataTaskList +IID_IUserDataTaskListLimitedWriteOperations +IID_IUserDataTaskListSyncManager +IID_IUserDataTaskManager +IID_IUserDataTaskManagerStatics +IID_IUserDataTaskQueryOptions +IID_IUserDataTaskReader +IID_IUserDataTaskRecurrenceProperties +IID_IUserDataTaskRegenerationProperties +IID_IUserDataTaskStore +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +WINDOWS_SYSTEM_SYSTEMMANAGEMENTCONTRACT_VERSION +--file +winrt-windows.applicationmodel.userdatatasks.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.applicationmodel.userdatatasks.h diff --git a/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/header.txt b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/header.txt new file mode 100644 index 0000000000..1fd5207da4 --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/winrt-windows.applicationmodel.userdatatasks.h b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/winrt-windows.applicationmodel.userdatatasks.h new file mode 100644 index 0000000000..382221fcd9 --- /dev/null +++ b/generation/WinRT/winrt/windows.applicationmodel.userdatatasks/winrt-windows.applicationmodel.userdatatasks.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/WinRT/winrt/windows.data.json/generate.rsp b/generation/WinRT/winrt/windows.data.json/generate.rsp new file mode 100644 index 0000000000..85c6792447 --- /dev/null +++ b/generation/WinRT/winrt/windows.data.json/generate.rsp @@ -0,0 +1,37 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterable *> +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IIterator *> +ABI::Windows::Foundation::Collections::IKeyValuePair +ABI::Windows::Foundation::Collections::IMap +ABI::Windows::Foundation::Collections::IMapView +ABI::Windows::Foundation::Collections::IVector +ABI::Windows::Foundation::Collections::IVectorView +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IJsonArray +IID_IJsonArrayStatics +IID_IJsonErrorStatics2 +IID_IJsonObject +IID_IJsonObjectStatics +IID_IJsonObjectWithDefaultValues +IID_IJsonValue +IID_IJsonValueStatics +IID_IJsonValueStatics2 +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +--file +winrt-windows.data.json.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.data.json +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.data.json +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.data.json.h diff --git a/generation/WinRT/winrt/windows.data.json/header.txt b/generation/WinRT/winrt/windows.data.json/header.txt new file mode 100644 index 0000000000..8b6e5f7c70 --- /dev/null +++ b/generation/WinRT/winrt/windows.data.json/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.data.json/winrt-windows.data.json.h b/generation/WinRT/winrt/windows.data.json/winrt-windows.data.json.h new file mode 100644 index 0000000000..35a54afcdf --- /dev/null +++ b/generation/WinRT/winrt/windows.data.json/winrt-windows.data.json.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/WinRT/winrt/windows.devices.radios/generate.rsp b/generation/WinRT/winrt/windows.devices.radios/generate.rsp new file mode 100644 index 0000000000..dcdc194df8 --- /dev/null +++ b/generation/WinRT/winrt/windows.devices.radios/generate.rsp @@ -0,0 +1,32 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::Collections::IIterable +ABI::Windows::Foundation::Collections::IIterator +ABI::Windows::Foundation::Collections::IVectorView +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::ITypedEventHandler +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IRadio +IID_IRadioStatics +WINDOWS_DEVICES_DEVICESLOWLEVELCONTRACT_VERSION +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +--file +winrt-windows.devices.radios.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.devices.radios +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.devices.radios +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.devices.radios.h diff --git a/generation/WinRT/winrt/windows.devices.radios/header.txt b/generation/WinRT/winrt/windows.devices.radios/header.txt new file mode 100644 index 0000000000..9eefccdf47 --- /dev/null +++ b/generation/WinRT/winrt/windows.devices.radios/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.devices.radios/winrt-windows.devices.radios.h b/generation/WinRT/winrt/windows.devices.radios/winrt-windows.devices.radios.h new file mode 100644 index 0000000000..427061eef4 --- /dev/null +++ b/generation/WinRT/winrt/windows.devices.radios/winrt-windows.devices.radios.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/WinRT/winrt/windows.media.faceanalysis/generate.rsp b/generation/WinRT/winrt/windows.media.faceanalysis/generate.rsp new file mode 100644 index 0000000000..2ded98c2d7 --- /dev/null +++ b/generation/WinRT/winrt/windows.media.faceanalysis/generate.rsp @@ -0,0 +1,32 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::Collections::IVector +ABI::Windows::Foundation::IAsyncOperation *> +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler *> +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationCompletedHandler +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IDetectedFace +IID_IFaceDetector +IID_IFaceDetectorStatics +IID_IFaceTracker +IID_IFaceTrackerStatics +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +WINDOWS_MEDIA_MEDIACONTROLCONTRACT_VERSION +--file +winrt-windows.media.faceanalysis.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.media.faceanalysis.h diff --git a/generation/WinRT/winrt/windows.media.faceanalysis/header.txt b/generation/WinRT/winrt/windows.media.faceanalysis/header.txt new file mode 100644 index 0000000000..9c573eee25 --- /dev/null +++ b/generation/WinRT/winrt/windows.media.faceanalysis/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.media.faceanalysis/winrt-windows.media.faceanalysis.h b/generation/WinRT/winrt/windows.media.faceanalysis/winrt-windows.media.faceanalysis.h new file mode 100644 index 0000000000..acc75e6bb1 --- /dev/null +++ b/generation/WinRT/winrt/windows.media.faceanalysis/winrt-windows.media.faceanalysis.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/WinRT/winrt/windows.system.diagnostics/generate.rsp b/generation/WinRT/winrt/windows.system.diagnostics/generate.rsp new file mode 100644 index 0000000000..3924638b24 --- /dev/null +++ b/generation/WinRT/winrt/windows.system.diagnostics/generate.rsp @@ -0,0 +1,44 @@ +@../../../settings.rsp +@../../../remap.rsp +--exclude +ABI::Windows::Foundation::IAsyncOperationProgressHandler +ABI::Windows::Foundation::IAsyncOperationWithProgress +ABI::Windows::Foundation::IAsyncOperationWithProgressCompletedHandler +CHECK_NS_PREFIX_STATE +DEPRECATEDENUMERATOR +IID_IDiagnosticActionResult +IID_IDiagnosticInvoker +IID_IDiagnosticInvoker2 +IID_IDiagnosticInvokerStatics +IID_IProcessCpuUsage +IID_IProcessCpuUsageReport +IID_IProcessDiagnosticInfo +IID_IProcessDiagnosticInfo2 +IID_IProcessDiagnosticInfoStatics +IID_IProcessDiagnosticInfoStatics2 +IID_IProcessDiskUsage +IID_IProcessDiskUsageReport +IID_IProcessMemoryUsage +IID_IProcessMemoryUsageReport +IID_ISystemCpuUsage +IID_ISystemCpuUsageReport +IID_ISystemDiagnosticInfo +IID_ISystemDiagnosticInfoStatics +IID_ISystemDiagnosticInfoStatics2 +IID_ISystemMemoryUsage +IID_ISystemMemoryUsageReport +WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION +WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION +WINDOWS_SYSTEM_SYSTEMMANAGEMENTCONTRACT_VERSION +--file +winrt-windows.system.diagnostics.h +--methodClassName +WinRT +--namespace +TerraFX.Interop.WinRT +--output +../../../../sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics +--test-output +../../../../tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics +--traverse +C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/windows.system.diagnostics.h diff --git a/generation/WinRT/winrt/windows.system.diagnostics/header.txt b/generation/WinRT/winrt/windows.system.diagnostics/header.txt new file mode 100644 index 0000000000..f2f32e6ae4 --- /dev/null +++ b/generation/WinRT/winrt/windows.system.diagnostics/header.txt @@ -0,0 +1,4 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. diff --git a/generation/WinRT/winrt/windows.system.diagnostics/winrt-windows.system.diagnostics.h b/generation/WinRT/winrt/windows.system.diagnostics/winrt-windows.system.diagnostics.h new file mode 100644 index 0000000000..49ddabd3fe --- /dev/null +++ b/generation/WinRT/winrt/windows.system.diagnostics/winrt-windows.system.diagnostics.h @@ -0,0 +1,2 @@ +#include "..\..\..\TerraFX.h" +#include diff --git a/generation/remap-types.rsp b/generation/remap-types.rsp index 8bc7d3c916..8539f3bc77 100644 --- a/generation/remap-types.rsp +++ b/generation/remap-types.rsp @@ -1,28 +1,909 @@ --remap -ABI::Windows::Foundation::Collections::IIterable=IIterable -ABI::Windows::Foundation::Collections::IIterator=IIterator -ABI::Windows::Foundation::Collections::IKeyValuePair=IKeyValuePair -ABI::Windows::Foundation::Collections::IMap=IMap -ABI::Windows::Foundation::Collections::IMapChangedEventArgs=IMapChangedEventArgs -ABI::Windows::Foundation::Collections::IMapView=IMapView -ABI::Windows::Foundation::Collections::IObservableMap=IObservableMap -ABI::Windows::Foundation::Collections::IObservableVector=IObservableVector -ABI::Windows::Foundation::Collections::IVector=IVector -ABI::Windows::Foundation::Collections::IVectorView=IVectorView -ABI::Windows::Foundation::Collections::MapChangedEventHandler=MapChangedEventHandler -ABI::Windows::Foundation::Collections::VectorChangedEventHandler=VectorChangedEventHandler -ABI::Windows::Foundation::DateTime=WinRTDateTime -ABI::Windows::Foundation::IAsyncActionProgressHandler=IAsyncActionProgressHandler -ABI::Windows::Foundation::IAsyncActionWithProgress=IAsyncActionWithProgress -ABI::Windows::Foundation::IAsyncActionWithProgressCompletedHandler=IAsyncActionWithProgressCompletedHandler -ABI::Windows::Foundation::IAsyncOperation=IAsyncOperation -ABI::Windows::Foundation::IAsyncOperationCompletedHandler=IAsyncOperationCompletedHandler -ABI::Windows::Foundation::IAsyncOperationWithProgress=IAsyncOperationWithProgress -ABI::Windows::Foundation::IAsyncOperationProgressHandler=IAsyncOperationProgressHandler -ABI::Windows::Foundation::IAsyncOperationWithProgressCompletedHandler=IAsyncOperationWithProgressCompletedHandler -ABI::Windows::Foundation::IEventHandler=IEventHandler -ABI::Windows::Foundation::IReference=IReference -ABI::Windows::Foundation::ITypedEventHandler=ITypedEventHandler +ABI::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs=@IBackgroundActivatedEventArgs +ABI::Windows::ApplicationModel::Activation::IActivatedEventArgs=@IActivatedEventArgs +ABI::Windows::ApplicationModel::Activation::SplashScreen=@ISplashScreen +ABI::Windows::ApplicationModel::AppInfo=@IAppInfo +ABI::Windows::ApplicationModel::AppInstance=@IAppInstance +ABI::Windows::ApplicationModel::Appointments::Appointment=@IAppointment +ABI::Windows::ApplicationModel::Appointments::AppointmentCalendar=@IAppointmentCalendar +ABI::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager=@IAppointmentCalendarSyncManager +ABI::Windows::ApplicationModel::Appointments::AppointmentConflictResult=@IAppointmentConflictResult +ABI::Windows::ApplicationModel::Appointments::AppointmentException=@IAppointmentException +ABI::Windows::ApplicationModel::Appointments::AppointmentInvitee=@IAppointmentInvitee +ABI::Windows::ApplicationModel::Appointments::AppointmentStore=@IAppointmentStore +ABI::Windows::ApplicationModel::Appointments::AppointmentStoreChange=@IAppointmentStoreChange +ABI::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs=@IAppointmentStoreChangedEventArgs +ABI::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs=@IAppServiceClosedEventArgs +ABI::Windows::ApplicationModel::AppService::AppServiceConnection=@IAppServiceConnection +ABI::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs=@IAppServiceRequestReceivedEventArgs +ABI::Windows::ApplicationModel::AppService::AppServiceResponse=@IAppServiceResponse +ABI::Windows::ApplicationModel::AppService::StatelessAppServiceResponse=@IStatelessAppServiceResponse +ABI::Windows::ApplicationModel::Background::BackgroundTaskRegistration=@IBackgroundTaskRegistration +ABI::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup=@IBackgroundTaskRegistrationGroup +ABI::Windows::ApplicationModel::Background::DeviceConnectionChangeTrigger=@IDeviceConnectionChangeTrigger +ABI::Windows::ApplicationModel::Background::GattServiceProviderTriggerResult=@IGattServiceProviderTriggerResult +ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration=@IBackgroundTaskRegistration +ABI::Windows::ApplicationModel::Calls::CallAnswerEventArgs=@ICallAnswerEventArgs +ABI::Windows::ApplicationModel::Calls::CallRejectEventArgs=@ICallRejectEventArgs +ABI::Windows::ApplicationModel::Calls::CallStateChangeEventArgs=@ICallStateChangeEventArgs +ABI::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs=@ILockScreenCallEndRequestedEventArgs +ABI::Windows::ApplicationModel::Calls::LockScreenCallUI=@ILockScreenCallUI +ABI::Windows::ApplicationModel::Calls::MuteChangeEventArgs=@IMuteChangeEventArgs +ABI::Windows::ApplicationModel::Calls::PhoneCall=@IPhoneCall +ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry=@IPhoneCallHistoryEntry +ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStore=@IPhoneCallHistoryStore +ABI::Windows::ApplicationModel::Calls::PhoneCallInfo=@IPhoneCallInfo +ABI::Windows::ApplicationModel::Calls::PhoneCallsResult=@IPhoneCallsResult +ABI::Windows::ApplicationModel::Calls::PhoneCallStore=@IPhoneCallStore +ABI::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities=@IPhoneCallVideoCapabilities +ABI::Windows::ApplicationModel::Calls::PhoneLine=@IPhoneLine +ABI::Windows::ApplicationModel::Calls::PhoneLineDialResult=@IPhoneLineDialResult +ABI::Windows::ApplicationModel::Calls::PhoneLineTransportDevice=@IPhoneLineTransportDevice +ABI::Windows::ApplicationModel::Calls::PhoneLineWatcher=@IPhoneLineWatcher +ABI::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs=@IPhoneLineWatcherEventArgs +ABI::Windows::ApplicationModel::Calls::VoipCallCoordinator=@IVoipCallCoordinator +ABI::Windows::ApplicationModel::Calls::VoipPhoneCall=@IVoipPhoneCall +ABI::Windows::ApplicationModel::Contacts::Contact=@IContact +ABI::Windows::ApplicationModel::Contacts::ContactAddress=@IContactAddress +ABI::Windows::ApplicationModel::Contacts::ContactAnnotation=@IContactAnnotation +ABI::Windows::ApplicationModel::Contacts::ContactAnnotationList=@IContactAnnotationList +ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStore=@IContactAnnotationStore +ABI::Windows::ApplicationModel::Contacts::ContactBatch=@IContactBatch +ABI::Windows::ApplicationModel::Contacts::ContactChange=@IContactChange +ABI::Windows::ApplicationModel::Contacts::ContactChangedEventArgs=@IContactChangedEventArgs +ABI::Windows::ApplicationModel::Contacts::ContactConnectedServiceAccount=@IContactConnectedServiceAccount +ABI::Windows::ApplicationModel::Contacts::ContactDate=@IContactDate +ABI::Windows::ApplicationModel::Contacts::ContactEmail=@IContactEmail +ABI::Windows::ApplicationModel::Contacts::ContactField=@IContactField +ABI::Windows::ApplicationModel::Contacts::ContactGroup=@IContactGroup +ABI::Windows::ApplicationModel::Contacts::ContactInformation=@IContactInformation +ABI::Windows::ApplicationModel::Contacts::ContactInstantMessageField=@IContactInstantMessageField +ABI::Windows::ApplicationModel::Contacts::ContactJobInfo=@IContactJobInfo +ABI::Windows::ApplicationModel::Contacts::ContactList=@IContactList +ABI::Windows::ApplicationModel::Contacts::ContactListSyncManager=@IContactListSyncManager +ABI::Windows::ApplicationModel::Contacts::ContactLocationField=@IContactLocationField +ABI::Windows::ApplicationModel::Contacts::ContactMatchReason=@IContactMatchReason +ABI::Windows::ApplicationModel::Contacts::ContactPanel=@IContactPanel +ABI::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs=@IContactPanelClosingEventArgs +ABI::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs=@IContactPanelLaunchFullAppRequestedEventArgs +ABI::Windows::ApplicationModel::Contacts::ContactPhone=@IContactPhone +ABI::Windows::ApplicationModel::Contacts::ContactSignificantOther=@IContactSignificantOther +ABI::Windows::ApplicationModel::Contacts::ContactStore=@IContactStore +ABI::Windows::ApplicationModel::Contacts::ContactWebsite=@IContactWebsite +ABI::Windows::ApplicationModel::Contacts::IContactField=@IContactField +ABI::Windows::ApplicationModel::Contacts::PinnedContactIdsQueryResult=@IPinnedContactIdsQueryResult +ABI::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI=@IContactPickerUI +ABI::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs=@IContactRemovedEventArgs +ABI::Windows::ApplicationModel::Core::AppListEntry=@IAppListEntry +ABI::Windows::ApplicationModel::Core::CoreApplicationView=@ICoreApplicationView +ABI::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar=@ICoreApplicationViewTitleBar +ABI::Windows::ApplicationModel::Core::HostedViewClosingEventArgs=@IHostedViewClosingEventArgs +ABI::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs=@IUnhandledErrorDetectedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs=@IClipboardHistoryChangedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem=@IClipboardHistoryItem +ABI::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResult=@IClipboardHistoryItemsResult +ABI::Windows::ApplicationModel::DataTransfer::DataPackage=@IDataPackage +ABI::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs=@IDataRequestedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::DataTransferManager=@IDataTransferManager +ABI::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs=@IOperationCompletedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs=@IShareCompletedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::ShareProvider=@IShareProvider +ABI::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs=@IShareProvidersRequestedEventArgs +ABI::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs=@ITargetApplicationChosenEventArgs +ABI::Windows::ApplicationModel::Email::EmailAttachment=@IEmailAttachment +ABI::Windows::ApplicationModel::Email::EmailCertificateValidationStat=@IEmailCertificateValidationStat +ABI::Windows::ApplicationModel::Email::EmailConversation=@IEmailConversation +ABI::Windows::ApplicationModel::Email::EmailConversationBatch=@IEmailConversationBatch +ABI::Windows::ApplicationModel::Email::EmailFolder=@IEmailFolder +ABI::Windows::ApplicationModel::Email::EmailItemCounts=@IEmailItemCounts +ABI::Windows::ApplicationModel::Email::EmailMailbox=@IEmailMailbox +ABI::Windows::ApplicationModel::Email::EmailMailboxAction=@IEmailMailboxAction +ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings=@IEmailMailboxAutoReplySettings +ABI::Windows::ApplicationModel::Email::EmailMailboxChange=@IEmailMailboxChange +ABI::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs=@IEmailMailboxChangedEventArgs +ABI::Windows::ApplicationModel::Email::EmailMailboxCreateFolderResult=@IEmailMailboxCreateFolderResult +ABI::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStat=@IEmailMailboxDeleteFolderStat +ABI::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStat=@IEmailMailboxEmptyFolderStat +ABI::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm=@IEmailMailboxSmimeEncryptionAlgorithm +ABI::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm=@IEmailMailboxSmimeSigningAlgorithm +ABI::Windows::ApplicationModel::Email::EmailMailboxSyncManager=@IEmailMailboxSyncManager +ABI::Windows::ApplicationModel::Email::EmailMessage=@IEmailMessage +ABI::Windows::ApplicationModel::Email::EmailMessageBatch=@IEmailMessageBatch +ABI::Windows::ApplicationModel::Email::EmailRecipient=@IEmailRecipient +ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionResult=@IEmailRecipientResolutionResult +ABI::Windows::ApplicationModel::Email::EmailStore=@IEmailStore +ABI::Windows::ApplicationModel::EnteredBackgroundEventArgs=@IEnteredBackgroundEventArgs +ABI::Windows::ApplicationModel::FullTrustProcessLaunchResult=@IFullTrustProcessLaunchResult +ABI::Windows::ApplicationModel::LeavingBackgroundEventArgs=@ILeavingBackgroundEventArgs +ABI::Windows::ApplicationModel::Package=@IPackage +ABI::Windows::ApplicationModel::PackageCatalog=@IPackageCatalog +ABI::Windows::ApplicationModel::PackageCatalogAddOptionalPackageResult=@IPackageCatalogAddOptionalPackageResult +ABI::Windows::ApplicationModel::PackageCatalogAddResourcePackageResult=@IPackageCatalogAddResourcePackageResult +ABI::Windows::ApplicationModel::PackageCatalogRemoveOptionalPackagesResult=@IPackageCatalogRemoveOptionalPackagesResult +ABI::Windows::ApplicationModel::PackageCatalogRemoveResourcePackagesResult=@IPackageCatalogRemoveResourcePackagesResult +ABI::Windows::ApplicationModel::PackageContentGroup=@IPackageContentGroup +ABI::Windows::ApplicationModel::PackageContentGroupStagingEventArgs=@IPackageContentGroupStagingEventArgs +ABI::Windows::ApplicationModel::PackageInstallingEventArgs=@IPackageInstallingEventArgs +ABI::Windows::ApplicationModel::PackageStagingEventArgs=@IPackageStagingEventArgs +ABI::Windows::ApplicationModel::PackageStatusChangedEventArgs=@IPackageStatusChangedEventArgs +ABI::Windows::ApplicationModel::PackageUninstallingEventArgs=@IPackageUninstallingEventArgs +ABI::Windows::ApplicationModel::PackageUpdateAvailabilityResult=@IPackageUpdateAvailabilityResult +ABI::Windows::ApplicationModel::PackageUpdatingEventArgs=@IPackageUpdatingEventArgs +ABI::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs=@IRequestingFocusOnKeyboardInputEventArgs +ABI::Windows::ApplicationModel::Search::Core::SearchSuggestion=@ISearchSuggestion +ABI::Windows::ApplicationModel::Search::Core::SearchSuggestionManager=@ISearchSuggestionManager +ABI::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs=@ISearchSuggestionsRequestedEventArgs +ABI::Windows::ApplicationModel::Search::SearchPane=@ISearchPane +ABI::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs=@ISearchPaneQueryChangedEventArgs +ABI::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs=@ISearchPaneQuerySubmittedEventArgs +ABI::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs=@ISearchPaneResultSuggestionChosenEventArgs +ABI::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs=@ISearchPaneSuggestionsRequestedEventArgs +ABI::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs=@ISearchPaneVisibilityChangedEventArgs +ABI::Windows::ApplicationModel::StartupTask=@IStartupTask +ABI::Windows::ApplicationModel::SuspendingEventArgs=@ISuspendingEventArgs +ABI::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountPartnerAccountInfo=@IUserDataAccountPartnerAccountInfo +ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccount=@IUserDataAccount +ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore=@IUserDataAccountStore +ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs=@IUserDataAccountStoreChangedEventArgs +ABI::Windows::ApplicationModel::UserDataTasks::UserDataTask=@IUserDataTask +ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskBatch=@IUserDataTaskBatch +ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskList=@IUserDataTaskList +ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager=@IUserDataTaskListSyncManager +ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskStore=@IUserDataTaskStore +ABI::Windows::ApplicationModel::Wallet::WalletItem=@IWalletItem +ABI::Windows::ApplicationModel::Wallet::WalletItemCustomProperty=@IWalletItemCustomProperty +ABI::Windows::ApplicationModel::Wallet::WalletItemStore=@IWalletItemStore +ABI::Windows::ApplicationModel::Wallet::WalletRelevantLocation=@IWalletRelevantLocation +ABI::Windows::ApplicationModel::Wallet::WalletTransaction=@IWalletTransaction +ABI::Windows::ApplicationModel::Wallet::WalletVerb=@IWalletVerb +ABI::Windows::Data::Json::IJsonValue=@IJsonValue +ABI::Windows::Data::Text::AlternateWordForm=@IAlternateWordForm +ABI::Windows::Data::Text::SelectableWordSegment=@ISelectableWordSegment +ABI::Windows::Data::Text::TextPhoneme=@ITextPhoneme +ABI::Windows::Data::Text::WordSegment=@IWordSegment +ABI::Windows::Data::Xml::Dom::IXmlNode=@IXmlNode +ABI::Windows::Data::Xml::Dom::XmlDocument=@IXmlDocument +ABI::Windows::Devices::Adc::AdcController=@IAdcController +ABI::Windows::Devices::Adc::Provider::IAdcControllerProvider=@IAdcControllerProvider +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern=@IBluetoothLEAdvertisementBytePattern +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection=@IBluetoothLEAdvertisementDataSection +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher=@IBluetoothLEAdvertisementPublisher +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs=@IBluetoothLEAdvertisementPublisherStatusChangedEventArgs +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs=@IBluetoothLEAdvertisementReceivedEventArgs +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher=@IBluetoothLEAdvertisementWatcher +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs=@IBluetoothLEAdvertisementWatcherStoppedEventArgs +ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData=@IBluetoothLEManufacturerData +ABI::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection=@IGattServiceProviderConnection +ABI::Windows::Devices::Bluetooth::BluetoothAdapter=@IBluetoothAdapter +ABI::Windows::Devices::Bluetooth::BluetoothDevice=@IBluetoothDevice +ABI::Windows::Devices::Bluetooth::BluetoothLEDevice=@IBluetoothLEDevice +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic=@IGattCharacteristic +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult=@IGattCharacteristicsResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult=@IGattClientNotificationResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor=@IGattDescriptor +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult=@IGattDescriptorsResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService=@IGattDeviceService +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult=@IGattDeviceServicesResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic=@IGattLocalCharacteristic +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicResult=@IGattLocalCharacteristicResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor=@IGattLocalDescriptor +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorResult=@IGattLocalDescriptorResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat=@IGattPresentationFormat +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadClientCharacteristicConfigurationDescriptorResult=@IGattReadClientCharacteristicConfigurationDescriptorResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest=@IGattReadRequest +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs=@IGattReadRequestedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult=@IGattReadResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs=@IGattRequestStateChangedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider=@IGattServiceProvider +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs=@IGattServiceProviderAdvertisementStatusChangedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderResult=@IGattServiceProviderResult +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession=@IGattSession +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs=@IGattSessionStatusChangedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient=@IGattSubscribedClient +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs=@IGattValueChangedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest=@IGattWriteRequest +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs=@IGattWriteRequestedEventArgs +ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult=@IGattWriteResult +ABI::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService=@IRfcommDeviceService +ABI::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult=@IRfcommDeviceServicesResult +ABI::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceProvider=@IRfcommServiceProvider +ABI::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs=@IDeviceAccessChangedEventArgs +ABI::Windows::Devices::Enumeration::DeviceAccessInformation=@IDeviceAccessInformation +ABI::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs=@IDeviceDisconnectButtonClickedEventArgs +ABI::Windows::Devices::Enumeration::DeviceInformation=@IDeviceInformation +ABI::Windows::Devices::Enumeration::DeviceInformationCollection=@IntPtr +ABI::Windows::Devices::Enumeration::DeviceInformationCustomPairing=@IDeviceInformationCustomPairing +ABI::Windows::Devices::Enumeration::DeviceInformationUpdate=@IDeviceInformationUpdate +ABI::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs=@IDevicePairingRequestedEventArgs +ABI::Windows::Devices::Enumeration::DevicePairingResult=@IDevicePairingResult +ABI::Windows::Devices::Enumeration::DevicePicker=@IDevicePicker +ABI::Windows::Devices::Enumeration::DeviceSelectedEventArgs=@IDeviceSelectedEventArgs +ABI::Windows::Devices::Enumeration::DeviceThumbnail=@IntPtr +ABI::Windows::Devices::Enumeration::DeviceUnpairingResult=@IDeviceUnpairingResult +ABI::Windows::Devices::Enumeration::DeviceWatcher=@IDeviceWatcher +ABI::Windows::Devices::Enumeration::DeviceWatcherEvent=@IDeviceWatcherEvent +ABI::Windows::Devices::Geolocation::Geolocator=@IGeolocator +ABI::Windows::Devices::Geolocation::Geopoint=@IGeopoint +ABI::Windows::Devices::Geolocation::Geoposition=@IGeoposition +ABI::Windows::Devices::Geolocation::Geovisit=@IGeovisit +ABI::Windows::Devices::Geolocation::GeovisitMonitor=@IGeovisitMonitor +ABI::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs=@IGeovisitStateChangedEventArgs +ABI::Windows::Devices::Geolocation::PositionChangedEventArgs=@IPositionChangedEventArgs +ABI::Windows::Devices::Geolocation::StatusChangedEventArgs=@IStatusChangedEventArgs +ABI::Windows::Devices::Gpio::GpioController=@IGpioController +ABI::Windows::Devices::Gpio::GpioPin=@IGpioPin +ABI::Windows::Devices::Gpio::GpioPinValueChangedEventArgs=@IGpioPinValueChangedEventArgs +ABI::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs=@IGpioPinProviderValueChangedEventArgs +ABI::Windows::Devices::Gpio::Provider::IGpioControllerProvider=@IGpioControllerProvider +ABI::Windows::Devices::Gpio::Provider::IGpioPinProvider=@IGpioPinProvider +ABI::Windows::Devices::Haptics::SimpleHapticsControllerFeedback=@ISimpleHapticsControllerFeedback +ABI::Windows::Devices::Haptics::VibrationDevice=@IVibrationDevice +ABI::Windows::Devices::I2c::I2cController=@II2cController +ABI::Windows::Devices::I2c::I2cDevice=@II2cDevice +ABI::Windows::Devices::I2c::Provider::II2cControllerProvider=@II2cControllerProvider +ABI::Windows::Devices::Input::MouseDevice=@IMouseDevice +ABI::Windows::Devices::Input::MouseEventArgs=@IMouseEventArgs +ABI::Windows::Devices::Input::PenButtonListener=@IPenButtonListener +ABI::Windows::Devices::Input::PenDockedEventArgs=@IPenDockedEventArgs +ABI::Windows::Devices::Input::PenDockListener=@IPenDockListener +ABI::Windows::Devices::Input::PenTailButtonClickedEventArgs=@IPenTailButtonClickedEventArgs +ABI::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs=@IPenTailButtonDoubleClickedEventArgs +ABI::Windows::Devices::Input::PenTailButtonLongPressedEventArgs=@IPenTailButtonLongPressedEventArgs +ABI::Windows::Devices::Input::PenUndockedEventArgs=@IPenUndockedEventArgs +ABI::Windows::Devices::Input::PointerDevice=@IPointerDevice +ABI::Windows::Devices::Power::Battery=@IBattery +ABI::Windows::Devices::Printers::Extensions::Print3DWorkflow=@IPrint3DWorkflow +ABI::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs=@IPrint3DWorkflowPrinterChangedEventArgs +ABI::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs=@IPrint3DWorkflowPrintRequestedEventArgs +ABI::Windows::Devices::Printers::Extensions::PrintTaskConfiguration=@IPrintTaskConfiguration +ABI::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs=@IPrintTaskConfigurationSaveRequestedEventArgs +ABI::Windows::Devices::Printers::IppAttributeError=@IIppAttributeError +ABI::Windows::Devices::Printers::IppAttributeValue=@IIppAttributeValue +ABI::Windows::Devices::Printers::IppIntegerRange=@IIppIntegerRange +ABI::Windows::Devices::Printers::IppResolution=@IIppResolution +ABI::Windows::Devices::Printers::IppTextWithLanguage=@IIppTextWithLanguage +ABI::Windows::Devices::Printers::Print3DDevice=@IPrint3DDevice +ABI::Windows::Devices::Pwm::Provider::IPwmControllerProvider=@IPwmControllerProvider +ABI::Windows::Devices::Pwm::PwmController=@IPwmController +ABI::Windows::Devices::Radios::Radio=@IRadio +ABI::Windows::Devices::Sensors::Accelerometer=@IAccelerometer +ABI::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs=@IAccelerometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::AccelerometerShakenEventArgs=@IAccelerometerShakenEventArgs +ABI::Windows::Devices::Sensors::ActivitySensor=@IActivitySensor +ABI::Windows::Devices::Sensors::ActivitySensorReading=@IActivitySensorReading +ABI::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs=@IActivitySensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::ActivitySensorReadingChangeReport=@IActivitySensorReadingChangeReport +ABI::Windows::Devices::Sensors::Altimeter=@IAltimeter +ABI::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs=@IAltimeterReadingChangedEventArgs +ABI::Windows::Devices::Sensors::Barometer=@IBarometer +ABI::Windows::Devices::Sensors::BarometerReadingChangedEventArgs=@IBarometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::Compass=@ICompass +ABI::Windows::Devices::Sensors::CompassReadingChangedEventArgs=@ICompassReadingChangedEventArgs +ABI::Windows::Devices::Sensors::Gyrometer=@IGyrometer +ABI::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs=@IGyrometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::HingeAngleReading=@IHingeAngleReading +ABI::Windows::Devices::Sensors::HingeAngleSensor=@IHingeAngleSensor +ABI::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs=@IHingeAngleSensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::HumanPresenceFeatures=@IHumanPresenceFeatures +ABI::Windows::Devices::Sensors::HumanPresenceSensor=@IHumanPresenceSensor +ABI::Windows::Devices::Sensors::HumanPresenceSensorReadingChangedEventArgs=@IHumanPresenceSensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::HumanPresenceSettings=@IHumanPresenceSettings +ABI::Windows::Devices::Sensors::Inclinometer=@IInclinometer +ABI::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs=@IInclinometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::LightSensor=@ILightSensor +ABI::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs=@ILightSensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::Magnetometer=@IMagnetometer +ABI::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs=@IMagnetometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::OrientationSensor=@IOrientationSensor +ABI::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs=@IOrientationSensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::Pedometer=@IPedometer +ABI::Windows::Devices::Sensors::PedometerReading=@IPedometerReading +ABI::Windows::Devices::Sensors::PedometerReadingChangedEventArgs=@IPedometerReadingChangedEventArgs +ABI::Windows::Devices::Sensors::ProximitySensor=@IProximitySensor +ABI::Windows::Devices::Sensors::ProximitySensorReading=@IProximitySensorReading +ABI::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs=@IProximitySensorReadingChangedEventArgs +ABI::Windows::Devices::Sensors::SimpleOrientationSensor=@ISimpleOrientationSensor +ABI::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs=@ISimpleOrientationSensorOrientationChangedEventArgs +ABI::Windows::Devices::SmartCards::CardAddedEventArgs=@ICardAddedEventArgs +ABI::Windows::Devices::SmartCards::CardRemovedEventArgs=@ICardRemovedEventArgs +ABI::Windows::Devices::SmartCards::SmartCard=@ISmartCard +ABI::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration=@ISmartCardAppletIdGroupRegistration +ABI::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu=@ISmartCardAutomaticResponseApdu +ABI::Windows::Devices::SmartCards::SmartCardChallengeContext=@ISmartCardChallengeContext +ABI::Windows::Devices::SmartCards::SmartCardConnection=@ISmartCardConnection +ABI::Windows::Devices::SmartCards::SmartCardCryptogramGenerator=@ISmartCardCryptogramGenerator +ABI::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult=@ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult +ABI::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult=@ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult +ABI::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult=@ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult +ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialCharacteristics=@ISmartCardCryptogramMaterialCharacteristics +ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageCharacteristics=@ISmartCardCryptogramMaterialPackageCharacteristics +ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPossessionProof=@ISmartCardCryptogramMaterialPossessionProof +ABI::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep=@ISmartCardCryptogramPlacementStep +ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCharacteristics=@ISmartCardCryptogramStorageKeyCharacteristics +ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyInfo=@ISmartCardCryptogramStorageKeyInfo +ABI::Windows::Devices::SmartCards::SmartCardEmulator=@ISmartCardEmulator +ABI::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs=@ISmartCardEmulatorApduReceivedEventArgs +ABI::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs=@ISmartCardEmulatorConnectionDeactivatedEventArgs +ABI::Windows::Devices::SmartCards::SmartCardProvisioning=@ISmartCardProvisioning +ABI::Windows::Devices::SmartCards::SmartCardReader=@ISmartCardReader +ABI::Windows::Devices::Sms::ISmsBinaryMessage=@ISmsBinaryMessage +ABI::Windows::Devices::Sms::ISmsMessage=@ISmsMessage +ABI::Windows::Devices::Sms::SmsDevice2=@ISmsDevice2 +ABI::Windows::Devices::Sms::SmsDevice=@ISmsDevice +ABI::Windows::Devices::Sms::SmsFilterRule=@ISmsFilterRule +ABI::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails=@ISmsMessageReceivedTriggerDetails +ABI::Windows::Devices::Sms::SmsMessageRegistration=@ISmsMessageRegistration +ABI::Windows::Devices::Sms::SmsSendMessageResult=@ISmsSendMessageResult +ABI::Windows::Devices::Spi::Provider::ISpiControllerProvider=@ISpiControllerProvider +ABI::Windows::Devices::Spi::SpiController=@ISpiController +ABI::Windows::Devices::Spi::SpiDevice=@ISpiDevice +ABI::Windows::Foundation::Collections::IIterable=@IIterable +ABI::Windows::Foundation::Collections::IIterator=@IIterator +ABI::Windows::Foundation::Collections::IKeyValuePair=@IKeyValuePair +ABI::Windows::Foundation::Collections::IMap=@IMap +ABI::Windows::Foundation::Collections::IMapChangedEventArgs=@IMapChangedEventArgs +ABI::Windows::Foundation::Collections::IMapView=@IMapView +ABI::Windows::Foundation::Collections::IObservableMap=@IObservableMap +ABI::Windows::Foundation::Collections::IObservableVector=@IObservableVector +ABI::Windows::Foundation::Collections::IPropertySet=@IPropertySet +ABI::Windows::Foundation::Collections::IVector=@IVector +ABI::Windows::Foundation::Collections::IVectorChangedEventArgs=@IVectorChangedEventArgs +ABI::Windows::Foundation::Collections::IVectorView=@IVectorView +ABI::Windows::Foundation::Collections::MapChangedEventHandler=@MapChangedEventHandler +ABI::Windows::Foundation::Collections::VectorChangedEventHandler=@VectorChangedEventHandler +ABI::Windows::Foundation::DateTime=@WinRTDateTime +ABI::Windows::Foundation::IAsyncActionProgressHandler=@IAsyncActionProgressHandler +ABI::Windows::Foundation::IAsyncActionWithProgress=@IAsyncActionWithProgress +ABI::Windows::Foundation::IAsyncActionWithProgressCompletedHandler=@IAsyncActionWithProgressCompletedHandler +ABI::Windows::Foundation::IAsyncOperation=@IAsyncOperation +ABI::Windows::Foundation::IAsyncOperationCompletedHandler=@IAsyncOperationCompletedHandler +ABI::Windows::Foundation::IAsyncOperationProgressHandler=@IAsyncOperationProgressHandler +ABI::Windows::Foundation::IAsyncOperationWithProgress=@IAsyncOperationWithProgress +ABI::Windows::Foundation::IAsyncOperationWithProgressCompletedHandler=@IAsyncOperationWithProgressCompletedHandler +ABI::Windows::Foundation::IEventHandler=@IEventHandler +ABI::Windows::Foundation::IMemoryBufferReference=@IMemoryBufferReference +ABI::Windows::Foundation::IReference=@IReference +ABI::Windows::Foundation::ITypedEventHandler=@ITypedEventHandler +ABI::Windows::Foundation::IWwwFormUrlDecoderEntry=@IWwwFormUrlDecoderEntry +ABI::Windows::Foundation::Uri=@IUri +ABI::Windows::Globalization::JapanesePhoneme=@IJapanesePhoneme +ABI::Windows::Globalization::Language=@ILanguage +ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface=@IDirect3DSurface +ABI::Windows::Graphics::Display::BrightnessOverride=@IBrightnessOverride +ABI::Windows::Graphics::Display::Core::HdmiDisplayInformation=@IHdmiDisplayInformation +ABI::Windows::Graphics::Display::Core::HdmiDisplayMode=@IHdmiDisplayMode +ABI::Windows::Graphics::Display::DisplayEnhancementOverride=@IDisplayEnhancementOverride +ABI::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs=@IDisplayEnhancementOverrideCapabilitiesChangedEventArgs +ABI::Windows::Graphics::Display::DisplayInformation=@IDisplayInformation +ABI::Windows::Graphics::Imaging::BitmapCodecInformation=@IBitmapCodecInformation +ABI::Windows::Graphics::Imaging::BitmapDecoder=@IBitmapDecoder +ABI::Windows::Graphics::Imaging::BitmapEncoder=@IBitmapEncoder +ABI::Windows::Graphics::Imaging::BitmapFrame=@IBitmapFrame +ABI::Windows::Graphics::Imaging::BitmapPropertySet *=@IntPtr +ABI::Windows::Graphics::Imaging::BitmapTypedValue=@IBitmapTypedValue +ABI::Windows::Graphics::Imaging::ImageStream=@IntPtr +ABI::Windows::Graphics::Imaging::PixelDataProvider=@IPixelDataProvider +ABI::Windows::Graphics::Imaging::SoftwareBitmap=@ISoftwareBitmap +ABI::Windows::Graphics::Printing::PrintManager=@IPrintManager +ABI::Windows::Graphics::Printing::PrintPageRange=@IPrintPageRange +ABI::Windows::Graphics::Printing::PrintTask=@IPrintTask +ABI::Windows::Graphics::Printing::PrintTaskCompletedEventArgs=@IPrintTaskCompletedEventArgs +ABI::Windows::Graphics::Printing::PrintTaskProgressingEventArgs=@IPrintTaskProgressingEventArgs +ABI::Windows::Graphics::Printing::PrintTaskRequestedEventArgs=@IPrintTaskRequestedEventArgs +ABI::Windows::Media::Audio::AudioFileInputNode=@IAudioFileInputNode +ABI::Windows::Media::Audio::AudioFrameCompletedEventArgs=@IAudioFrameCompletedEventArgs +ABI::Windows::Media::Audio::AudioFrameInputNode=@IAudioFrameInputNode +ABI::Windows::Media::Audio::AudioGraph=@IAudioGraph +ABI::Windows::Media::Audio::AudioGraphConnection=@IAudioGraphConnection +ABI::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs=@IAudioGraphUnrecoverableErrorOccurredEventArgs +ABI::Windows::Media::Audio::AudioPlaybackConnection=@IAudioPlaybackConnection +ABI::Windows::Media::Audio::AudioPlaybackConnectionOpenResult=@IAudioPlaybackConnectionOpenResult +ABI::Windows::Media::Audio::AudioStateMonitor=@IAudioStateMonitor +ABI::Windows::Media::Audio::CreateAudioDeviceInputNodeResult=@ICreateAudioDeviceInputNodeResult +ABI::Windows::Media::Audio::CreateAudioDeviceOutputNodeResult=@ICreateAudioDeviceOutputNodeResult +ABI::Windows::Media::Audio::CreateAudioFileInputNodeResult=@ICreateAudioFileInputNodeResult +ABI::Windows::Media::Audio::CreateAudioFileOutputNodeResult=@ICreateAudioFileOutputNodeResult +ABI::Windows::Media::Audio::CreateAudioGraphResult=@ICreateAudioGraphResult +ABI::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult=@ICreateMediaSourceAudioInputNodeResult +ABI::Windows::Media::Audio::EqualizerBand=@IEqualizerBand +ABI::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs=@IFrameInputNodeQuantumStartedEventArgs +ABI::Windows::Media::Audio::MediaSourceAudioInputNode=@IMediaSourceAudioInputNode +ABI::Windows::Media::Audio::SetDefaultSpatialAudioFormatResult=@ISetDefaultSpatialAudioFormatResult +ABI::Windows::Media::Audio::SpatialAudioDeviceConfiguration=@ISpatialAudioDeviceConfiguration +ABI::Windows::Media::AutoRepeatModeChangeRequestedEventArgs=@IAutoRepeatModeChangeRequestedEventArgs +ABI::Windows::Media::Capture::AdvancedCapturedPhoto=@IAdvancedCapturedPhoto +ABI::Windows::Media::Capture::AdvancedPhotoCapture=@IAdvancedPhotoCapture +ABI::Windows::Media::Capture::AppBroadcastBackgroundService=@IAppBroadcastBackgroundService +ABI::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo=@IAppBroadcastBackgroundServiceSignInInfo +ABI::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo=@IAppBroadcastBackgroundServiceStreamInfo +ABI::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs=@IAppBroadcastCameraCaptureStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs=@IAppBroadcastHeartbeatRequestedEventArgs +ABI::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs=@IAppBroadcastMicrophoneCaptureStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastPlugIn=@IAppBroadcastPlugIn +ABI::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs=@IAppBroadcastPlugInStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastPreview=@IAppBroadcastPreview +ABI::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs=@IAppBroadcastPreviewStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastPreviewStreamReader=@IAppBroadcastPreviewStreamReader +ABI::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs=@IAppBroadcastSignInStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastState=@IAppBroadcastState +ABI::Windows::Media::Capture::AppBroadcastStreamReader=@IAppBroadcastStreamReader +ABI::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs=@IAppBroadcastStreamStateChangedEventArgs +ABI::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs=@IAppBroadcastViewerCountChangedEventArgs +ABI::Windows::Media::Capture::AppCapture=@IAppCapture +ABI::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs=@IAppCaptureDurationGeneratedEventArgs +ABI::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs=@IAppCaptureFileGeneratedEventArgs +ABI::Windows::Media::Capture::AppCaptureMetadataWriter=@IAppCaptureMetadataWriter +ABI::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs=@IAppCaptureMicrophoneCaptureStateChangedEventArgs +ABI::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs=@IAppCaptureRecordingStateChangedEventArgs +ABI::Windows::Media::Capture::AppCaptureRecordOperation=@IAppCaptureRecordOperation +ABI::Windows::Media::Capture::AppCaptureState=@IAppCaptureState +ABI::Windows::Media::Capture::CapturedPhoto=@ICapturedPhoto +ABI::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs=@IVariablePhotoCapturedEventArgs +ABI::Windows::Media::Capture::Core::VariablePhotoSequenceCapture=@IVariablePhotoSequenceCapture +ABI::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs=@IMediaFrameArrivedEventArgs +ABI::Windows::Media::Capture::Frames::MediaFrameFormat=@IMediaFrameFormat +ABI::Windows::Media::Capture::Frames::MediaFrameReader=@IMediaFrameReader +ABI::Windows::Media::Capture::Frames::MediaFrameSource=@IMediaFrameSource +ABI::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult=@IMediaFrameSourceGetPropertyResult +ABI::Windows::Media::Capture::Frames::MediaFrameSourceGroup=@IMediaFrameSourceGroup +ABI::Windows::Media::Capture::Frames::MediaFrameSourceInfo=@IMediaFrameSourceInfo +ABI::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs=@IMultiSourceMediaFrameArrivedEventArgs +ABI::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader=@IMultiSourceMediaFrameReader +ABI::Windows::Media::Capture::GameBarServices=@IGameBarServices +ABI::Windows::Media::Capture::GameBarServicesCommandEventArgs=@IGameBarServicesCommandEventArgs +ABI::Windows::Media::Capture::GameBarServicesManager=@IGameBarServicesManager +ABI::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs=@IGameBarServicesManagerGameBarServicesCreatedEventArgs +ABI::Windows::Media::Capture::LowLagMediaRecording=@ILowLagMediaRecording +ABI::Windows::Media::Capture::LowLagPhotoCapture=@ILowLagPhotoCapture +ABI::Windows::Media::Capture::LowLagPhotoSequenceCapture=@ILowLagPhotoSequenceCapture +ABI::Windows::Media::Capture::MediaCapture=@IMediaCapture +ABI::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs=@IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs +ABI::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs=@IMediaCaptureFocusChangedEventArgs +ABI::Windows::Media::Capture::MediaCapturePauseResult=@IMediaCapturePauseResult +ABI::Windows::Media::Capture::MediaCaptureRelativePanelWatcher=@IMediaCaptureRelativePanelWatcher +ABI::Windows::Media::Capture::MediaCaptureStopResult=@IMediaCaptureStopResult +ABI::Windows::Media::Capture::MediaCaptureVideoProfile=@IMediaCaptureVideoProfile +ABI::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription=@IMediaCaptureVideoProfileMediaDescription +ABI::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs=@IOptionalReferencePhotoCapturedEventArgs +ABI::Windows::Media::Capture::PhotoCapturedEventArgs=@IPhotoCapturedEventArgs +ABI::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs=@IPhotoConfirmationCapturedEventArgs +ABI::Windows::Media::Casting::CastingConnection=@ICastingConnection +ABI::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs=@ICastingConnectionErrorOccurredEventArgs +ABI::Windows::Media::Casting::CastingDevice=@ICastingDevice +ABI::Windows::Media::Casting::CastingDevicePicker=@ICastingDevicePicker +ABI::Windows::Media::Casting::CastingDeviceSelectedEventArgs=@ICastingDeviceSelectedEventArgs +ABI::Windows::Media::Casting::CastingSource=@ICastingSource +ABI::Windows::Media::Core::AudioStreamDescriptor=@IAudioStreamDescriptor +ABI::Windows::Media::Core::AudioTrack=@IAudioTrack +ABI::Windows::Media::Core::AudioTrackOpenFailedEventArgs=@IAudioTrackOpenFailedEventArgs +ABI::Windows::Media::Core::CodecInfo=@ICodecInfo +ABI::Windows::Media::Core::FaceDetectedEventArgs=@IFaceDetectedEventArgs +ABI::Windows::Media::Core::FaceDetectionEffect=@IFaceDetectionEffect +ABI::Windows::Media::Core::IMediaCue=@IMediaCue +ABI::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs=@IInitializeMediaStreamSourceRequestedEventArgs +ABI::Windows::Media::Core::ISingleSelectMediaTrackList=@ISingleSelectMediaTrackList +ABI::Windows::Media::Core::LowLightFusionResult=@ILowLightFusionResult +ABI::Windows::Media::Core::MediaBinder=@IMediaBinder +ABI::Windows::Media::Core::MediaBindingEventArgs=@IMediaBindingEventArgs +ABI::Windows::Media::Core::MediaCueEventArgs=@IMediaCueEventArgs +ABI::Windows::Media::Core::MediaSource=@IMediaSource +ABI::Windows::Media::Core::MediaSourceAppServiceConnection=@IMediaSourceAppServiceConnection +ABI::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs=@IMediaSourceOpenOperationCompletedEventArgs +ABI::Windows::Media::Core::MediaSourceStateChangedEventArgs=@IMediaSourceStateChangedEventArgs +ABI::Windows::Media::Core::MediaStreamSample=@IMediaStreamSample +ABI::Windows::Media::Core::MediaStreamSource=@IMediaStreamSource +ABI::Windows::Media::Core::MediaStreamSourceClosedEventArgs=@IMediaStreamSourceClosedEventArgs +ABI::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs=@IMediaStreamSourceSampleRenderedEventArgs +ABI::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs=@IMediaStreamSourceSampleRequestedEventArgs +ABI::Windows::Media::Core::MediaStreamSourceStartingEventArgs=@IMediaStreamSourceStartingEventArgs +ABI::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs=@IMediaStreamSourceSwitchStreamsRequestedEventArgs +ABI::Windows::Media::Core::MseSourceBuffer=@IMseSourceBuffer +ABI::Windows::Media::Core::MseSourceBufferList=@IMseSourceBufferList +ABI::Windows::Media::Core::MseStreamSource=@IMseStreamSource +ABI::Windows::Media::Core::SceneAnalysisEffect=@ISceneAnalysisEffect +ABI::Windows::Media::Core::SceneAnalyzedEventArgs=@ISceneAnalyzedEventArgs +ABI::Windows::Media::Core::TimedMetadataStreamDescriptor=@ITimedMetadataStreamDescriptor +ABI::Windows::Media::Core::TimedMetadataTrack=@ITimedMetadataTrack +ABI::Windows::Media::Core::TimedMetadataTrackFailedEventArgs=@ITimedMetadataTrackFailedEventArgs +ABI::Windows::Media::Core::TimedTextLine=@ITimedTextLine +ABI::Windows::Media::Core::TimedTextSource=@ITimedTextSource +ABI::Windows::Media::Core::TimedTextSourceResolveResultEventArgs=@ITimedTextSourceResolveResultEventArgs +ABI::Windows::Media::Core::TimedTextSubformat=@ITimedTextSubformat +ABI::Windows::Media::Core::VideoStabilizationEffect=@IVideoStabilizationEffect +ABI::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs=@IVideoStabilizationEffectEnabledChangedEventArgs +ABI::Windows::Media::Core::VideoStreamDescriptor=@IVideoStreamDescriptor +ABI::Windows::Media::Core::VideoTrack=@IVideoTrack +ABI::Windows::Media::Core::VideoTrackOpenFailedEventArgs=@IVideoTrackOpenFailedEventArgs +ABI::Windows::Media::Devices::AudioDeviceModule=@IAudioDeviceModule +ABI::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs=@IAudioDeviceModuleNotificationEventArgs +ABI::Windows::Media::Devices::AudioDeviceModulesManager=@IAudioDeviceModulesManager +ABI::Windows::Media::Devices::CameraOcclusionInfo=@ICameraOcclusionInfo +ABI::Windows::Media::Devices::CameraOcclusionStateChangedEventArgs=@ICameraOcclusionStateChangedEventArgs +ABI::Windows::Media::Devices::Core::FrameController=@IFrameController +ABI::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs *=@IntPtr +ABI::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs *=@IntPtr +ABI::Windows::Media::Devices::DigitalWindowCapability=@IDigitalWindowCapability +ABI::Windows::Media::Devices::ModuleCommandResult=@IModuleCommandResult +ABI::Windows::Media::Devices::RegionOfInterest=@IRegionOfInterest +ABI::Windows::Media::Editing::BackgroundAudioTrack=@IBackgroundAudioTrack +ABI::Windows::Media::Editing::EmbeddedAudioTrack=@IEmbeddedAudioTrack +ABI::Windows::Media::Editing::MediaClip=@IMediaClip +ABI::Windows::Media::Editing::MediaComposition=@IMediaComposition +ABI::Windows::Media::Editing::MediaOverlay=@IMediaOverlay +ABI::Windows::Media::Editing::MediaOverlayLayer=@IMediaOverlayLayer +ABI::Windows::Media::Effects::AudioCaptureEffectsManager=@IAudioCaptureEffectsManager +ABI::Windows::Media::Effects::AudioEffect=@IAudioEffect +ABI::Windows::Media::Effects::AudioRenderEffectsManager=@IAudioRenderEffectsManager +ABI::Windows::Media::Effects::IVideoEffectDefinition=@IVideoEffectDefinition +ABI::Windows::Media::FaceAnalysis::DetectedFace=@IDetectedFace +ABI::Windows::Media::FaceAnalysis::FaceDetector=@IFaceDetector +ABI::Windows::Media::FaceAnalysis::FaceTracker=@IFaceTracker +ABI::Windows::Media::IMediaExtension=@IMediaExtension +ABI::Windows::Media::IMediaMarker=@IMediaMarker +ABI::Windows::Media::MediaProperties::AudioEncodingProperties=@IAudioEncodingProperties +ABI::Windows::Media::MediaProperties::IMediaEncodingProperties=@IMediaEncodingProperties +ABI::Windows::Media::MediaProperties::MediaEncodingProfile=@IMediaEncodingProfile +ABI::Windows::Media::MediaProperties::VideoEncodingProperties=@IVideoEncodingProperties +ABI::Windows::Media::MediaTimelineController=@IMediaTimelineController +ABI::Windows::Media::MediaTimelineControllerFailedEventArgs=@IMediaTimelineControllerFailedEventArgs +ABI::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs=@ICurrentMediaPlaybackItemChangedEventArgs +ABI::Windows::Media::Playback::MediaBreak=@IMediaBreak +ABI::Windows::Media::Playback::MediaBreakEndedEventArgs=@IMediaBreakEndedEventArgs +ABI::Windows::Media::Playback::MediaBreakManager=@IMediaBreakManager +ABI::Windows::Media::Playback::MediaBreakSchedule=@IMediaBreakSchedule +ABI::Windows::Media::Playback::MediaBreakSeekedOverEventArgs=@IMediaBreakSeekedOverEventArgs +ABI::Windows::Media::Playback::MediaBreakSkippedEventArgs=@IMediaBreakSkippedEventArgs +ABI::Windows::Media::Playback::MediaBreakStartedEventArgs=@IMediaBreakStartedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManager=@IMediaPlaybackCommandManager +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs=@IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior=@IMediaPlaybackCommandManagerCommandBehavior +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs=@IMediaPlaybackCommandManagerFastForwardReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs=@IMediaPlaybackCommandManagerNextReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs=@IMediaPlaybackCommandManagerPauseReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs=@IMediaPlaybackCommandManagerPlayReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs=@IMediaPlaybackCommandManagerPositionReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs=@IMediaPlaybackCommandManagerPreviousReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs=@IMediaPlaybackCommandManagerRateReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs=@IMediaPlaybackCommandManagerRewindReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs=@IMediaPlaybackCommandManagerShuffleReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackItem=@IMediaPlaybackItem +ABI::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs=@IMediaPlaybackItemFailedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs=@IMediaPlaybackItemOpenedEventArgs +ABI::Windows::Media::Playback::MediaPlaybackList=@IMediaPlaybackList +ABI::Windows::Media::Playback::MediaPlaybackSession=@IMediaPlaybackSession +ABI::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList=@IMediaPlaybackTimedMetadataTrackList +ABI::Windows::Media::Playback::MediaPlayer=@IMediaPlayer +ABI::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs=@IMediaPlayerDataReceivedEventArgs +ABI::Windows::Media::Playback::MediaPlayerFailedEventArgs=@IMediaPlayerFailedEventArgs +ABI::Windows::Media::Playback::MediaPlayerRateChangedEventArgs=@IMediaPlayerRateChangedEventArgs +ABI::Windows::Media::Playback::PlaybackMediaMarker=@IPlaybackMediaMarker +ABI::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs=@IPlaybackMediaMarkerReachedEventArgs +ABI::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs=@ITimedMetadataPresentationModeChangedEventArgs +ABI::Windows::Media::PlaybackPositionChangeRequestedEventArgs=@IPlaybackPositionChangeRequestedEventArgs +ABI::Windows::Media::PlaybackRateChangeRequestedEventArgs=@IPlaybackRateChangeRequestedEventArgs +ABI::Windows::Media::Protection::HdcpSession=@IHdcpSession +ABI::Windows::Media::Protection::RevocationAndRenewalItem=@IRevocationAndRenewalItem +ABI::Windows::Media::ShuffleEnabledChangeRequestedEventArgs=@IShuffleEnabledChangeRequestedEventArgs +ABI::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint=@ISpeechRecognitionConstraint +ABI::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs=@ISpeechContinuousRecognitionCompletedEventArgs +ABI::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs=@ISpeechContinuousRecognitionResultGeneratedEventArgs +ABI::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession=@ISpeechContinuousRecognitionSession +ABI::Windows::Media::SpeechRecognition::SpeechRecognitionCompilationResult=@ISpeechRecognitionCompilationResult +ABI::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs=@ISpeechRecognitionHypothesisGeneratedEventArgs +ABI::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs=@ISpeechRecognitionQualityDegradingEventArgs +ABI::Windows::Media::SpeechRecognition::SpeechRecognitionResult=@ISpeechRecognitionResult +ABI::Windows::Media::SpeechRecognition::SpeechRecognizer=@ISpeechRecognizer +ABI::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs=@ISpeechRecognizerStateChangedEventArgs +ABI::Windows::Media::SpeechRecognition::VoiceCommandSet=@IVoiceCommandSet +ABI::Windows::Media::Streaming::ActiveBasicDevice=@IActiveBasicDevice +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource=@IAdaptiveMediaSource +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult=@IAdaptiveMediaSourceCreationResult +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs=@IAdaptiveMediaSourceDiagnosticAvailableEventArgs +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics=@IAdaptiveMediaSourceDiagnostics +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs=@IAdaptiveMediaSourceDownloadBitrateChangedEventArgs +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs=@IAdaptiveMediaSourceDownloadCompletedEventArgs +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs=@IAdaptiveMediaSourceDownloadFailedEventArgs +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs=@IAdaptiveMediaSourceDownloadRequestedEventArgs +ABI::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs=@IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs +ABI::Windows::Media::Streaming::DevicePair=@IDevicePair +ABI::Windows::Media::Streaming::IBasicDevice=@IBasicDevice +ABI::Windows::Media::Streaming::IDeviceIcon=@IDeviceIcon +ABI::Windows::Media::Streaming::MediaRenderer=@IMediaRenderer +ABI::Windows::Media::SystemMediaTransportControls=@ISystemMediaTransportControls +ABI::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs=@ISystemMediaTransportControlsButtonPressedEventArgs +ABI::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs=@ISystemMediaTransportControlsPropertyChangedEventArgs +ABI::Windows::Media::Transcoding::PrepareTranscodeResult=@IPrepareTranscodeResult +ABI::Windows::Media::VideoFrame=@IVideoFrame +ABI::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart=@IBackgroundTransferContentPart +ABI::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs=@IBackgroundTransferRangesDownloadedEventArgs +ABI::Windows::Networking::BackgroundTransfer::DownloadOperation=@IDownloadOperation +ABI::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult=@IUnconstrainedTransferRequestResult +ABI::Windows::Networking::BackgroundTransfer::UploadOperation=@IUploadOperation +ABI::Windows::Networking::Connectivity::AttributedNetworkUsage=@IAttributedNetworkUsage +ABI::Windows::Networking::Connectivity::ConnectionProfile=@IConnectionProfile +ABI::Windows::Networking::Connectivity::ConnectionSession=@IConnectionSession +ABI::Windows::Networking::Connectivity::ConnectivityInterval=@IConnectivityInterval +ABI::Windows::Networking::Connectivity::LanIdentifier=@ILanIdentifier +ABI::Windows::Networking::Connectivity::NetworkUsage=@INetworkUsage +ABI::Windows::Networking::Connectivity::ProviderNetworkUsage=@IProviderNetworkUsage +ABI::Windows::Networking::Connectivity::ProxyConfiguration=@IProxyConfiguration +ABI::Windows::Networking::EndpointPair=@IEndpointPair +ABI::Windows::Networking::HostName=@IHostName +ABI::Windows::Networking::Sockets::DatagramSocket=@IDatagramSocket +ABI::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs=@IDatagramSocketMessageReceivedEventArgs +ABI::Windows::Networking::Sockets::IWebSocket=@IWebSocket +ABI::Windows::Networking::Sockets::MessageWebSocket=@IMessageWebSocket +ABI::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs=@IMessageWebSocketMessageReceivedEventArgs +ABI::Windows::Networking::Sockets::ServerMessageWebSocket=@IServerMessageWebSocket +ABI::Windows::Networking::Sockets::ServerStreamWebSocket=@IServerStreamWebSocket +ABI::Windows::Networking::Sockets::SocketActivityInformation=@ISocketActivityInformation +ABI::Windows::Networking::Sockets::StreamSocketListener=@IStreamSocketListener +ABI::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs=@IStreamSocketListenerConnectionReceivedEventArgs +ABI::Windows::Networking::Sockets::StreamWebSocket=@IStreamWebSocket +ABI::Windows::Networking::Sockets::WebSocketClosedEventArgs=@IWebSocketClosedEventArgs +ABI::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs=@IWebSocketServerCustomValidationRequestedEventArgs +ABI::Windows::Perception::Spatial::SpatialAnchor=@ISpatialAnchor +ABI::Windows::Perception::Spatial::SpatialAnchorExportSufficiency=@ISpatialAnchorExportSufficiency +ABI::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs=@ISpatialAnchorRawCoordinateSystemAdjustedEventArgs +ABI::Windows::Perception::Spatial::SpatialAnchorStore=@ISpatialAnchorStore +ABI::Windows::Perception::Spatial::SpatialEntityAddedEventArgs=@ISpatialEntityAddedEventArgs +ABI::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs=@ISpatialEntityRemovedEventArgs +ABI::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs=@ISpatialEntityUpdatedEventArgs +ABI::Windows::Perception::Spatial::SpatialEntityWatcher=@ISpatialEntityWatcher +ABI::Windows::Perception::Spatial::SpatialLocator=@ISpatialLocator +ABI::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs=@ISpatialLocatorPositionalTrackingDeactivatingEventArgs +ABI::Windows::Perception::Spatial::SpatialStageFrameOfReference=@ISpatialStageFrameOfReference +ABI::Windows::Security::Authentication::Web::Core::FindAllAccountsResult=@IFindAllAccountsResult +ABI::Windows::Security::Authentication::Web::Core::WebAccountEventArgs=@IWebAccountEventArgs +ABI::Windows::Security::Authentication::Web::Core::WebAccountMonitor=@IWebAccountMonitor +ABI::Windows::Security::Authentication::Web::Core::WebTokenRequestResult=@IWebTokenRequestResult +ABI::Windows::Security::Authentication::Web::Core::WebTokenResponse=@IWebTokenResponse +ABI::Windows::Security::Authentication::Web::Provider::WebAccountClientView=@IWebAccountClientView +ABI::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse=@IWebProviderTokenResponse +ABI::Windows::Security::Authentication::Web::WebAuthenticationResult=@IWebAuthenticationResult +ABI::Windows::Security::Credentials::KeyCredentialAttestationResult=@IKeyCredentialAttestationResult +ABI::Windows::Security::Credentials::KeyCredentialOperationResult=@IKeyCredentialOperationResult +ABI::Windows::Security::Credentials::KeyCredentialRetrievalResult=@IKeyCredentialRetrievalResult +ABI::Windows::Security::Credentials::PasswordCredential=@IPasswordCredential +ABI::Windows::Security::Credentials::WebAccount=@IWebAccount +ABI::Windows::Security::Credentials::WebAccountProvider=@IWebAccountProvider +ABI::Windows::Security::Cryptography::Certificates::Certificate=@ICertificate +ABI::Windows::Security::Cryptography::Certificates::CertificateChain=@ICertificateChain +ABI::Windows::Security::Cryptography::Certificates::CertificateExtension=@ICertificateExtension +ABI::Windows::Security::Cryptography::Certificates::CmsSignerInfo=@ICmsSignerInfo +ABI::Windows::Security::Cryptography::Core::CryptographicKey=@ICryptographicKey +ABI::Windows::Security::EnterpriseData::BufferProtectUnprotectResult=@IBufferProtectUnprotectResult +ABI::Windows::Security::EnterpriseData::DataProtectionInfo=@IDataProtectionInfo +ABI::Windows::Security::EnterpriseData::FileProtectionInfo=@IFileProtectionInfo +ABI::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs=@IProtectedAccessResumedEventArgs +ABI::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs=@IProtectedAccessSuspendingEventArgs +ABI::Windows::Security::EnterpriseData::ProtectedContainerExportResult=@IProtectedContainerExportResult +ABI::Windows::Security::EnterpriseData::ProtectedContainerImportResult=@IProtectedContainerImportResult +ABI::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs=@IProtectedContentRevokedEventArgs +ABI::Windows::Security::EnterpriseData::ProtectedFileCreateResult=@IProtectedFileCreateResult +ABI::Windows::Storage::ApplicationData=@IApplicationData +ABI::Windows::Storage::ApplicationDataContainer=@IApplicationDataContainer +ABI::Windows::Storage::FileProperties::BasicProperties=@IBasicProperties +ABI::Windows::Storage::FileProperties::DocumentPropertiesW=@IDocumentProperties +ABI::Windows::Storage::FileProperties::ImageProperties=@ImageProperties +ABI::Windows::Storage::FileProperties::MusicProperties=@IMusicProperties +ABI::Windows::Storage::FileProperties::StorageItemThumbnail=@IntPtr +ABI::Windows::Storage::FileProperties::VideoProperties=@IVideoProperties +ABI::Windows::Storage::IStorageItem=@IStorageItem +ABI::Windows::Storage::Pickers::Provider::FileOpenPickerUI=@IFileOpenPickerUI +ABI::Windows::Storage::Pickers::Provider::FileRemovedEventArgs=@IFileRemovedEventArgs +ABI::Windows::Storage::Pickers::Provider::FileSavePickerUI=@IFileSavePickerUI +ABI::Windows::Storage::Pickers::Provider::PickerClosingEventArgs=@IPickerClosingEventArgs +ABI::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs=@ITargetFileRequestedEventArgs +ABI::Windows::Storage::Provider::CachedFileUpdaterUI=@ICachedFileUpdaterUI +ABI::Windows::Storage::Provider::FileUpdateRequestedEventArgs=@IFileUpdateRequestedEventArgs +ABI::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfoSource=@IStorageProviderKnownFolderSyncInfoSource +ABI::Windows::Storage::Provider::IStorageProviderStatusUISource=@IStorageProviderStatusUISource +ABI::Windows::Storage::Provider::IStorageProviderUICommand=@IStorageProviderUICommand +ABI::Windows::Storage::Provider::StorageProviderFileTypeInfo=@IStorageProviderFileTypeInfo +ABI::Windows::Storage::Provider::StorageProviderItemProperty=@IStorageProviderItemProperty +ABI::Windows::Storage::Provider::StorageProviderItemPropertyDefinition=@IStorageProviderItemPropertyDefinition +ABI::Windows::Storage::Provider::StorageProviderKnownFolderEntry=@IStorageProviderKnownFolderEntry +ABI::Windows::Storage::Provider::StorageProviderSyncRootInfo=@IStorageProviderSyncRootInfo +ABI::Windows::Storage::Search::IIndexableContent=@IIndexableContent +ABI::Windows::Storage::Search::IStorageQueryResultBase=@IStorageQueryResultBase +ABI::Windows::Storage::StorageFile=@IStorageFile +ABI::Windows::Storage::StorageFolder=@IStorageFolder +ABI::Windows::Storage::StorageLibrary=@IStorageLibrary +ABI::Windows::Storage::StorageLibraryChange=@IStorageLibraryChange +ABI::Windows::Storage::StorageStreamTransaction=@IStorageStreamTransaction +ABI::Windows::Storage::Streams::IBuffer=@IBuffer +ABI::Windows::Storage::Streams::IInputStream=@IInputStream +ABI::Windows::Storage::Streams::IOutputStream=@IOutputStream +ABI::Windows::Storage::Streams::RandomAccessStreamReference=@IRandomAccessStreamReference +ABI::Windows::System::AppActivationResult=@IAppActivationResult +ABI::Windows::System::AppDiagnosticInfo=@IAppDiagnosticInfo +ABI::Windows::System::AppDiagnosticInfoWatcher=@IAppDiagnosticInfoWatcher +ABI::Windows::System::AppDiagnosticInfoWatcherEventArgs=@IAppDiagnosticInfoWatcherEventArgs +ABI::Windows::System::AppExecutionStateChangeResult=@IAppExecutionStateChangeResult +ABI::Windows::System::AppMemoryUsageLimitChangingEventArgs=@IAppMemoryUsageLimitChangingEventArgs +ABI::Windows::System::AppResourceGroupBackgroundTaskReport=@IAppResourceGroupBackgroundTaskReport +ABI::Windows::System::AppResourceGroupInfo=@IAppResourceGroupInfo +ABI::Windows::System::AppResourceGroupInfoWatcher=@IAppResourceGroupInfoWatcher +ABI::Windows::System::AppResourceGroupInfoWatcherEventArgs=@IAppResourceGroupInfoWatcherEventArgs +ABI::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs=@IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs +ABI::Windows::System::AppUriHandlerHost=@IAppUriHandlerHost +ABI::Windows::System::Diagnostics::DiagnosticActionResult=@IDiagnosticActionResult +ABI::Windows::System::Diagnostics::ProcessDiagnosticInfo=@IProcessDiagnosticInfo +ABI::Windows::System::DispatcherQueue=@IDispatcherQueue +ABI::Windows::System::DispatcherQueueShutdownStartingEventArgs=@IDispatcherQueueShutdownStartingEventArgs +ABI::Windows::System::DispatcherQueueTimer=@IDispatcherQueueTimer +ABI::Windows::System::LaunchUriResult=@ILaunchUriResult +ABI::Windows::System::ProcessLauncherResult=@IProcessLauncherResult +ABI::Windows::System::RemoteSystems::IRemoteSystemFilter=@IRemoteSystemFilter +ABI::Windows::System::RemoteSystems::RemoteSystem=@IRemoteSystem +ABI::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs=@IRemoteSystemAddedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemApp=@IRemoteSystemApp +ABI::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs=@IRemoteSystemEnumerationCompletedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs=@IRemoteSystemRemovedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSession=@IRemoteSystemSession +ABI::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs=@IRemoteSystemSessionAddedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionController=@IRemoteSystemSessionController +ABI::Windows::System::RemoteSystems::RemoteSystemSessionCreationResult=@IRemoteSystemSessionCreationResult +ABI::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs=@IRemoteSystemSessionDisconnectedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener=@IRemoteSystemSessionInvitationListener +ABI::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs=@IRemoteSystemSessionInvitationReceivedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs=@IRemoteSystemSessionJoinRequestedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionJoinResult=@IRemoteSystemSessionJoinResult +ABI::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel=@IRemoteSystemSessionMessageChannel +ABI::Windows::System::RemoteSystems::RemoteSystemSessionParticipant=@IRemoteSystemSessionParticipant +ABI::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs=@IRemoteSystemSessionParticipantAddedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs=@IRemoteSystemSessionParticipantRemovedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher=@IRemoteSystemSessionParticipantWatcher +ABI::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs=@IRemoteSystemSessionRemovedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs=@IRemoteSystemSessionUpdatedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs=@IRemoteSystemSessionValueSetReceivedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemSessionWatcher=@IRemoteSystemSessionWatcher +ABI::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs=@IRemoteSystemUpdatedEventArgs +ABI::Windows::System::RemoteSystems::RemoteSystemWatcher=@IRemoteSystemWatcher +ABI::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs=@IRemoteSystemWatcherErrorOccurredEventArgs +ABI::Windows::System::User=@IUser +ABI::Windows::System::UserAuthenticationStatusChangingEventArgs=@IUserAuthenticationStatusChangingEventArgs +ABI::Windows::System::UserChangedEventArgs=@IUserChangedEventArgs +ABI::Windows::System::UserDeviceAssociationChangedEventArgs=@IUserDeviceAssociationChangedEventArgs +ABI::Windows::System::UserWatcher=@IUserWatcher +ABI::Windows::UI::Composition::CompositionAnimation=@ICompositionAnimation +ABI::Windows::UI::Composition::CompositionBatchCompletedEventArgs=@ICompositionBatchCompletedEventArgs +ABI::Windows::UI::Composition::CompositionCapabilities=@ICompositionCapabilities +ABI::Windows::UI::Composition::CompositionColorGradientStop=@ICompositionColorGradientStop +ABI::Windows::UI::Composition::CompositionGraphicsDevice=@ICompositionGraphicsDevice +ABI::Windows::UI::Composition::CompositionProjectedShadowCaster=@ICompositionProjectedShadowCaster +ABI::Windows::UI::Composition::CompositionProjectedShadowReceiver=@ICompositionProjectedShadowReceiver +ABI::Windows::UI::Composition::CompositionShape=@ICompositionShape +ABI::Windows::UI::Composition::Core::CompositorController=@ICompositorController +ABI::Windows::UI::Composition::ICompositionAnimationBase=@ICompositionAnimationBase +ABI::Windows::UI::Composition::ICompositionSurface=@ICompositionSurface +ABI::Windows::UI::Composition::IVisualElement=@IVisualElement +ABI::Windows::UI::Composition::RenderingDeviceReplacedEventArgs=@IRenderingDeviceReplacedEventArgs +ABI::Windows::UI::Composition::Visual=@IVisual +ABI::Windows::UI::Core::AcceleratorKeyEventArgs=@IAcceleratorKeyEventArgs +ABI::Windows::UI::Core::AutomationProviderRequestedEventArgs=@IAutomationProviderRequestedEventArgs +ABI::Windows::UI::Core::BackRequestedEventArgs=@IBackRequestedEventArgs +ABI::Windows::UI::Core::CharacterReceivedEventArgs=@ICharacterReceivedEventArgs +ABI::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs=@IClosestInteractiveBoundsRequestedEventArgs +ABI::Windows::UI::Core::CoreComponentInputSource *=@IntPtr +ABI::Windows::UI::Core::CoreDispatcher=@ICoreDispatcher +ABI::Windows::UI::Core::CoreWindow=@ICoreWindow +ABI::Windows::UI::Core::CoreWindowEventArgs=@ICoreWindowEventArgs +ABI::Windows::UI::Core::CoreWindowPopupShowingEventArgs=@ICoreWindowPopupShowingEventArgs +ABI::Windows::UI::Core::ICorePointerRedirector=@ICorePointerRedirector +ABI::Windows::UI::Core::InputEnabledEventArgs=@IInputEnabledEventArgs +ABI::Windows::UI::Core::KeyEventArgs=@IKeyEventArgs +ABI::Windows::UI::Core::PointerEventArgs=@IPointerEventArgs +ABI::Windows::UI::Core::TouchHitTestingEventArgs=@ITouchHitTestingEventArgs +ABI::Windows::UI::Core::VisibilityChangedEventArgs=@IVisibilityChangedEventArgs +ABI::Windows::UI::Core::WindowActivatedEventArgs=@IWindowActivatedEventArgs +ABI::Windows::UI::Core::WindowSizeChangedEventArgs=@IWindowSizeChangedEventArgs +ABI::Windows::UI::Input::CrossSlidingEventArgs=@ICrossSlidingEventArgs +ABI::Windows::UI::Input::DraggingEventArgs=@IDraggingEventArgs +ABI::Windows::UI::Input::EdgeGesture=@IEdgeGesture +ABI::Windows::UI::Input::EdgeGestureEventArgs=@IEdgeGestureEventArgs +ABI::Windows::UI::Input::GestureRecognizer=@IGestureRecognizer +ABI::Windows::UI::Input::HoldingEventArgs=@IHoldingEventArgs +ABI::Windows::UI::Input::InputActivationListener=@IInputActivationListener +ABI::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs=@IInputActivationListenerActivationChangedEventArgs +ABI::Windows::UI::Input::KeyboardDeliveryInterceptor=@IKeyboardDeliveryInterceptor +ABI::Windows::UI::Input::ManipulationCompletedEventArgs=@IManipulationCompletedEventArgs +ABI::Windows::UI::Input::ManipulationInertiaStartingEventArgs=@IManipulationInertiaStartingEventArgs +ABI::Windows::UI::Input::ManipulationStartedEventArgs=@IManipulationStartedEventArgs +ABI::Windows::UI::Input::ManipulationUpdatedEventArgs=@IManipulationUpdatedEventArgs +ABI::Windows::UI::Input::PointerPoint=@IPointerPoint +ABI::Windows::UI::Input::RadialController=@IRadialController +ABI::Windows::UI::Input::RadialControllerButtonClickedEventArgs=@IRadialControllerButtonClickedEventArgs +ABI::Windows::UI::Input::RadialControllerButtonHoldingEventArgs=@IRadialControllerButtonHoldingEventArgs +ABI::Windows::UI::Input::RadialControllerButtonPressedEventArgs=@IRadialControllerButtonPressedEventArgs +ABI::Windows::UI::Input::RadialControllerButtonReleasedEventArgs=@IRadialControllerButtonReleasedEventArgs +ABI::Windows::UI::Input::RadialControllerControlAcquiredEventArgs=@IRadialControllerControlAcquiredEventArgs +ABI::Windows::UI::Input::RadialControllerMenuItem=@IRadialControllerMenuItem +ABI::Windows::UI::Input::RadialControllerRotationChangedEventArgs=@IRadialControllerRotationChangedEventArgs +ABI::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs=@IRadialControllerScreenContactContinuedEventArgs +ABI::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs=@IRadialControllerScreenContactStartedEventArgs +ABI::Windows::UI::Input::RightTappedEventArgs=@IRightTappedEventArgs +ABI::Windows::UI::Input::SystemButtonEventController=@ISystemButtonEventController +ABI::Windows::UI::Input::SystemFunctionButtonEventArgs=@ISystemFunctionButtonEventArgs +ABI::Windows::UI::Input::SystemFunctionLockChangedEventArgs=@ISystemFunctionLockChangedEventArgs +ABI::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs=@ISystemFunctionLockIndicatorChangedEventArgs +ABI::Windows::UI::Input::TappedEventArgs=@ITappedEventArgs +ABI::Windows::UI::Notifications::AdaptiveNotificationText=@IAdaptiveNotificationText +ABI::Windows::UI::Notifications::NotificationBinding=@INotificationBinding +ABI::Windows::UI::Notifications::ScheduledTileNotification=@IScheduledTileNotification +ABI::Windows::UI::Notifications::ScheduledToastNotification=@IScheduledToastNotification +ABI::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs=@IScheduledToastNotificationShowingEventArgs +ABI::Windows::UI::Notifications::ShownTileNotification=@IShownTileNotification +ABI::Windows::UI::Notifications::ToastCollection=@IToastCollection +ABI::Windows::UI::Notifications::ToastDismissedEventArgs=@IToastDismissedEventArgs +ABI::Windows::UI::Notifications::ToastFailedEventArgs=@IToastFailedEventArgs +ABI::Windows::UI::Notifications::ToastNotification=@IToastNotification +ABI::Windows::UI::Notifications::ToastNotificationHistory=@IToastNotificationHistory +ABI::Windows::UI::Notifications::ToastNotificationManagerForUser=@IToastNotificationManagerForUser +ABI::Windows::UI::Notifications::ToastNotifier=@IToastNotifier +ABI::Windows::UI::Popups::IUICommand=@IUICommand +ABI::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs=@ICoreTextCompositionCompletedEventArgs +ABI::Windows::UI::Text::Core::CoreTextCompositionSegment=@ICoreTextCompositionSegment +ABI::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs=@ICoreTextCompositionStartedEventArgs +ABI::Windows::UI::Text::Core::CoreTextEditContext=@ICoreTextEditContext +ABI::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs=@ICoreTextFormatUpdatingEventArgs +ABI::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs=@ICoreTextLayoutRequestedEventArgs +ABI::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs=@ICoreTextSelectionRequestedEventArgs +ABI::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs=@ICoreTextSelectionUpdatingEventArgs +ABI::Windows::UI::Text::Core::CoreTextServicesManager=@ICoreTextServicesManager +ABI::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs=@ICoreTextTextRequestedEventArgs +ABI::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs=@ICoreTextTextUpdatingEventArgs +ABI::Windows::UI::ViewManagement::AccessibilitySettings=@IAccessibilitySettings +ABI::Windows::UI::ViewManagement::ApplicationView=@IApplicationView +ABI::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs=@IApplicationViewConsolidatedEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreFrameworkInputView=@ICoreFrameworkInputView +ABI::Windows::UI::ViewManagement::Core::CoreFrameworkInputViewAnimationStartingEventArgs=@ICoreFrameworkInputViewAnimationStartingEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreFrameworkInputViewOcclusionsChangedEventArgs=@ICoreFrameworkInputViewOcclusionsChangedEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreInputView=@ICoreInputView +ABI::Windows::UI::ViewManagement::Core::CoreInputViewAnimationStartingEventArgs=@ICoreInputViewAnimationStartingEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs=@ICoreInputViewHidingEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion=@ICoreInputViewOcclusion +ABI::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs=@ICoreInputViewOcclusionsChangedEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs=@ICoreInputViewShowingEventArgs +ABI::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs=@ICoreInputViewTransferringXYFocusEventArgs +ABI::Windows::UI::ViewManagement::Core::UISettingsController=@IUISettingsController +ABI::Windows::UI::ViewManagement::InputPane=@IInputPane +ABI::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs=@IInputPaneVisibilityEventArgs +ABI::Windows::UI::ViewManagement::StatusBar=@IStatusBar +ABI::Windows::UI::ViewManagement::UISettings=@IUISettings +ABI::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs=@IUISettingsAnimationsEnabledChangedEventArgs +ABI::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs=@IUISettingsAutoHideScrollBarsChangedEventArgs +ABI::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs=@IUISettingsMessageDurationChangedEventArgs +ABI::Windows::UI::WindowManagement::AppWindow=@IAppWindow +ABI::Windows::UI::WindowManagement::AppWindowChangedEventArgs=@IAppWindowChangedEventArgs +ABI::Windows::UI::WindowManagement::AppWindowClosedEventArgs=@IAppWindowClosedEventArgs +ABI::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs=@IAppWindowCloseRequestedEventArgs +ABI::Windows::UI::WindowManagement::AppWindowTitleBarOcclusion=@IAppWindowTitleBarOcclusion +ABI::Windows::UI::WindowManagement::DisplayRegion=@IDisplayRegion +ABI::Windows::UI::WindowManagement::WindowingEnvironment=@IWindowingEnvironment +ABI::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs=@IWindowingEnvironmentChangedEventArgs +ABI::Windows::Web::Http::Filters::HttpBaseProtocolFilter=@IHttpBaseProtocolFilter +ABI::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs=@IHttpServerCustomValidationRequestedEventArgs +ABI::Windows::Web::Http::Headers::HttpChallengeHeaderValue=@IHttpChallengeHeaderValue +ABI::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue=@IHttpConnectionOptionHeaderValue +ABI::Windows::Web::Http::Headers::HttpContentCodingHeaderValue=@IHttpContentCodingHeaderValue +ABI::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue=@IHttpContentCodingWithQualityHeaderValue +ABI::Windows::Web::Http::Headers::HttpCookiePairHeaderValue=@IHttpCookiePairHeaderValue +ABI::Windows::Web::Http::Headers::HttpExpectationHeaderValue=@IHttpExpectationHeaderValue +ABI::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue=@IHttpLanguageRangeWithQualityHeaderValue +ABI::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue=@IHttpMediaTypeWithQualityHeaderValue +ABI::Windows::Web::Http::Headers::HttpNameValueHeaderValue=@IHttpNameValueHeaderValue +ABI::Windows::Web::Http::Headers::HttpProductInfoHeaderValue=@IHttpProductInfoHeaderValue +ABI::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue=@IHttpTransferCodingHeaderValue +ABI::Windows::Web::Http::HttpCookie=@IHttpCookie +ABI::Windows::Web::Http::HttpGetBufferResult=@IHttpGetBufferResult +ABI::Windows::Web::Http::HttpGetInputStreamResult=@IHttpGetInputStreamResult +ABI::Windows::Web::Http::HttpGetStringResult=@IHttpGetStringResult +ABI::Windows::Web::Http::HttpMethod=@IHttpMethod +ABI::Windows::Web::Http::HttpRequestResult=@IHttpRequestResult +ABI::Windows::Web::Http::HttpResponseMessage=@IHttpResponseMessage +ABI::Windows::Web::Http::IHttpContent=@IHttpContent addrinfo=ADDRINFOA addrinfoex2A=ADDRINFOEX2A addrinfoex2W=ADDRINFOEX2W diff --git a/generation/settings.rsp b/generation/settings.rsp index e6ddb366f3..972935ac4b 100644 --- a/generation/settings.rsp +++ b/generation/settings.rsp @@ -21,6 +21,7 @@ generate-cpp-attributes generate-disable-runtime-marshalling generate-doc-includes generate-file-scoped-namespaces +generate-generic-pointer-wrapper generate-guid-member generate-macro-bindings generate-marker-interfaces diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileActivatedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileActivatedEventArgs.cs index 97875bacfa..4401213486 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileActivatedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileActivatedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IVectorView** value) + public HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileActivatedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileActivatedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Verb(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IVectorView** value); + HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Verb(HSTRING* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Files; + public delegate* unmanaged[MemberFunction]>**, int> get_Files; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Verb; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileOpenPickerContinuationEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileOpenPickerContinuationEventArgs.cs index 568b834647..09bbae668c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileOpenPickerContinuationEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IFileOpenPickerContinuationEventArgs.cs @@ -76,16 +76,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("IFileOpenPickerContinuationEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IVectorView** value) + public HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileOpenPickerContinuationEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileOpenPickerContinuationEventArgs*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("IFileOpenPickerContinuationEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IVectorView** value); + HRESULT get_Files([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IVectorView>** value); } public partial struct Vtbl @@ -111,6 +111,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] [Obsolete("IFileOpenPickerContinuationEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_Files; + public delegate* unmanaged[MemberFunction]>**, int> get_Files; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ISplashScreen.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ISplashScreen.cs index e730b04088..a41f9ff090 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ISplashScreen.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ISplashScreen.cs @@ -82,9 +82,9 @@ public HRESULT get_ImageLocation([NativeTypeName("ABI::Windows::Foundation::Rect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CActivation__CSplashScreen_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CActivation__CSplashScreen_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISplashScreen*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISplashScreen*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ImageLocation([NativeTypeName("ABI::Windows::Foundation::Rect *")] Rect* value); [VtblIndex(7)] - HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CActivation__CSplashScreen_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CActivation__CSplashScreen_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_Dismissed(EventRegistrationToken cookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ImageLocation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CActivation__CSplashScreen_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Dismissed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Dismissed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Dismissed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ITileActivatedInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ITileActivatedInfo.cs index ca4e990c40..355bc637d9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ITileActivatedInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/ITileActivatedInfo.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_RecentlyShownNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CShownTileNotification_t **")] IVectorView** value) + public HRESULT get_RecentlyShownNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CShownTileNotification_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ITileActivatedInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ITileActivatedInfo*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_RecentlyShownNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CShownTileNotification_t **")] IVectorView** value); + HRESULT get_RecentlyShownNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CShownTileNotification_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CShownTileNotification_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_RecentlyShownNotifications; + public delegate* unmanaged[MemberFunction]>**, int> get_RecentlyShownNotifications; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs index 1e57a11992..912ac6fa10 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs @@ -186,9 +186,9 @@ public HRESULT put_Organizer([NativeTypeName("ABI::Windows::ApplicationModel::Ap /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT get_Invitees([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t **")] IVector** value) + public HRESULT get_Invitees([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IAppointment*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IAppointment*)Unsafe.AsPointer(ref this), value); } /// @@ -316,7 +316,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Organizer([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentParticipant *")] IAppointmentParticipant* value); [VtblIndex(20)] - HRESULT get_Invitees([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t **")] IVector** value); + HRESULT get_Invitees([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t **")] IVector>** value); [VtblIndex(21)] HRESULT get_Recurrence([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence **")] IAppointmentRecurrence** value); @@ -413,7 +413,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Organizer; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Invitees; + public delegate* unmanaged[MemberFunction]>**, int> get_Invitees; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Recurrence; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs index 90a41cc013..7defa04d8a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs @@ -170,73 +170,73 @@ public HRESULT put_SummaryCardView([NativeTypeName("ABI::Windows::ApplicationMod /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[18]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, options, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[19]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, options, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT FindExceptionsFromMasterAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentException_t **")] IAsyncOperation** value) + public HRESULT FindExceptionsFromMasterAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentException_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[20]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** value) + public HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[21]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, rangeStart, rangeLength, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[21]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, rangeStart, rangeLength, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT FindAllInstancesAsyncWithOptions(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* pOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** value) + public HRESULT FindAllInstancesAsyncWithOptions(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* pOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, rangeStart, rangeLength, pOptions, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[22]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), masterLocalId, rangeStart, rangeLength, pOptions, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[23]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[23]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[24]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, instanceStartTime, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[24]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, instanceStartTime, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HRESULT FindUnexpandedAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindUnexpandedAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[25]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[25]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT FindUnexpandedAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindUnexpandedAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[26]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), options, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[26]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), options, result); } /// @@ -318,31 +318,31 @@ public interface Interface : IInspectable.Interface HRESULT put_SummaryCardView([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView")] AppointmentSummaryCardView value); [VtblIndex(18)] - HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(19)] - HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(20)] - HRESULT FindExceptionsFromMasterAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentException_t **")] IAsyncOperation** value); + HRESULT FindExceptionsFromMasterAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentException_t **")] IAsyncOperation>>>** value); [VtblIndex(21)] - HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** value); + HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** value); [VtblIndex(22)] - HRESULT FindAllInstancesAsyncWithOptions(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* pOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** value); + HRESULT FindAllInstancesAsyncWithOptions(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* pOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** value); [VtblIndex(23)] - HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result); [VtblIndex(24)] - HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result); [VtblIndex(25)] - HRESULT FindUnexpandedAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindUnexpandedAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(26)] - HRESULT FindUnexpandedAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindUnexpandedAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(27)] HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); @@ -418,31 +418,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_SummaryCardView; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentsAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentsAsyncWithOptions; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentException_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindExceptionsFromMasterAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindExceptionsFromMasterAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllInstancesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllInstancesAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllInstancesAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllInstancesAsyncWithOptions; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppointmentAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppointmentInstanceAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAppointmentInstanceAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindUnexpandedAppointmentsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindUnexpandedAppointmentsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindUnexpandedAppointmentsAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>>>**, int> FindUnexpandedAppointmentsAsyncWithOptions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] DeleteAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs index 89067bfe80..ddf21c2b1b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs @@ -250,9 +250,9 @@ public HRESULT TryCancelMeetingAsync([NativeTypeName("ABI::Windows::ApplicationM /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t *")] IIterable* invitees, HSTRING subject, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + public HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t *")] IIterable>* invitees, HSTRING subject, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, HSTRING, HSTRING, HSTRING, IAsyncOperation**, int>)(lpVtbl[28]))((IAppointmentCalendar2*)Unsafe.AsPointer(ref this), meeting, invitees, subject, forwardHeader, comment, result); + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, HSTRING, HSTRING, IAsyncOperation**, int>)(lpVtbl[28]))((IAppointmentCalendar2*)Unsafe.AsPointer(ref this), meeting, invitees, subject, forwardHeader, comment, result); } /// @@ -340,7 +340,7 @@ public interface Interface : IInspectable.Interface HRESULT TryCancelMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, HSTRING subject, HSTRING comment, [NativeTypeName("boolean")] byte notifyInvitees, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(28)] - HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t *")] IIterable* invitees, HSTRING subject, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t *")] IIterable>* invitees, HSTRING subject, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(29)] HRESULT TryProposeNewTimeForMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime newStartTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan newDuration, HSTRING subject, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -437,7 +437,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> TryCancelMeetingAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CAppointments__CAppointmentInvitee_t *, HSTRING, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HSTRING, HSTRING, HSTRING, IAsyncOperation**, int> TryForwardMeetingAsync; + public delegate* unmanaged[MemberFunction]>*, HSTRING, HSTRING, HSTRING, IAsyncOperation**, int> TryForwardMeetingAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> TryProposeNewTimeForMeetingAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs index fe30b9e903..6cbb58133d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs @@ -106,9 +106,9 @@ public HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOpe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentCalendarSyncManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentCalendarSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(10)] - HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentCalendarSyncManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentCalendarSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_SyncStatusChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> SyncAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentCalendarSyncManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SyncStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SyncStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SyncStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs index 6f6cb0364e..dd30b5e8b8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs @@ -170,9 +170,9 @@ public HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::Applic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), options, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), options, result); } /// @@ -222,7 +222,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); [VtblIndex(18)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation>** result); [VtblIndex(19)] HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); @@ -286,7 +286,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_User; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs index d2f6e50a2d..5a5683ccf3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs @@ -98,9 +98,9 @@ public HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::Applic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation** operation) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAppointmentManagerStatics2*)Unsafe.AsPointer(ref this), options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IAppointmentManagerStatics2*)Unsafe.AsPointer(ref this), options, operation); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(9)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation** operation); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType")] AppointmentStoreAccessType options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs index 676e641cdb..d26a79183d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs @@ -82,81 +82,81 @@ public HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateAppointmentCalendarAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** operation) + public HRESULT CreateAppointmentCalendarAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAppointmentStore*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAppointmentStore*)Unsafe.AsPointer(ref this), name, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAppointmentCalendarAsync(HSTRING calendarId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result) + public HRESULT GetAppointmentCalendarAsync(HSTRING calendarId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppointmentStore*)Unsafe.AsPointer(ref this), calendarId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAppointmentStore*)Unsafe.AsPointer(ref this), calendarId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, instanceStartTime, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, instanceStartTime, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IAppointmentStore*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[11]))((IAppointmentStore*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT FindAppointmentCalendarsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions")] FindAppointmentCalendarsOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentCalendarsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions")] FindAppointmentCalendarsOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IAppointmentStore*)Unsafe.AsPointer(ref this), options, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[12]))((IAppointmentStore*)Unsafe.AsPointer(ref this), options, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAppointmentStore*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IAppointmentStore*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IAppointmentStore*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, options, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[14]))((IAppointmentStore*)Unsafe.AsPointer(ref this), rangeStart, rangeLength, options, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT FindConflictAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation** result) + public HRESULT FindConflictAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IAppointmentStore*)Unsafe.AsPointer(ref this), appointment, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IAppointmentStore*)Unsafe.AsPointer(ref this), appointment, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation** result) + public HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IAppointmentStore*)Unsafe.AsPointer(ref this), appointment, instanceStartTime, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IAppointmentStore*)Unsafe.AsPointer(ref this), appointment, instanceStartTime, result); } /// @@ -234,9 +234,9 @@ public HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::Applic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT FindLocalIdsFromRoamingIdAsync(HSTRING roamingId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** operation) + public HRESULT FindLocalIdsFromRoamingIdAsync(HSTRING roamingId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[26]))((IAppointmentStore*)Unsafe.AsPointer(ref this), roamingId, operation); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[26]))((IAppointmentStore*)Unsafe.AsPointer(ref this), roamingId, operation); } public interface Interface : IInspectable.Interface @@ -245,34 +245,34 @@ public interface Interface : IInspectable.Interface HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker **")] IAppointmentStoreChangeTracker** value); [VtblIndex(7)] - HRESULT CreateAppointmentCalendarAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** operation); + HRESULT CreateAppointmentCalendarAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT GetAppointmentCalendarAsync(HSTRING calendarId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result); + HRESULT GetAppointmentCalendarAsync(HSTRING calendarId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>** result); [VtblIndex(11)] - HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result); + HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result); [VtblIndex(12)] - HRESULT FindAppointmentCalendarsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions")] FindAppointmentCalendarsOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result); + HRESULT FindAppointmentCalendarsAsyncWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions")] FindAppointmentCalendarsOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result); [VtblIndex(13)] - HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(14)] - HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation** result); + HRESULT FindAppointmentsAsyncWithOptions([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime rangeStart, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan rangeLength, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *")] IFindAppointmentsOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **")] IAsyncOperation>>>** result); [VtblIndex(15)] - HRESULT FindConflictAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation** result); + HRESULT FindConflictAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation>** result); [VtblIndex(16)] - HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation** result); + HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **")] IAsyncOperation>** result); [VtblIndex(17)] HRESULT MoveAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentCalendar *")] IAppointmentCalendar* destinationCalendar, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); @@ -302,7 +302,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(26)] - HRESULT FindLocalIdsFromRoamingIdAsync(HSTRING roamingId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** operation); + HRESULT FindLocalIdsFromRoamingIdAsync(HSTRING roamingId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** operation); } public partial struct Vtbl @@ -330,34 +330,34 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ChangeTracker; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAppointmentCalendarAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAppointmentCalendarAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppointmentCalendarAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAppointmentCalendarAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppointmentAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppointmentInstanceAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAppointmentInstanceAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentCalendarsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentCalendarsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentCalendarsAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentCalendarsAsyncWithOptions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentsAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentsAsyncWithOptions; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindConflictAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindConflictAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentConflictResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindConflictAsyncWithInstanceStart; + public delegate* unmanaged[MemberFunction]>**, int> FindConflictAsyncWithInstanceStart; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::ApplicationModel::Appointments::IAppointmentCalendar *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] MoveAppointmentAsync; @@ -387,6 +387,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindLocalIdsFromRoamingIdAsync; + public delegate* unmanaged[MemberFunction]>>**, int> FindLocalIdsFromRoamingIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore2.cs index 18954d3563..f6c94171c9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentStore_Windows__CApplicationModel__CAppointments__CAppointmentStoreChangedEventArgs_t *")] ITypedEventHandler* pHandler, EventRegistrationToken* pToken) + public HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentStore_Windows__CApplicationModel__CAppointments__CAppointmentStoreChangedEventArgs_t *")] ITypedEventHandler, Pointer>* pHandler, EventRegistrationToken* pToken) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppointmentStore2*)Unsafe.AsPointer(ref this), pHandler, pToken); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppointmentStore2*)Unsafe.AsPointer(ref this), pHandler, pToken); } /// @@ -90,21 +90,21 @@ public HRESULT remove_StoreChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateAppointmentCalendarInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** operation) + public HRESULT CreateAppointmentCalendarInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppointmentStore2*)Unsafe.AsPointer(ref this), name, userDataAccountId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAppointmentStore2*)Unsafe.AsPointer(ref this), name, userDataAccountId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentStore_Windows__CApplicationModel__CAppointments__CAppointmentStoreChangedEventArgs_t *")] ITypedEventHandler* pHandler, EventRegistrationToken* pToken); + HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentStore_Windows__CApplicationModel__CAppointments__CAppointmentStoreChangedEventArgs_t *")] ITypedEventHandler, Pointer>* pHandler, EventRegistrationToken* pToken); [VtblIndex(7)] HRESULT remove_StoreChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT CreateAppointmentCalendarInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** operation); + HRESULT CreateAppointmentCalendarInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppointments__CAppointmentStore_Windows__CApplicationModel__CAppointments__CAppointmentStoreChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StoreChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StoreChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StoreChanged; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAppointmentCalendarInAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAppointmentCalendarInAccountAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStoreChangeReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStoreChangeReader.cs index 88c2d38e17..eb20eb3e6f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStoreChangeReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStoreChangeReader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentStoreChange_t **")] IAsyncOperation** result) + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentStoreChange_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppointmentStoreChangeReader*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IAppointmentStoreChangeReader*)Unsafe.AsPointer(ref this), result); } /// @@ -98,7 +98,7 @@ public HRESULT AcceptChangesThrough([NativeTypeName("ABI::Windows::ApplicationMo public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentStoreChange_t **")] IAsyncOperation** result); + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentStoreChange_t **")] IAsyncOperation>>>** result); [VtblIndex(7)] HRESULT AcceptChanges(); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentStoreChange_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBatchAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> ReadBatchAsync; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AcceptChanges; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceCatalogStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceCatalogStatics.cs index ef8cc2f95b..9ee5e212b5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceCatalogStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceCatalogStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAppServiceProvidersAsync(HSTRING appServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation) + public HRESULT FindAppServiceProvidersAsync(HSTRING appServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppServiceCatalogStatics*)Unsafe.AsPointer(ref this), appServiceName, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IAppServiceCatalogStatics*)Unsafe.AsPointer(ref this), appServiceName, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAppServiceProvidersAsync(HSTRING appServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation); + HRESULT FindAppServiceProvidersAsync(HSTRING appServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppServiceProvidersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppServiceProvidersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnection.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnection.cs index 770f58757a..e4faa449d5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnection.cs @@ -114,17 +114,17 @@ public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOpe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceResponse_t **")] IAsyncOperation** operation) + public HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceResponse_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), message, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), message, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_RequestReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceRequestReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RequestReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceRequestReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_RequestReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_ServiceClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ServiceClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -169,16 +169,16 @@ public interface Interface : IInspectable.Interface HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceConnectionStatus_t **")] IAsyncOperation** operation); [VtblIndex(11)] - HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceResponse_t **")] IAsyncOperation** operation); + HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceResponse_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT add_RequestReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceRequestReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RequestReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceRequestReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_RequestReceived(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_ServiceClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ServiceClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_ServiceClosed(EventRegistrationToken token); @@ -221,16 +221,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> OpenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CAppServiceResponse_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendMessageAsync; + public delegate* unmanaged[MemberFunction]>**, int> SendMessageAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceRequestReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RequestReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RequestReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RequestReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CAppService__CAppServiceConnection_Windows__CApplicationModel__CAppService__CAppServiceClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ServiceClosed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ServiceClosed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ServiceClosed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnectionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnectionStatics.cs index ba3d04437a..6bc9dfec68 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnectionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appservice/IAppServiceConnectionStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SendStatelessMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::AppService::IAppServiceConnection *")] IAppServiceConnection* connection, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest *")] IRemoteSystemConnectionRequest* connectionRequest, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CStatelessAppServiceResponse_t **")] IAsyncOperation** operation) + public HRESULT SendStatelessMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::AppService::IAppServiceConnection *")] IAppServiceConnection* connection, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest *")] IRemoteSystemConnectionRequest* connectionRequest, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CStatelessAppServiceResponse_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppServiceConnectionStatics*)Unsafe.AsPointer(ref this), connection, connectionRequest, message, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppServiceConnectionStatics*)Unsafe.AsPointer(ref this), connection, connectionRequest, message, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SendStatelessMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::AppService::IAppServiceConnection *")] IAppServiceConnection* connection, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest *")] IRemoteSystemConnectionRequest* connectionRequest, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CStatelessAppServiceResponse_t **")] IAsyncOperation** operation); + HRESULT SendStatelessMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::AppService::IAppServiceConnection *")] IAppServiceConnection* connection, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest *")] IRemoteSystemConnectionRequest* connectionRequest, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CStatelessAppServiceResponse_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::AppService::IAppServiceConnection *, ABI::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CAppService__CStatelessAppServiceResponse_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendStatelessMessageAsync; + public delegate* unmanaged[MemberFunction]>**, int> SendStatelessMessageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationGroup.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationGroup.cs index db7e84dcce..fab890649c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationGroup.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationGroup.cs @@ -90,9 +90,9 @@ public HRESULT get_Name(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IBackgroundTaskRegistrationGroup*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IBackgroundTaskRegistrationGroup*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_BackgroundActivated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistration_t **")] IMapView** value) + public HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistration_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IBackgroundTaskRegistrationGroup*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IBackgroundTaskRegistrationGroup*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -120,13 +120,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Name(HSTRING* value); [VtblIndex(8)] - HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_BackgroundActivated(EventRegistrationToken token); [VtblIndex(10)] - HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistration_t **")] IMapView** value); + HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistration_t **")] IMapView>** value); } public partial struct Vtbl @@ -157,12 +157,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Name; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BackgroundActivated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BackgroundActivated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BackgroundActivated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllTasks; + public delegate* unmanaged[MemberFunction]>**, int> get_AllTasks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics.cs index 667cabb2dc..603e655a8e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t **")] IMapView** tasks) + public HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t **")] IMapView>** tasks) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundTaskRegistrationStatics*)Unsafe.AsPointer(ref this), tasks); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBackgroundTaskRegistrationStatics*)Unsafe.AsPointer(ref this), tasks); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t **")] IMapView** tasks); + HRESULT get_AllTasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t **")] IMapView>** tasks); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllTasks; + public delegate* unmanaged[MemberFunction]>**, int> get_AllTasks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics2.cs index 456f845b48..810eb67aea 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IBackgroundTaskRegistrationStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AllTaskGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_t **")] IMapView** value) + public HRESULT get_AllTaskGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundTaskRegistrationStatics2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBackgroundTaskRegistrationStatics2*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT GetTaskGroup(HSTRING groupId, [NativeTypeName("ABI::Windows::Appl public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AllTaskGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_t **")] IMapView** value); + HRESULT get_AllTaskGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_t **")] IMapView>** value); [VtblIndex(7)] HRESULT GetTaskGroup(HSTRING groupId, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup **")] IBackgroundTaskRegistrationGroup** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CApplicationModel__CBackground__CBackgroundTaskRegistrationGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllTaskGroups; + public delegate* unmanaged[MemberFunction]>**, int> get_AllTaskGroups; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetTaskGroup; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IDeviceConnectionChangeTriggerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IDeviceConnectionChangeTriggerStatics.cs index 2236cb4b2e..8d9d41887f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IDeviceConnectionChangeTriggerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IDeviceConnectionChangeTriggerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CDeviceConnectionChangeTrigger_t **")] IAsyncOperation** deviceChangeTrigger) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CDeviceConnectionChangeTrigger_t **")] IAsyncOperation>** deviceChangeTrigger) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDeviceConnectionChangeTriggerStatics*)Unsafe.AsPointer(ref this), deviceId, deviceChangeTrigger); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDeviceConnectionChangeTriggerStatics*)Unsafe.AsPointer(ref this), deviceId, deviceChangeTrigger); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CDeviceConnectionChangeTrigger_t **")] IAsyncOperation** deviceChangeTrigger); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CDeviceConnectionChangeTrigger_t **")] IAsyncOperation>** deviceChangeTrigger); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CDeviceConnectionChangeTrigger_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IGattServiceProviderTriggerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IGattServiceProviderTriggerStatics.cs index cd91cb0b77..4f461509c4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IGattServiceProviderTriggerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IGattServiceProviderTriggerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAsync(HSTRING triggerId, Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CGattServiceProviderTriggerResult_t **")] IAsyncOperation** operation) + public HRESULT CreateAsync(HSTRING triggerId, Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CGattServiceProviderTriggerResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattServiceProviderTriggerStatics*)Unsafe.AsPointer(ref this), triggerId, serviceUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattServiceProviderTriggerStatics*)Unsafe.AsPointer(ref this), triggerId, serviceUuid, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAsync(HSTRING triggerId, Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CGattServiceProviderTriggerResult_t **")] IAsyncOperation** operation); + HRESULT CreateAsync(HSTRING triggerId, Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CGattServiceProviderTriggerResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CGattServiceProviderTriggerResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IStorageLibraryContentChangedTriggerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IStorageLibraryContentChangedTriggerStatics.cs index 8454ba93d2..41e136096d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IStorageLibraryContentChangedTriggerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.background/IStorageLibraryContentChangedTriggerStatics.cs @@ -82,9 +82,9 @@ public HRESULT Create([NativeTypeName("ABI::Windows::Storage::IStorageLibrary *" /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromLibraries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStorageLibrary_t *")] IIterable* storageLibraries, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **")] IStorageLibraryContentChangedTrigger** result) + public HRESULT CreateFromLibraries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStorageLibrary_t *")] IIterable>* storageLibraries, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **")] IStorageLibraryContentChangedTrigger** result) { - return ((delegate* unmanaged[MemberFunction]*, IStorageLibraryContentChangedTrigger**, int>)(lpVtbl[7]))((IStorageLibraryContentChangedTriggerStatics*)Unsafe.AsPointer(ref this), storageLibraries, result); + return ((delegate* unmanaged[MemberFunction]>*, IStorageLibraryContentChangedTrigger**, int>)(lpVtbl[7]))((IStorageLibraryContentChangedTriggerStatics*)Unsafe.AsPointer(ref this), storageLibraries, result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT Create([NativeTypeName("ABI::Windows::Storage::IStorageLibrary *")] IStorageLibrary* storageLibrary, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **")] IStorageLibraryContentChangedTrigger** result); [VtblIndex(7)] - HRESULT CreateFromLibraries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStorageLibrary_t *")] IIterable* storageLibraries, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **")] IStorageLibraryContentChangedTrigger** result); + HRESULT CreateFromLibraries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStorageLibrary_t *")] IIterable>* storageLibraries, [NativeTypeName("ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **")] IStorageLibraryContentChangedTrigger** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Create; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStorageLibrary_t *, ABI::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTrigger **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IStorageLibraryContentChangedTrigger**, int> CreateFromLibraries; + public delegate* unmanaged[MemberFunction]>*, IStorageLibraryContentChangedTrigger**, int> CreateFromLibraries; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallUI.cs index 78030e57c2..207c381129 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallUI.cs @@ -82,9 +82,9 @@ public HRESULT Dismiss() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_Windows__CApplicationModel__CCalls__CLockScreenCallEndRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_Windows__CApplicationModel__CCalls__CLockScreenCallEndRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ILockScreenCallUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ILockScreenCallUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_EndRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ILockScreenCallUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ILockScreenCallUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -133,13 +133,13 @@ public interface Interface : IInspectable.Interface HRESULT Dismiss(); [VtblIndex(7)] - HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_Windows__CApplicationModel__CCalls__CLockScreenCallEndRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_Windows__CApplicationModel__CCalls__CLockScreenCallEndRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_EndRequested(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Closed(EventRegistrationToken token); @@ -176,13 +176,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Dismiss; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_Windows__CApplicationModel__CCalls__CLockScreenCallEndRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EndRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EndRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EndRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CLockScreenCallUI_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCall.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCall.cs index e811377496..587590889b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCall.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCall.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_StatusChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_AudioDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_AudioDeviceChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT GetPhoneCallInfo([NativeTypeName("ABI::Windows::ApplicationModel: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT GetPhoneCallInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallInfo_t **")] IAsyncOperation** operation) + public HRESULT GetPhoneCallInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallInfo_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IPhoneCall*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IPhoneCall*)Unsafe.AsPointer(ref this), operation); } /// @@ -314,19 +314,19 @@ public HRESULT ChangeAudioDeviceAsync([NativeTypeName("ABI::Windows::Application public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_StatusChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_AudioDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_AudioDeviceChanged(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_IsMutedChanged(EventRegistrationToken token); @@ -347,7 +347,7 @@ public interface Interface : IInspectable.Interface HRESULT GetPhoneCallInfo([NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneCallInfo **")] IPhoneCallInfo** result); [VtblIndex(17)] - HRESULT GetPhoneCallInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallInfo_t **")] IAsyncOperation** operation); + HRESULT GetPhoneCallInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallInfo_t **")] IAsyncOperation>** operation); [VtblIndex(18)] HRESULT End([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallOperationStatus *")] PhoneCallOperationStatus* result); @@ -426,19 +426,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StatusChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioDeviceChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioDeviceChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioDeviceChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneCall_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsMutedChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsMutedChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsMutedChanged; @@ -459,7 +459,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetPhoneCallInfo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPhoneCallInfoAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPhoneCallInfoAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::PhoneCallOperationStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] End; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntryReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntryReader.cs index 88cce074af..702159e576 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntryReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntryReader.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation** result) + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneCallHistoryEntryReader*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IPhoneCallHistoryEntryReader*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation** result); + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBatchAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> ReadBatchAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerForUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerForUser.cs index 761f64b045..b3563ce94f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerForUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerForUser.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneCallHistoryManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPhoneCallHistoryManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); } /// @@ -90,7 +90,7 @@ public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_User; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerStatics.cs index 68832c833b..0834f67013 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryManagerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneCallHistoryManagerStatics*)Unsafe.AsPointer(ref this), accessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPhoneCallHistoryManagerStatics*)Unsafe.AsPointer(ref this), accessType, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType")] PhoneCallHistoryStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryStore.cs index d2dd53b279..3196ab239b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryStore.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetEntryAsync(HSTRING callHistoryEntryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation** result) + public HRESULT GetEntryAsync(HSTRING callHistoryEntryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntryId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntryId, result); } /// @@ -114,9 +114,9 @@ public HRESULT DeleteEntryAsync([NativeTypeName("ABI::Windows::ApplicationModel: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT DeleteEntriesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + public HRESULT DeleteEntriesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable>* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[11]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntries, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[11]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntries, result); } /// @@ -130,9 +130,9 @@ public HRESULT MarkEntryAsSeenAsync([NativeTypeName("ABI::Windows::ApplicationMo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT MarkEntriesAsSeenAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + public HRESULT MarkEntriesAsSeenAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable>* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[13]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntries, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[13]))((IPhoneCallHistoryStore*)Unsafe.AsPointer(ref this), callHistoryEntries, result); } /// @@ -170,7 +170,7 @@ public HRESULT MarkSourcesAsSeenAsync([NativeTypeName("ABI::Windows::Foundation: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetEntryAsync(HSTRING callHistoryEntryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation** result); + HRESULT GetEntryAsync(HSTRING callHistoryEntryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT GetEntryReader([NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryReader **")] IPhoneCallHistoryEntryReader** result); @@ -185,13 +185,13 @@ public interface Interface : IInspectable.Interface HRESULT DeleteEntryAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry *")] IPhoneCallHistoryEntry* callHistoryEntry, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(11)] - HRESULT DeleteEntriesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + HRESULT DeleteEntriesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable>* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(12)] HRESULT MarkEntryAsSeenAsync([NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry *")] IPhoneCallHistoryEntry* callHistoryEntry, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(13)] - HRESULT MarkEntriesAsSeenAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + HRESULT MarkEntriesAsSeenAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *")] IIterable>* callHistoryEntries, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(14)] HRESULT GetUnseenCountAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_UINT32_t **")] IAsyncOperation** result); @@ -228,7 +228,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEntryAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetEntryAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryReader **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetEntryReader; @@ -243,13 +243,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteEntryAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> DeleteEntriesAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> DeleteEntriesAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] MarkEntryAsSeenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CCalls__CPhoneCallHistoryEntry_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> MarkEntriesAsSeenAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> MarkEntriesAsSeenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_UINT32_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetUnseenCountAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallManagerStatics2.cs index 2dfb61201f..0db5a01bbd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallManagerStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_CallStateChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CallStateChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneCallManagerStatics2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneCallManagerStatics2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,15 +114,15 @@ public HRESULT ShowPhoneCallSettingsUI() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IPhoneCallManagerStatics2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IPhoneCallManagerStatics2*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_CallStateChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CallStateChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_CallStateChanged(EventRegistrationToken token); @@ -137,7 +137,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowPhoneCallSettingsUI(); [VtblIndex(11)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallStore_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CallStateChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_CallStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CallStateChanged; @@ -177,6 +177,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ShowPhoneCallSettingsUI; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallVideoCapabilitiesManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallVideoCapabilitiesManagerStatics.cs index 744c1c8ed6..2a6a7469e1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallVideoCapabilitiesManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallVideoCapabilitiesManagerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCapabilitiesAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallVideoCapabilities_t **")] IAsyncOperation** result) + public HRESULT GetCapabilitiesAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallVideoCapabilities_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneCallVideoCapabilitiesManagerStatics*)Unsafe.AsPointer(ref this), phoneNumber, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPhoneCallVideoCapabilitiesManagerStatics*)Unsafe.AsPointer(ref this), phoneNumber, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCapabilitiesAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallVideoCapabilities_t **")] IAsyncOperation** result); + HRESULT GetCapabilitiesAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallVideoCapabilities_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallVideoCapabilities_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCapabilitiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCapabilitiesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallsResult.cs index 09ebd4475c..bab84d3990 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallsResult.cs @@ -82,9 +82,9 @@ public HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::ApplicationMod /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_AllActivePhoneCalls([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCall_t **")] IVectorView** value) + public HRESULT get_AllActivePhoneCalls([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCall_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPhoneCallsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPhoneCallsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneLineOperationStatus *")] PhoneLineOperationStatus* value); [VtblIndex(7)] - HRESULT get_AllActivePhoneCalls([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCall_t **")] IVectorView** value); + HRESULT get_AllActivePhoneCalls([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCall_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OperationStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCalls__CPhoneCall_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllActivePhoneCalls; + public delegate* unmanaged[MemberFunction]>**, int> get_AllActivePhoneCalls; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine.cs index b73c277754..feb388043c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_LineChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLine_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LineChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLine_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneLine*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPhoneLine*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -210,7 +210,7 @@ public HRESULT DialWithOptions([NativeTypeName("ABI::Windows::ApplicationModel:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_LineChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLine_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LineChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLine_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_LineChanged(EventRegistrationToken token); @@ -283,7 +283,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLine_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LineChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LineChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LineChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine3.cs index 2e0226c375..9c38185e26 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLine3.cs @@ -82,9 +82,9 @@ public HRESULT DialWithResult(HSTRING number, HSTRING displayName, [NativeTypeNa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT DialWithResultAsync(HSTRING number, HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLineDialResult_t **")] IAsyncOperation** operation) + public HRESULT DialWithResultAsync(HSTRING number, HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLineDialResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPhoneLine3*)Unsafe.AsPointer(ref this), number, displayName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPhoneLine3*)Unsafe.AsPointer(ref this), number, displayName, operation); } /// @@ -98,9 +98,9 @@ public HRESULT GetAllActivePhoneCalls([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetAllActivePhoneCallsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallsResult_t **")] IAsyncOperation** operation) + public HRESULT GetAllActivePhoneCallsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPhoneLine3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IPhoneLine3*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -109,13 +109,13 @@ public interface Interface : IInspectable.Interface HRESULT DialWithResult(HSTRING number, HSTRING displayName, [NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneLineDialResult **")] IPhoneLineDialResult** result); [VtblIndex(7)] - HRESULT DialWithResultAsync(HSTRING number, HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLineDialResult_t **")] IAsyncOperation** operation); + HRESULT DialWithResultAsync(HSTRING number, HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLineDialResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT GetAllActivePhoneCalls([NativeTypeName("ABI::Windows::ApplicationModel::Calls::IPhoneCallsResult **")] IPhoneCallsResult** result); [VtblIndex(9)] - HRESULT GetAllActivePhoneCallsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallsResult_t **")] IAsyncOperation** operation); + HRESULT GetAllActivePhoneCallsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallsResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -143,12 +143,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DialWithResult; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLineDialResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> DialWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> DialWithResultAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::IPhoneCallsResult **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetAllActivePhoneCalls; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneCallsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllActivePhoneCallsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAllActivePhoneCallsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineConfiguration.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineConfiguration.cs index f6761d9d07..5c7c31238a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineConfiguration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineConfiguration.cs @@ -82,9 +82,9 @@ public HRESULT get_IsVideoCallingEnabled([NativeTypeName("boolean *")] byte* val /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPhoneLineConfiguration*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPhoneLineConfiguration*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsVideoCallingEnabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsVideoCallingEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ExtendedProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_ExtendedProperties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineStatics.cs index 426c50d516..48c93ed825 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(Guid lineId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLine_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(Guid lineId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLine_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPhoneLineStatics*)Unsafe.AsPointer(ref this), lineId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPhoneLineStatics*)Unsafe.AsPointer(ref this), lineId, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(Guid lineId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLine_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(Guid lineId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLine_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CPhoneLine_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineTransportDevice2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineTransportDevice2.cs index 3e8cf9183b..0eff406e8b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineTransportDevice2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineTransportDevice2.cs @@ -82,9 +82,9 @@ public HRESULT get_AudioRoutingStatus([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_AudioRoutingStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioRoutingStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPhoneLineTransportDevice2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPhoneLineTransportDevice2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT get_InBandRingingEnabled([NativeTypeName("boolean *")] byte* valu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_InBandRingingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_InBandRingingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneLineTransportDevice2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneLineTransportDevice2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -125,7 +125,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AudioRoutingStatus([NativeTypeName("ABI::Windows::ApplicationModel::Calls::TransportDeviceAudioRoutingStatus *")] TransportDeviceAudioRoutingStatus* value); [VtblIndex(7)] - HRESULT add_AudioRoutingStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioRoutingStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_AudioRoutingStatusChanged(EventRegistrationToken token); @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_InBandRingingEnabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(10)] - HRESULT add_InBandRingingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_InBandRingingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_InBandRingingEnabledChanged(EventRegistrationToken token); @@ -165,7 +165,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AudioRoutingStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioRoutingStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioRoutingStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioRoutingStatusChanged; @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_InBandRingingEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineTransportDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InBandRingingEnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InBandRingingEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InBandRingingEnabledChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineWatcher.cs index 1bdaacd62e..5909189c27 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneLineWatcher.cs @@ -90,9 +90,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_LineAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LineAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_LineAdded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_LineRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LineRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_LineRemoved(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_LineUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LineUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_LineUpdated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -154,9 +154,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IPhoneLineWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -184,31 +184,31 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(8)] - HRESULT add_LineAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LineAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_LineAdded(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_LineRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LineRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_LineRemoved(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_LineUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LineUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_LineUpdated(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -245,31 +245,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LineAdded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LineAdded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LineAdded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LineRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LineRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LineRemoved; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_Windows__CApplicationModel__CCalls__CPhoneLineWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LineUpdated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LineUpdated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LineUpdated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CPhoneLineWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipCallCoordinator.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipCallCoordinator.cs index 97a4d1a56f..903272b6dd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipCallCoordinator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipCallCoordinator.cs @@ -82,9 +82,9 @@ public HRESULT ReserveCallResourcesAsync(HSTRING taskEntryPoint, [NativeTypeName /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_MuteStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipCallCoordinator_Windows__CApplicationModel__CCalls__CMuteChangeEventArgs_t *")] ITypedEventHandler* muteChangeHandler, EventRegistrationToken* token) + public HRESULT add_MuteStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipCallCoordinator_Windows__CApplicationModel__CCalls__CMuteChangeEventArgs_t *")] ITypedEventHandler, Pointer>* muteChangeHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IVoipCallCoordinator*)Unsafe.AsPointer(ref this), muteChangeHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IVoipCallCoordinator*)Unsafe.AsPointer(ref this), muteChangeHandler, token); } /// @@ -165,7 +165,7 @@ public interface Interface : IInspectable.Interface HRESULT ReserveCallResourcesAsync(HSTRING taskEntryPoint, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CCalls__CVoipPhoneCallResourceReservationStatus_t **")] IAsyncOperation** operation); [VtblIndex(7)] - HRESULT add_MuteStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipCallCoordinator_Windows__CApplicationModel__CCalls__CMuteChangeEventArgs_t *")] ITypedEventHandler* muteChangeHandler, EventRegistrationToken* token); + HRESULT add_MuteStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipCallCoordinator_Windows__CApplicationModel__CCalls__CMuteChangeEventArgs_t *")] ITypedEventHandler, Pointer>* muteChangeHandler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_MuteStateChanged(EventRegistrationToken token); @@ -220,7 +220,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ReserveCallResourcesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipCallCoordinator_Windows__CApplicationModel__CCalls__CMuteChangeEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MuteStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MuteStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MuteStateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs index f05057c001..42269b6d33 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_EndRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_HoldRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_HoldRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_HoldRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ResumeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ResumeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_ResumeRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_AnswerRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallAnswerEventArgs_t *")] ITypedEventHandler* acceptHandler, EventRegistrationToken* token) + public HRESULT add_AnswerRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallAnswerEventArgs_t *")] ITypedEventHandler, Pointer>* acceptHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), acceptHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), acceptHandler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_AnswerRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_RejectRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallRejectEventArgs_t *")] ITypedEventHandler* rejectHandler, EventRegistrationToken* token) + public HRESULT add_RejectRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallRejectEventArgs_t *")] ITypedEventHandler, Pointer>* rejectHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), rejectHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), rejectHandler, token); } /// @@ -234,31 +234,31 @@ public HRESULT NotifyCallReady() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EndRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_EndRequested(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_HoldRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_HoldRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_HoldRequested(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_ResumeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ResumeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ResumeRequested(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_AnswerRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallAnswerEventArgs_t *")] ITypedEventHandler* acceptHandler, EventRegistrationToken* token); + HRESULT add_AnswerRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallAnswerEventArgs_t *")] ITypedEventHandler, Pointer>* acceptHandler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_AnswerRequested(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_RejectRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallRejectEventArgs_t *")] ITypedEventHandler* rejectHandler, EventRegistrationToken* token); + HRESULT add_RejectRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallRejectEventArgs_t *")] ITypedEventHandler, Pointer>* rejectHandler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_RejectRequested(EventRegistrationToken token); @@ -316,31 +316,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EndRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EndRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EndRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HoldRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_HoldRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HoldRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallStateChangeEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ResumeRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ResumeRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ResumeRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallAnswerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AnswerRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AnswerRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AnswerRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCalls__CVoipPhoneCall_Windows__CApplicationModel__CCalls__CCallRejectEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RejectRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RejectRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RejectRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts.provider/IContactPickerUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts.provider/IContactPickerUI.cs index 01d4f15d0e..7bb3869aa6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts.provider/IContactPickerUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts.provider/IContactPickerUI.cs @@ -116,9 +116,9 @@ public HRESULT get_SelectionMode([NativeTypeName("ABI::Windows::ApplicationModel /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ContactRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CProvider__CContactPickerUI_Windows__CApplicationModel__CContacts__CProvider__CContactRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ContactRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CProvider__CContactPickerUI_Windows__CApplicationModel__CContacts__CProvider__CContactRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IContactPickerUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IContactPickerUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -149,7 +149,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SelectionMode([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactSelectionMode *")] ContactSelectionMode* value); [VtblIndex(11)] - HRESULT add_ContactRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CProvider__CContactPickerUI_Windows__CApplicationModel__CContacts__CProvider__CContactRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ContactRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CProvider__CContactPickerUI_Windows__CApplicationModel__CContacts__CProvider__CContactRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ContactRemoved(EventRegistrationToken token); @@ -194,7 +194,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SelectionMode; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CProvider__CContactPickerUI_Windows__CApplicationModel__CContacts__CProvider__CContactRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ContactRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ContactRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ContactRemoved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IAggregateContactManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IAggregateContactManager.cs index 0722e3c8ed..585be4a302 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IAggregateContactManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IAggregateContactManager.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindRawContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** value) + public HRESULT FindRawContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAggregateContactManager*)Unsafe.AsPointer(ref this), contact, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IAggregateContactManager*)Unsafe.AsPointer(ref this), contact, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT TryLinkContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* primaryContact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* secondaryContact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact) + public HRESULT TryLinkContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* primaryContact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* secondaryContact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAggregateContactManager*)Unsafe.AsPointer(ref this), primaryContact, secondaryContact, contact); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAggregateContactManager*)Unsafe.AsPointer(ref this), primaryContact, secondaryContact, contact); } /// @@ -106,10 +106,10 @@ public HRESULT TrySetPreferredSourceForPictureAsync([NativeTypeName("ABI::Window public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindRawContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** value); + HRESULT FindRawContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** value); [VtblIndex(7)] - HRESULT TryLinkContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* primaryContact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* secondaryContact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact); + HRESULT TryLinkContactsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* primaryContact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* secondaryContact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact); [VtblIndex(8)] HRESULT UnlinkRawContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); @@ -140,10 +140,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindRawContactsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindRawContactsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryLinkContactsAsync; + public delegate* unmanaged[MemberFunction]>**, int> TryLinkContactsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] UnlinkRawContactAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact.cs index 832cb4d88e..a5a53d35d7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact.cs @@ -106,9 +106,9 @@ public HRESULT put_Thumbnail([NativeTypeName("ABI::Windows::Storage::Streams::IR /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Fields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CIContactField_t **")] IVector** value) + public HRESULT get_Fields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CIContactField_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContact*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContact*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Thumbnail([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value); [VtblIndex(10)] - HRESULT get_Fields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CIContactField_t **")] IVector** value); + HRESULT get_Fields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CIContactField_t **")] IVector>** value); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Thumbnail; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CIContactField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Fields; + public delegate* unmanaged[MemberFunction]>**, int> get_Fields; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact2.cs index 006939909c..760df7cf18 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact2.cs @@ -106,41 +106,41 @@ public HRESULT put_Notes(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Phones([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactPhone_t **")] IVector** value) + public HRESULT get_Phones([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactPhone_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactEmail_t **")] IVector** value) + public HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactEmail_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_Addresses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactAddress_t **")] IVector** value) + public HRESULT get_Addresses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactAddress_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_ConnectedServiceAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactConnectedServiceAccount_t **")] IVector** value) + public HRESULT get_ConnectedServiceAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactConnectedServiceAccount_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_ImportantDates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactDate_t **")] IVector** value) + public HRESULT get_ImportantDates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactDate_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// @@ -154,25 +154,25 @@ public HRESULT get_DataSuppliers([NativeTypeName("ABI::Windows::Foundation::Coll /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT get_JobInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactJobInfo_t **")] IVector** value) + public HRESULT get_JobInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactJobInfo_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT get_SignificantOthers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactSignificantOther_t **")] IVector** value) + public HRESULT get_SignificantOthers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactSignificantOther_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT get_Websites([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactWebsite_t **")] IVector** value) + public HRESULT get_Websites([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactWebsite_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IContact2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IContact2*)Unsafe.AsPointer(ref this), value); } /// @@ -198,31 +198,31 @@ public interface Interface : IInspectable.Interface HRESULT put_Notes(HSTRING value); [VtblIndex(10)] - HRESULT get_Phones([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactPhone_t **")] IVector** value); + HRESULT get_Phones([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactPhone_t **")] IVector>** value); [VtblIndex(11)] - HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactEmail_t **")] IVector** value); + HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactEmail_t **")] IVector>** value); [VtblIndex(12)] - HRESULT get_Addresses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactAddress_t **")] IVector** value); + HRESULT get_Addresses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactAddress_t **")] IVector>** value); [VtblIndex(13)] - HRESULT get_ConnectedServiceAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactConnectedServiceAccount_t **")] IVector** value); + HRESULT get_ConnectedServiceAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactConnectedServiceAccount_t **")] IVector>** value); [VtblIndex(14)] - HRESULT get_ImportantDates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactDate_t **")] IVector** value); + HRESULT get_ImportantDates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactDate_t **")] IVector>** value); [VtblIndex(15)] HRESULT get_DataSuppliers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(16)] - HRESULT get_JobInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactJobInfo_t **")] IVector** value); + HRESULT get_JobInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactJobInfo_t **")] IVector>** value); [VtblIndex(17)] - HRESULT get_SignificantOthers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactSignificantOther_t **")] IVector** value); + HRESULT get_SignificantOthers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactSignificantOther_t **")] IVector>** value); [VtblIndex(18)] - HRESULT get_Websites([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactWebsite_t **")] IVector** value); + HRESULT get_Websites([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactWebsite_t **")] IVector>** value); [VtblIndex(19)] HRESULT get_ProviderProperties([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet **")] IPropertySet** value); @@ -262,31 +262,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Notes; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactPhone_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Phones; + public delegate* unmanaged[MemberFunction]>**, int> get_Phones; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactEmail_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Emails; + public delegate* unmanaged[MemberFunction]>**, int> get_Emails; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactAddress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Addresses; + public delegate* unmanaged[MemberFunction]>**, int> get_Addresses; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactConnectedServiceAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ConnectedServiceAccounts; + public delegate* unmanaged[MemberFunction]>**, int> get_ConnectedServiceAccounts; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactDate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ImportantDates; + public delegate* unmanaged[MemberFunction]>**, int> get_ImportantDates; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_DataSuppliers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactJobInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_JobInfo; + public delegate* unmanaged[MemberFunction]>**, int> get_JobInfo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactSignificantOther_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SignificantOthers; + public delegate* unmanaged[MemberFunction]>**, int> get_SignificantOthers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactWebsite_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Websites; + public delegate* unmanaged[MemberFunction]>**, int> get_Websites; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::IPropertySet **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ProviderProperties; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationList.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationList.cs index 9d781d675a..45b986a077 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationList.cs @@ -114,25 +114,25 @@ public HRESULT TrySaveAnnotationAsync([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetAnnotationAsync(HSTRING annotationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotation) + public HRESULT GetAnnotationAsync(HSTRING annotationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>** annotation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), annotationId, annotation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), annotationId, annotation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT FindAnnotationsByRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations) + public HRESULT FindAnnotationsByRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), remoteId, annotations); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[12]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), remoteId, annotations); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT FindAnnotationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations) + public HRESULT FindAnnotationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), annotations); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IContactAnnotationList*)Unsafe.AsPointer(ref this), annotations); } /// @@ -161,13 +161,13 @@ public interface Interface : IInspectable.Interface HRESULT TrySaveAnnotationAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactAnnotation *")] IContactAnnotation* annotation, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** ppResult); [VtblIndex(11)] - HRESULT GetAnnotationAsync(HSTRING annotationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotation); + HRESULT GetAnnotationAsync(HSTRING annotationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>** annotation); [VtblIndex(12)] - HRESULT FindAnnotationsByRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations); + HRESULT FindAnnotationsByRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations); [VtblIndex(13)] - HRESULT FindAnnotationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations); + HRESULT FindAnnotationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations); [VtblIndex(14)] HRESULT DeleteAnnotationAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactAnnotation *")] IContactAnnotation* annotation, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); @@ -210,13 +210,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> TrySaveAnnotationAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAnnotationAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAnnotationAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAnnotationsByRemoteIdAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAnnotationsByRemoteIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAnnotationsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAnnotationsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContactAnnotation *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] DeleteAnnotationAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore.cs index 6f15360966..31aca8ab02 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore.cs @@ -74,25 +74,25 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindContactIdsByEmailAsync(HSTRING emailAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** contactIds) + public HRESULT FindContactIdsByEmailAsync(HSTRING emailAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** contactIds) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), emailAddress, contactIds); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[6]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), emailAddress, contactIds); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindContactIdsByPhoneNumberAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** contactIds) + public HRESULT FindContactIdsByPhoneNumberAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** contactIds) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), phoneNumber, contactIds); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[7]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), phoneNumber, contactIds); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FindAnnotationsForContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations) + public HRESULT FindAnnotationsForContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), contact, annotations); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), contact, annotations); } /// @@ -106,60 +106,60 @@ public HRESULT DisableAnnotationAsync([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateAnnotationListAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value) + public HRESULT CreateAnnotationListAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CreateAnnotationListInAccountAsync(HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value) + public HRESULT CreateAnnotationListInAccountAsync(HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), userDataAccountId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), userDataAccountId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetAnnotationListAsync(HSTRING annotationListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value) + public HRESULT GetAnnotationListAsync(HSTRING annotationListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), annotationListId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), annotationListId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT FindAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** lists) + public HRESULT FindAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>>>** lists) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), lists); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IContactAnnotationStore*)Unsafe.AsPointer(ref this), lists); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindContactIdsByEmailAsync(HSTRING emailAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** contactIds); + HRESULT FindContactIdsByEmailAsync(HSTRING emailAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** contactIds); [VtblIndex(7)] - HRESULT FindContactIdsByPhoneNumberAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** contactIds); + HRESULT FindContactIdsByPhoneNumberAsync(HSTRING phoneNumber, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** contactIds); [VtblIndex(8)] - HRESULT FindAnnotationsForContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations); + HRESULT FindAnnotationsForContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations); [VtblIndex(9)] HRESULT DisableAnnotationAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactAnnotation *")] IContactAnnotation* annotation, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); [VtblIndex(10)] - HRESULT CreateAnnotationListAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value); + HRESULT CreateAnnotationListAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value); [VtblIndex(11)] - HRESULT CreateAnnotationListInAccountAsync(HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value); + HRESULT CreateAnnotationListInAccountAsync(HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value); [VtblIndex(12)] - HRESULT GetAnnotationListAsync(HSTRING annotationListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** value); + HRESULT GetAnnotationListAsync(HSTRING annotationListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>** value); [VtblIndex(13)] - HRESULT FindAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** lists); + HRESULT FindAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>>>** lists); } public partial struct Vtbl @@ -184,27 +184,27 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactIdsByEmailAsync; + public delegate* unmanaged[MemberFunction]>>**, int> FindContactIdsByEmailAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactIdsByPhoneNumberAsync; + public delegate* unmanaged[MemberFunction]>>**, int> FindContactIdsByPhoneNumberAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAnnotationsForContactAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAnnotationsForContactAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContactAnnotation *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] DisableAnnotationAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAnnotationListAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAnnotationListAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAnnotationListInAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAnnotationListInAccountAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAnnotationListAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAnnotationListAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAnnotationListsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAnnotationListsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore2.cs index d34ac0a81a..3202092d63 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactAnnotationStore2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAnnotationsForContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations) + public HRESULT FindAnnotationsForContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactAnnotationStore2*)Unsafe.AsPointer(ref this), contactListId, annotations); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IContactAnnotationStore2*)Unsafe.AsPointer(ref this), contactListId, annotations); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAnnotationsForContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation** annotations); + HRESULT FindAnnotationsForContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **")] IAsyncOperation>>>** annotations); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAnnotationsForContactListAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAnnotationsForContactListAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactBatch.cs index 1f8271f28d..7e6131b5b9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactBatch.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactBatch.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView** value) + public HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactBatch*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContactBatch*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Conta public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView** value); + HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactBatchStatus *")] ContactBatchStatus* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Contacts; + public delegate* unmanaged[MemberFunction]>**, int> get_Contacts; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactBatchStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Status; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactChangeReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactChangeReader.cs index 271b026cbe..6d50b12d9d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactChangeReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactChangeReader.cs @@ -90,9 +90,9 @@ public HRESULT AcceptChangesThrough([NativeTypeName("ABI::Windows::ApplicationMo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactChange_t **")] IAsyncOperation** value) + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactChange_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactChangeReader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IContactChangeReader*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT AcceptChangesThrough([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactChange *")] IContactChange* lastChangeToAccept); [VtblIndex(8)] - HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactChange_t **")] IAsyncOperation** value); + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactChange_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AcceptChangesThrough; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactChange_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBatchAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> ReadBatchAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactInformation.cs index 9fc5d05ea9..bde8406a67 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactInformation.cs @@ -82,57 +82,57 @@ public HRESULT get_Name(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation) + public HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactInformation*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IContactInformation*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value) + public HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IContactInformation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_PhoneNumbers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value) + public HRESULT get_PhoneNumbers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IContactInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IContactInformation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactLocationField_t **")] IVectorView** value) + public HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactLocationField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContactInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContactInformation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_InstantMessages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInstantMessageField_t **")] IVectorView** value) + public HRESULT get_InstantMessages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInstantMessageField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContactInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContactInformation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_CustomFields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value) + public HRESULT get_CustomFields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContactInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IContactInformation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT QueryCustomFields(HSTRING customName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value) + public HRESULT QueryCustomFields(HSTRING customName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IContactInformation*)Unsafe.AsPointer(ref this), customName, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IContactInformation*)Unsafe.AsPointer(ref this), customName, value); } public interface Interface : IInspectable.Interface @@ -141,25 +141,25 @@ public interface Interface : IInspectable.Interface HRESULT get_Name(HSTRING* value); [VtblIndex(7)] - HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation); + HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value); + HRESULT get_Emails([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value); [VtblIndex(9)] - HRESULT get_PhoneNumbers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value); + HRESULT get_PhoneNumbers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value); [VtblIndex(10)] - HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactLocationField_t **")] IVectorView** value); + HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactLocationField_t **")] IVectorView>** value); [VtblIndex(11)] - HRESULT get_InstantMessages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInstantMessageField_t **")] IVectorView** value); + HRESULT get_InstantMessages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInstantMessageField_t **")] IVectorView>** value); [VtblIndex(12)] - HRESULT get_CustomFields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value); + HRESULT get_CustomFields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value); [VtblIndex(13)] - HRESULT QueryCustomFields(HSTRING customName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView** value); + HRESULT QueryCustomFields(HSTRING customName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **")] IVectorView>** value); } public partial struct Vtbl @@ -187,24 +187,24 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Name; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetThumbnailAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetThumbnailAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Emails; + public delegate* unmanaged[MemberFunction]>**, int> get_Emails; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PhoneNumbers; + public delegate* unmanaged[MemberFunction]>**, int> get_PhoneNumbers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactLocationField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Locations; + public delegate* unmanaged[MemberFunction]>**, int> get_Locations; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInstantMessageField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_InstantMessages; + public delegate* unmanaged[MemberFunction]>**, int> get_InstantMessages; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_CustomFields; + public delegate* unmanaged[MemberFunction]>**, int> get_CustomFields; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactField_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> QueryCustomFields; + public delegate* unmanaged[MemberFunction]>**, int> QueryCustomFields; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactList.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactList.cs index f0a2f9f351..56eaf6d76b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactList.cs @@ -186,9 +186,9 @@ public HRESULT get_UserDataAccountId(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactList_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue) + public HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactList_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IContactList*)Unsafe.AsPointer(ref this), value, returnValue); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IContactList*)Unsafe.AsPointer(ref this), value, returnValue); } /// @@ -218,17 +218,17 @@ public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT GetContactFromRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact) + public HRESULT GetContactFromRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[24]))((IContactList*)Unsafe.AsPointer(ref this), remoteId, contact); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[24]))((IContactList*)Unsafe.AsPointer(ref this), remoteId, contact); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** meContact) + public HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** meContact) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[25]))((IContactList*)Unsafe.AsPointer(ref this), meContact); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[25]))((IContactList*)Unsafe.AsPointer(ref this), meContact); } /// @@ -266,9 +266,9 @@ public HRESULT DeleteContactAsync([NativeTypeName("ABI::Windows::ApplicationMode /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts) + public HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contacts) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[30]))((IContactList*)Unsafe.AsPointer(ref this), contactId, contacts); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[30]))((IContactList*)Unsafe.AsPointer(ref this), contactId, contacts); } public interface Interface : IInspectable.Interface @@ -316,7 +316,7 @@ public interface Interface : IInspectable.Interface HRESULT get_UserDataAccountId(HSTRING* value); [VtblIndex(20)] - HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactList_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue); + HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactList_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue); [VtblIndex(21)] HRESULT remove_ContactChanged(EventRegistrationToken value); @@ -328,10 +328,10 @@ public interface Interface : IInspectable.Interface HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** returnValue); [VtblIndex(24)] - HRESULT GetContactFromRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact); + HRESULT GetContactFromRemoteIdAsync(HSTRING remoteId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact); [VtblIndex(25)] - HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** meContact); + HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** meContact); [VtblIndex(26)] HRESULT GetContactReader([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactReader **")] IContactReader** value); @@ -346,7 +346,7 @@ public interface Interface : IInspectable.Interface HRESULT DeleteContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); [VtblIndex(30)] - HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts); + HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contacts); } public partial struct Vtbl @@ -413,7 +413,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UserDataAccountId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactList_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ContactChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ContactChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ContactChanged; @@ -425,10 +425,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContactFromRemoteIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetContactFromRemoteIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetMeContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetMeContactAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContactReader **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetContactReader; @@ -443,6 +443,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteContactAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetContactAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs index 5274595808..67eee7c4be 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs @@ -106,9 +106,9 @@ public HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOpe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactListSyncManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactListSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(10)] - HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactListSyncManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactListSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_SyncStatusChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> SyncAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactListSyncManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SyncStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SyncStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SyncStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerForUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerForUser.cs index c1f9c5c599..04970838af 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerForUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerForUser.cs @@ -74,41 +74,41 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** result) + public HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), contact, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), contact, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** result) + public HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), contact, maxBytes, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), contact, maxBytes, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result) + public HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), vCard, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), vCard, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation** result) + public HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContactManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); } /// @@ -154,19 +154,19 @@ public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** result); + HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** result); + HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result); + HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation** result); + HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation>** result); [VtblIndex(11)] HRESULT get_SystemDisplayNameOrder([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactNameOrder *")] ContactNameOrder* value); @@ -206,19 +206,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertContactToVCardAsync; + public delegate* unmanaged[MemberFunction]>**, int> ConvertContactToVCardAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertContactToVCardAsyncWithMaxBytes; + public delegate* unmanaged[MemberFunction]>**, int> ConvertContactToVCardAsyncWithMaxBytes; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertVCardToContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> ConvertVCardToContactAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestAnnotationStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestAnnotationStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactNameOrder *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SystemDisplayNameOrder; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics2.cs index 8508e01b9f..3da223ae09 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** store) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** store) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactManagerStatics2*)Unsafe.AsPointer(ref this), store); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContactManagerStatics2*)Unsafe.AsPointer(ref this), store); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** store); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** store); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics3.cs index 2c7ccac822..3fb4c9564d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactManagerStatics3.cs @@ -74,41 +74,41 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** vCard) + public HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** vCard) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), contact, vCard); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), contact, vCard); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** vCard) + public HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** vCard) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), contact, maxBytes, vCard); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), contact, maxBytes, vCard); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact) + public HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), vCard, contact); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), vCard, contact); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestStoreAsyncWithAccessType([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** store) + public HRESULT RequestStoreAsyncWithAccessType([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** store) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), accessType, store); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), accessType, store); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation** store) + public HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation>** store) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), accessType, store); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IContactManagerStatics3*)Unsafe.AsPointer(ref this), accessType, store); } /// @@ -186,19 +186,19 @@ public HRESULT put_SystemSortOrder([NativeTypeName("ABI::Windows::ApplicationMod public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** vCard); + HRESULT ConvertContactToVCardAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** vCard); [VtblIndex(7)] - HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** vCard); + HRESULT ConvertContactToVCardAsyncWithMaxBytes([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("UINT32")] uint maxBytes, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** vCard); [VtblIndex(8)] - HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contact); + HRESULT ConvertVCardToContactAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* vCard, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contact); [VtblIndex(9)] - HRESULT RequestStoreAsyncWithAccessType([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation** store); + HRESULT RequestStoreAsyncWithAccessType([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType")] ContactStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **")] IAsyncOperation>** store); [VtblIndex(10)] - HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation** store); + HRESULT RequestAnnotationStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType")] ContactAnnotationStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **")] IAsyncOperation>** store); [VtblIndex(11)] HRESULT IsShowContactCardSupported([NativeTypeName("boolean *")] byte* result); @@ -250,19 +250,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertContactToVCardAsync; + public delegate* unmanaged[MemberFunction]>**, int> ConvertContactToVCardAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertContactToVCardAsyncWithMaxBytes; + public delegate* unmanaged[MemberFunction]>**, int> ConvertContactToVCardAsyncWithMaxBytes; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConvertVCardToContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> ConvertVCardToContactAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsyncWithAccessType; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsyncWithAccessType; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactAnnotationStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestAnnotationStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestAnnotationStoreAsync; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] IsShowContactCardSupported; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPanel.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPanel.cs index aad3dffab6..8c09097b10 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPanel.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPanel.cs @@ -98,9 +98,9 @@ public HRESULT put_HeaderColor([NativeTypeName("ABI::Windows::Foundation::__FIRe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_LaunchFullAppRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelLaunchFullAppRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LaunchFullAppRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelLaunchFullAppRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IContactPanel*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IContactPanel*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_LaunchFullAppRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IContactPanel*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IContactPanel*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,13 +139,13 @@ public interface Interface : IInspectable.Interface HRESULT put_HeaderColor([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CUI__CColor_t *")] IReference* value); [VtblIndex(9)] - HRESULT add_LaunchFullAppRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelLaunchFullAppRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LaunchFullAppRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelLaunchFullAppRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_LaunchFullAppRequested(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Closing(EventRegistrationToken token); @@ -182,13 +182,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]*, int> put_HeaderColor; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelLaunchFullAppRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LaunchFullAppRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LaunchFullAppRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LaunchFullAppRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactPanel_Windows__CApplicationModel__CContacts__CContactPanelClosingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closing; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker.cs index ad6298a4b8..9dceb6ea91 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker.cs @@ -114,17 +114,17 @@ public HRESULT get_DesiredFields([NativeTypeName("ABI::Windows::Foundation::Coll /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT PickSingleContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation** result) + public HRESULT PickSingleContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContactPicker*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContactPicker*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT PickMultipleContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation** result) + public HRESULT PickMultipleContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContactPicker*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[12]))((IContactPicker*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT get_DesiredFields([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(11)] - HRESULT PickSingleContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation** result); + HRESULT PickSingleContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation>** result); [VtblIndex(12)] - HRESULT PickMultipleContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation** result); + HRESULT PickMultipleContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInformation_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_DesiredFields; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleContactAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickMultipleContactsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> PickMultipleContactsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker2.cs index 54d97d308a..54a74d4175 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactPicker2.cs @@ -82,17 +82,17 @@ public HRESULT get_DesiredFieldsWithContactFieldType([NativeTypeName("ABI::Windo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT PickContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result) + public HRESULT PickContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactPicker2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IContactPicker2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT PickContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result) + public HRESULT PickContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactPicker2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IContactPicker2*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT get_DesiredFieldsWithContactFieldType([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CContacts__CContactFieldType_t **")] IVector** value); [VtblIndex(7)] - HRESULT PickContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result); + HRESULT PickContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT PickContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** result); + HRESULT PickContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_DesiredFieldsWithContactFieldType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickContactAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickContactsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> PickContactsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactReader.cs index e2b01273e2..f4412407c2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactReader.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactBatch_t **")] IAsyncOperation** value) + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactBatch_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactReader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContactReader*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetMatchingPropertiesWithMatchReason([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactMatchReason_t **")] IVectorView** ppRetVal) + public HRESULT GetMatchingPropertiesWithMatchReason([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactMatchReason_t **")] IVectorView>** ppRetVal) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactReader*)Unsafe.AsPointer(ref this), contact, ppRetVal); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IContactReader*)Unsafe.AsPointer(ref this), contact, ppRetVal); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactBatch_t **")] IAsyncOperation** value); + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactBatch_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT GetMatchingPropertiesWithMatchReason([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactMatchReason_t **")] IVectorView** ppRetVal); + HRESULT GetMatchingPropertiesWithMatchReason([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactMatchReason_t **")] IVectorView>** ppRetVal); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactBatch_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBatchAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadBatchAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContactMatchReason_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetMatchingPropertiesWithMatchReason; + public delegate* unmanaged[MemberFunction]>**, int> GetMatchingPropertiesWithMatchReason; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore.cs index eb630c2d97..72875e6fd5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore.cs @@ -74,37 +74,37 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts) + public HRESULT FindContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** contacts) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContactStore*)Unsafe.AsPointer(ref this), contacts); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IContactStore*)Unsafe.AsPointer(ref this), contacts); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindContactsWithSearchTextAsync(HSTRING searchText, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts) + public HRESULT FindContactsWithSearchTextAsync(HSTRING searchText, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** contacts) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContactStore*)Unsafe.AsPointer(ref this), searchText, contacts); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IContactStore*)Unsafe.AsPointer(ref this), searchText, contacts); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts) + public HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contacts) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContactStore*)Unsafe.AsPointer(ref this), contactId, contacts); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IContactStore*)Unsafe.AsPointer(ref this), contactId, contacts); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts); + HRESULT FindContactsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** contacts); [VtblIndex(7)] - HRESULT FindContactsWithSearchTextAsync(HSTRING searchText, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts); + HRESULT FindContactsWithSearchTextAsync(HSTRING searchText, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>>>** contacts); [VtblIndex(8)] - HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** contacts); + HRESULT GetContactAsync(HSTRING contactId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** contacts); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactsWithSearchTextAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactsWithSearchTextAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetContactAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore2.cs index f9b32c52c2..800b87f698 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactStore2.cs @@ -82,9 +82,9 @@ public HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactStore_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue) + public HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactStore_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IContactStore2*)Unsafe.AsPointer(ref this), value, returnValue); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IContactStore2*)Unsafe.AsPointer(ref this), value, returnValue); } /// @@ -106,33 +106,33 @@ public HRESULT get_AggregateContactManager([NativeTypeName("ABI::Windows::Applic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value) + public HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContactStore2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IContactStore2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value) + public HRESULT GetContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IContactStore2*)Unsafe.AsPointer(ref this), contactListId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IContactStore2*)Unsafe.AsPointer(ref this), contactListId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CreateContactListAsync(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value) + public HRESULT CreateContactListAsync(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IContactStore2*)Unsafe.AsPointer(ref this), displayName, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IContactStore2*)Unsafe.AsPointer(ref this), displayName, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** meContact) + public HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** meContact) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IContactStore2*)Unsafe.AsPointer(ref this), meContact); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IContactStore2*)Unsafe.AsPointer(ref this), meContact); } /// @@ -154,9 +154,9 @@ public HRESULT GetContactReaderWithOptions([NativeTypeName("ABI::Windows::Applic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT CreateContactListInAccountAsync(HSTRING displayName, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value) + public HRESULT CreateContactListInAccountAsync(HSTRING displayName, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IContactStore2*)Unsafe.AsPointer(ref this), displayName, userDataAccountId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IContactStore2*)Unsafe.AsPointer(ref this), displayName, userDataAccountId, value); } public interface Interface : IInspectable.Interface @@ -165,7 +165,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactChangeTracker **")] IContactChangeTracker** value); [VtblIndex(7)] - HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactStore_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue); + HRESULT add_ContactChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactStore_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue); [VtblIndex(8)] HRESULT remove_ContactChanged(EventRegistrationToken value); @@ -174,16 +174,16 @@ public interface Interface : IInspectable.Interface HRESULT get_AggregateContactManager([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IAggregateContactManager **")] IAggregateContactManager** value); [VtblIndex(10)] - HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value); + HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>>>** value); [VtblIndex(11)] - HRESULT GetContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value); + HRESULT GetContactListAsync(HSTRING contactListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value); [VtblIndex(12)] - HRESULT CreateContactListAsync(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value); + HRESULT CreateContactListAsync(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value); [VtblIndex(13)] - HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation** meContact); + HRESULT GetMeContactAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **")] IAsyncOperation>** meContact); [VtblIndex(14)] HRESULT GetContactReader([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactReader **")] IContactReader** value); @@ -192,7 +192,7 @@ public interface Interface : IInspectable.Interface HRESULT GetContactReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactQueryOptions *")] IContactQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContactReader **")] IContactReader** value); [VtblIndex(16)] - HRESULT CreateContactListInAccountAsync(HSTRING displayName, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** value); + HRESULT CreateContactListInAccountAsync(HSTRING displayName, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -220,7 +220,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ChangeTracker; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CContacts__CContactStore_Windows__CApplicationModel__CContacts__CContactChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ContactChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ContactChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ContactChanged; @@ -229,16 +229,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AggregateContactManager; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactListsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactListsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContactListAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetContactListAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateContactListAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateContactListAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetMeContactAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetMeContactAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContactReader **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetContactReader; @@ -247,6 +247,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetContactReaderWithOptions; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CContactList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateContactListInAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateContactListInAccountAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IPinnedContactManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IPinnedContactManager.cs index bfe4a44fa2..97bf10cadc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IPinnedContactManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IPinnedContactManager.cs @@ -106,9 +106,9 @@ public HRESULT RequestPinContactAsync([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT RequestPinContactsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CContacts__CContact_t *")] IIterable* contacts, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + public HRESULT RequestPinContactsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CContacts__CContact_t *")] IIterable>* contacts, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]*, PinnedContactSurface, IAsyncOperation**, int>)(lpVtbl[10]))((IPinnedContactManager*)Unsafe.AsPointer(ref this), contacts, surface, operation); + return ((delegate* unmanaged[MemberFunction]>*, PinnedContactSurface, IAsyncOperation**, int>)(lpVtbl[10]))((IPinnedContactManager*)Unsafe.AsPointer(ref this), contacts, surface, operation); } /// @@ -130,9 +130,9 @@ public HRESULT SignalContactActivity([NativeTypeName("ABI::Windows::ApplicationM /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetPinnedContactIdsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CPinnedContactIdsQueryResult_t **")] IAsyncOperation** operation) + public HRESULT GetPinnedContactIdsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CPinnedContactIdsQueryResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IPinnedContactManager*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IPinnedContactManager*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -150,7 +150,7 @@ public interface Interface : IInspectable.Interface HRESULT RequestPinContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(10)] - HRESULT RequestPinContactsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CContacts__CContact_t *")] IIterable* contacts, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + HRESULT RequestPinContactsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CContacts__CContact_t *")] IIterable>* contacts, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(11)] HRESULT RequestUnpinContactAsync([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact, [NativeTypeName("ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface")] PinnedContactSurface surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -159,7 +159,7 @@ public interface Interface : IInspectable.Interface HRESULT SignalContactActivity([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::IContact *")] IContact* contact); [VtblIndex(13)] - HRESULT GetPinnedContactIdsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CPinnedContactIdsQueryResult_t **")] IAsyncOperation** operation); + HRESULT GetPinnedContactIdsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CPinnedContactIdsQueryResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -196,7 +196,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestPinContactAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CContacts__CContact_t *, ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, PinnedContactSurface, IAsyncOperation**, int> RequestPinContactsAsync; + public delegate* unmanaged[MemberFunction]>*, PinnedContactSurface, IAsyncOperation**, int> RequestPinContactsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Contacts::IContact *, ABI::Windows::ApplicationModel::Contacts::PinnedContactSurface, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestUnpinContactAsync; @@ -205,6 +205,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SignalContactActivity; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CContacts__CPinnedContactIdsQueryResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPinnedContactIdsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPinnedContactIdsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication.cs index 95ddb820e3..2fb256b3ae 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication.cs @@ -82,9 +82,9 @@ public HRESULT get_Id(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Suspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CSuspendingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Suspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CSuspendingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplication*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplication*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_Suspending(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Resuming([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Resuming([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreApplication*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreApplication*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -149,13 +149,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Id(HSTRING* value); [VtblIndex(7)] - HRESULT add_Suspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CSuspendingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Suspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CSuspendingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_Suspending(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_Resuming([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Resuming([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Resuming(EventRegistrationToken token); @@ -198,13 +198,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CSuspendingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Suspending; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_Suspending; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Suspending; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Resuming; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_Resuming; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Resuming; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication2.cs index dec62c79cd..74f38ad87a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplication2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_BackgroundActivated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_LeavingBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CLeavingBackgroundEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LeavingBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CLeavingBackgroundEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_LeavingBackground(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_EnteredBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CEnteredBackgroundEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnteredBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CEnteredBackgroundEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICoreApplication2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,19 +130,19 @@ public HRESULT EnablePrelaunch([NativeTypeName("boolean")] byte value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BackgroundActivated([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_BackgroundActivated(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_LeavingBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CLeavingBackgroundEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LeavingBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CLeavingBackgroundEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_LeavingBackground(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_EnteredBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CEnteredBackgroundEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnteredBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CEnteredBackgroundEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_EnteredBackground(EventRegistrationToken token); @@ -173,19 +173,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CActivation__CBackgroundActivatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BackgroundActivated; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_BackgroundActivated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BackgroundActivated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CLeavingBackgroundEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LeavingBackground; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_LeavingBackground; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LeavingBackground; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CEnteredBackgroundEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnteredBackground; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_EnteredBackground; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnteredBackground; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationExit.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationExit.cs index 2240e165ed..cdd4fdc199 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationExit.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationExit.cs @@ -82,9 +82,9 @@ public HRESULT Exit() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Exiting([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Exiting([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplicationExit*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplicationExit*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT Exit(); [VtblIndex(7)] - HRESULT add_Exiting([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Exiting([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_Exiting(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Exit; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Exiting; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_Exiting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Exiting; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationUnhandledError.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationUnhandledError.cs index 65371cb3e8..486e4e74a3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationUnhandledError.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationUnhandledError.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_UnhandledErrorDetected([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CCore__CUnhandledErrorDetectedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UnhandledErrorDetected([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CCore__CUnhandledErrorDetectedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreApplicationUnhandledError*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreApplicationUnhandledError*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_UnhandledErrorDetected(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_UnhandledErrorDetected([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CCore__CUnhandledErrorDetectedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UnhandledErrorDetected([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CCore__CUnhandledErrorDetectedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_UnhandledErrorDetected(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CCore__CUnhandledErrorDetectedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UnhandledErrorDetected; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_UnhandledErrorDetected; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UnhandledErrorDetected; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView.cs index cd53d5cf09..a63c9722e2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView.cs @@ -82,9 +82,9 @@ public HRESULT get_CoreWindow([NativeTypeName("ABI::Windows::UI::Core::ICoreWind /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CActivation__CIActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CActivation__CIActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplicationView*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreApplicationView*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -117,7 +117,7 @@ public interface Interface : IInspectable.Interface HRESULT get_CoreWindow([NativeTypeName("ABI::Windows::UI::Core::ICoreWindow **")] ICoreWindow** value); [VtblIndex(7)] - HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CActivation__CIActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CActivation__CIActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_Activated(EventRegistrationToken token); @@ -154,7 +154,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CoreWindow; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CActivation__CIActivatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Activated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Activated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Activated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView3.cs index 3ee842fca5..8b126d618e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationView3.cs @@ -90,9 +90,9 @@ public HRESULT get_TitleBar([NativeTypeName("ABI::Windows::ApplicationModel::Cor /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_HostedViewClosing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CCore__CHostedViewClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_HostedViewClosing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CCore__CHostedViewClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreApplicationView3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreApplicationView3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_TitleBar([NativeTypeName("ABI::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar **")] ICoreApplicationViewTitleBar** value); [VtblIndex(8)] - HRESULT add_HostedViewClosing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CCore__CHostedViewClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_HostedViewClosing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CCore__CHostedViewClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_HostedViewClosing(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_TitleBar; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationView_Windows__CApplicationModel__CCore__CHostedViewClosingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HostedViewClosing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_HostedViewClosing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HostedViewClosing; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationViewTitleBar.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationViewTitleBar.cs index 2cd9a52f5f..9678949ccd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationViewTitleBar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreApplicationViewTitleBar.cs @@ -114,9 +114,9 @@ public HRESULT get_Height(double* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_LayoutMetricsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_LayoutMetricsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICoreApplicationViewTitleBar*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICoreApplicationViewTitleBar*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT get_IsVisible([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_IsVisibleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsVisibleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICoreApplicationViewTitleBar*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICoreApplicationViewTitleBar*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -169,7 +169,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Height(double* value); [VtblIndex(11)] - HRESULT add_LayoutMetricsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_LayoutMetricsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_LayoutMetricsChanged(EventRegistrationToken token); @@ -178,7 +178,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsVisible([NativeTypeName("boolean *")] byte* value); [VtblIndex(14)] - HRESULT add_IsVisibleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsVisibleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_IsVisibleChanged(EventRegistrationToken token); @@ -221,7 +221,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Height; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LayoutMetricsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LayoutMetricsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LayoutMetricsChanged; @@ -230,7 +230,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsVisible; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CCore__CCoreApplicationViewTitleBar_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsVisibleChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsVisibleChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsVisibleChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreImmersiveApplication.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreImmersiveApplication.cs index a387f80315..5fffea35a2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreImmersiveApplication.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.core/ICoreImmersiveApplication.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Views([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CCoreApplicationView_t **")] IVectorView** value) + public HRESULT get_Views([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CCoreApplicationView_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICoreImmersiveApplication*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICoreImmersiveApplication*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_MainView([NativeTypeName("ABI::Windows::ApplicationModel::Cor public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Views([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CCoreApplicationView_t **")] IVectorView** value); + HRESULT get_Views([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CCoreApplicationView_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT CreateNewView(HSTRING runtimeType, HSTRING entryPoint, [NativeTypeName("ABI::Windows::ApplicationModel::Core::ICoreApplicationView **")] ICoreApplicationView** view); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CCoreApplicationView_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Views; + public delegate* unmanaged[MemberFunction]>**, int> get_Views; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::ApplicationModel::Core::ICoreApplicationView **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateNewView; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer.sharetarget/IShareOperation3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer.sharetarget/IShareOperation3.cs index fb9ba9c69f..408e3a8737 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer.sharetarget/IShareOperation3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer.sharetarget/IShareOperation3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView** value) + public HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IShareOperation3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IShareOperation3*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView** value); + HRESULT get_Contacts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CContacts__CContact_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Contacts; + public delegate* unmanaged[MemberFunction]>**, int> get_Contacts; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItemsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItemsResult.cs index b126669b9f..d5c14ef7db 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItemsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItemsResult.cs @@ -82,9 +82,9 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::DataT /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItem_t **")] IVectorView** value) + public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItem_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IClipboardHistoryItemsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IClipboardHistoryItemsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus *")] ClipboardHistoryItemsResultStatus* value); [VtblIndex(7)] - HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItem_t **")] IVectorView** value); + HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItem_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Items; + public delegate* unmanaged[MemberFunction]>**, int> get_Items; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics.cs index 0efcf64f92..365a84f61d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics.cs @@ -106,9 +106,9 @@ public HRESULT Clear() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ContentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ContentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IClipboardStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IClipboardStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT Clear(); [VtblIndex(10)] - HRESULT add_ContentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ContentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ContentChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Clear; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ContentChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ContentChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ContentChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics2.cs index 7a936422f2..2931677aa2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetHistoryItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItemsResult_t **")] IAsyncOperation** operation) + public HRESULT GetHistoryItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItemsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), operation); } /// @@ -130,9 +130,9 @@ public HRESULT SetContentWithOptions([NativeTypeName("ABI::Windows::ApplicationM /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_HistoryChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryChangedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_HistoryChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryChangedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_HistoryChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_RoamingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RoamingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_RoamingEnabledChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_HistoryEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_HistoryEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IClipboardStatics2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,7 +178,7 @@ public HRESULT remove_HistoryEnabledChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetHistoryItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItemsResult_t **")] IAsyncOperation** operation); + HRESULT GetHistoryItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItemsResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT ClearHistory([NativeTypeName("boolean *")] byte* result); @@ -199,19 +199,19 @@ public interface Interface : IInspectable.Interface HRESULT SetContentWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IDataPackage *")] IDataPackage* content, [NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions *")] IClipboardContentOptions* options, [NativeTypeName("boolean *")] byte* result); [VtblIndex(13)] - HRESULT add_HistoryChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryChangedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_HistoryChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryChangedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_HistoryChanged(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_RoamingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RoamingEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_RoamingEnabledChanged(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_HistoryEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_HistoryEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_HistoryEnabledChanged(EventRegistrationToken token); @@ -239,7 +239,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryItemsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHistoryItemsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetHistoryItemsAsync; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ClearHistory; @@ -260,19 +260,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetContentWithOptions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CApplicationModel__CDataTransfer__CClipboardHistoryChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HistoryChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_HistoryChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HistoryChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RoamingEnabledChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RoamingEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RoamingEnabledChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HistoryEnabledChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_HistoryEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HistoryEnabledChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage.cs index eb04862ac9..63a0b4bd23 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage.cs @@ -106,9 +106,9 @@ public HRESULT put_RequestedOperation([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_OperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__COperationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__COperationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDataPackage*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDataPackage*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_OperationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_Destroyed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Destroyed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IDataPackage*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IDataPackage*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -179,9 +179,9 @@ public HRESULT SetHtmlFormat(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT get_ResourceMap([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IMap** value) + public HRESULT get_ResourceMap([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IDataPackage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IDataPackage*)Unsafe.AsPointer(ref this), value); } /// @@ -203,17 +203,17 @@ public HRESULT SetBitmap([NativeTypeName("ABI::Windows::Storage::Streams::IRando /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT SetStorageItemsReadOnly([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* value) + public HRESULT SetStorageItemsReadOnly([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[22]))((IDataPackage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[22]))((IDataPackage*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT SetStorageItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* value, [NativeTypeName("boolean")] byte readOnly) + public HRESULT SetStorageItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* value, [NativeTypeName("boolean")] byte readOnly) { - return ((delegate* unmanaged[MemberFunction]*, byte, int>)(lpVtbl[23]))((IDataPackage*)Unsafe.AsPointer(ref this), value, readOnly); + return ((delegate* unmanaged[MemberFunction]>*, byte, int>)(lpVtbl[23]))((IDataPackage*)Unsafe.AsPointer(ref this), value, readOnly); } public interface Interface : IInspectable.Interface @@ -231,13 +231,13 @@ public interface Interface : IInspectable.Interface HRESULT put_RequestedOperation([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::DataPackageOperation")] DataPackageOperation value); [VtblIndex(10)] - HRESULT add_OperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__COperationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__COperationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_OperationCompleted(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_Destroyed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Destroyed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_Destroyed(EventRegistrationToken token); @@ -259,7 +259,7 @@ public interface Interface : IInspectable.Interface HRESULT SetHtmlFormat(HSTRING value); [VtblIndex(19)] - HRESULT get_ResourceMap([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IMap** value); + HRESULT get_ResourceMap([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IMap>** value); [VtblIndex(20)] HRESULT SetRtf(HSTRING value); @@ -268,10 +268,10 @@ public interface Interface : IInspectable.Interface HRESULT SetBitmap([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value); [VtblIndex(22)] - HRESULT SetStorageItemsReadOnly([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* value); + HRESULT SetStorageItemsReadOnly([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* value); [VtblIndex(23)] - HRESULT SetStorageItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* value, [NativeTypeName("boolean")] byte readOnly); + HRESULT SetStorageItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* value, [NativeTypeName("boolean")] byte readOnly); } public partial struct Vtbl @@ -308,13 +308,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_RequestedOperation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__COperationCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OperationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OperationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OperationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Destroyed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Destroyed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Destroyed; @@ -336,7 +336,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetHtmlFormat; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ResourceMap; + public delegate* unmanaged[MemberFunction]>**, int> get_ResourceMap; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetRtf; @@ -345,9 +345,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetBitmap; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> SetStorageItemsReadOnly; + public delegate* unmanaged[MemberFunction]>*, int> SetStorageItemsReadOnly; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *, boolean) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, byte, int> SetStorageItems; + public delegate* unmanaged[MemberFunction]>*, byte, int> SetStorageItems; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage3.cs index 834df74892..f05ec0785a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ShareCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__CShareCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShareCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__CShareCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataPackage3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataPackage3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ShareCompleted(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ShareCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__CShareCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShareCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__CShareCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ShareCompleted(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_Windows__CApplicationModel__CDataTransfer__CShareCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShareCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShareCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShareCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage4.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage4.cs index 04cd38137d..30bfba897e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackage4.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ShareCanceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShareCanceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataPackage4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataPackage4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ShareCanceled(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ShareCanceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShareCanceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ShareCanceled(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataPackage_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShareCanceled; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShareCanceled; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShareCanceled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView.cs index 96547f0cf2..f48f81fcf3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView.cs @@ -114,9 +114,9 @@ public HRESULT Contains(HSTRING formatId, [NativeTypeName("boolean *")] byte* va /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetDataAsync(HSTRING formatId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT GetDataAsync(HSTRING formatId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IDataPackageView*)Unsafe.AsPointer(ref this), formatId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IDataPackageView*)Unsafe.AsPointer(ref this), formatId, operation); } /// @@ -139,9 +139,9 @@ public HRESULT GetCustomTextAsync(HSTRING formatId, [NativeTypeName("ABI::Window [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] [Obsolete("GetUriAsync may be altered or unavailable for releases after Windows 8.1. Instead, use GetWebLinkAsync or GetApplicationLinkAsync.")] - public HRESULT GetUriAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation) + public HRESULT GetUriAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); } /// @@ -155,9 +155,9 @@ public HRESULT GetHtmlFormatAsync([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetResourceMapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** operation) + public HRESULT GetResourceMapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[16]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); } /// @@ -171,17 +171,17 @@ public HRESULT GetRtfAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncO /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT GetBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** operation) + public HRESULT GetBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT GetStorageItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetStorageItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[19]))((IDataPackageView*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -202,7 +202,7 @@ public interface Interface : IInspectable.Interface HRESULT Contains(HSTRING formatId, [NativeTypeName("boolean *")] byte* value); [VtblIndex(11)] - HRESULT GetDataAsync(HSTRING formatId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation** operation); + HRESULT GetDataAsync(HSTRING formatId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation>** operation); [VtblIndex(12)] HRESULT GetTextAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); @@ -212,22 +212,22 @@ public interface Interface : IInspectable.Interface [VtblIndex(14)] [Obsolete("GetUriAsync may be altered or unavailable for releases after Windows 8.1. Instead, use GetWebLinkAsync or GetApplicationLinkAsync.")] - HRESULT GetUriAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation); + HRESULT GetUriAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation); [VtblIndex(15)] HRESULT GetHtmlFormatAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(16)] - HRESULT GetResourceMapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** operation); + HRESULT GetResourceMapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>>>** operation); [VtblIndex(17)] HRESULT GetRtfAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(18)] - HRESULT GetBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation** operation); + HRESULT GetBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **")] IAsyncOperation>** operation); [VtblIndex(19)] - HRESULT GetStorageItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetStorageItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -267,7 +267,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Contains; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDataAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDataAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetTextAsync; @@ -277,21 +277,21 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] [Obsolete("GetUriAsync may be altered or unavailable for releases after Windows 8.1. Instead, use GetWebLinkAsync or GetApplicationLinkAsync.")] - public delegate* unmanaged[MemberFunction]**, int> GetUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetHtmlFormatAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetResourceMapAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetResourceMapAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetRtfAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetBitmapAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetBitmapAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetStorageItemsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetStorageItemsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView2.cs index c9b790e911..badf443e05 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataPackageView2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetApplicationLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation) + public HRESULT GetApplicationLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDataPackageView2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDataPackageView2*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetWebLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation) + public HRESULT GetWebLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDataPackageView2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDataPackageView2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetApplicationLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation); + HRESULT GetApplicationLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetWebLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation** operation); + HRESULT GetWebLinkAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetApplicationLinkAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetApplicationLinkAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetWebLinkAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetWebLinkAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager.cs index 115fc308c8..7519573013 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_DataRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CDataRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DataRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CDataRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataTransferManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataTransferManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_DataRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_TargetApplicationChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CTargetApplicationChosenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TargetApplicationChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CTargetApplicationChosenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDataTransferManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDataTransferManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,13 +106,13 @@ public HRESULT remove_TargetApplicationChosen(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_DataRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CDataRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DataRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CDataRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_DataRequested(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_TargetApplicationChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CTargetApplicationChosenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TargetApplicationChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CTargetApplicationChosenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_TargetApplicationChosen(EventRegistrationToken token); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CDataRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DataRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DataRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DataRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CTargetApplicationChosenEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TargetApplicationChosen; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TargetApplicationChosen; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TargetApplicationChosen; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager2.cs index 423cdb9ba8..1f38413179 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataTransferManager2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ShareProvidersRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CShareProvidersRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShareProvidersRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CShareProvidersRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataTransferManager2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDataTransferManager2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ShareProvidersRequested(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ShareProvidersRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CShareProvidersRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShareProvidersRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CShareProvidersRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ShareProvidersRequested(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CDataTransfer__CDataTransferManager_Windows__CApplicationModel__CDataTransfer__CShareProvidersRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShareProvidersRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShareProvidersRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShareProvidersRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IShareProvidersRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IShareProvidersRequestedEventArgs.cs index 713d8e2b2e..da7551be16 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IShareProvidersRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IShareProvidersRequestedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Providers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CDataTransfer__CShareProvider_t **")] IVector** value) + public HRESULT get_Providers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CDataTransfer__CShareProvider_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IShareProvidersRequestedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IShareProvidersRequestedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Providers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CDataTransfer__CShareProvider_t **")] IVector** value); + HRESULT get_Providers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CDataTransfer__CShareProvider_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_Data([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IDataPackageView **")] IDataPackageView** value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CDataTransfer__CShareProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Providers; + public delegate* unmanaged[MemberFunction]>**, int> get_Providers; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::DataTransfer::IDataPackageView **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Data; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/ISharedStorageAccessManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/ISharedStorageAccessManagerStatics.cs index bf5255c683..ae891135ce 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/ISharedStorageAccessManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/ISharedStorageAccessManagerStatics.cs @@ -82,9 +82,9 @@ public HRESULT AddFile([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RedeemTokenForFileAsync(HSTRING token, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT RedeemTokenForFileAsync(HSTRING token, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISharedStorageAccessManagerStatics*)Unsafe.AsPointer(ref this), token, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISharedStorageAccessManagerStatics*)Unsafe.AsPointer(ref this), token, operation); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT AddFile([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, HSTRING* outToken); [VtblIndex(7)] - HRESULT RedeemTokenForFileAsync(HSTRING token, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT RedeemTokenForFileAsync(HSTRING token, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT RemoveFile(HSTRING token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AddFile; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RedeemTokenForFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> RedeemTokenForFileAsync; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] RemoveFile; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailAttachmentDownloadState.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailAttachmentDownloadState.cs new file mode 100644 index 0000000000..53c755d1ee --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailAttachmentDownloadState.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailAttachmentDownloadState +{ + /// + EmailAttachmentDownloadState_NotDownloaded = 0, + + /// + EmailAttachmentDownloadState_Downloading = 1, + + /// + EmailAttachmentDownloadState_Downloaded = 2, + + /// + EmailAttachmentDownloadState_Failed = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailBatchStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailBatchStatus.cs new file mode 100644 index 0000000000..e535b86414 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailBatchStatus.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailBatchStatus +{ + /// + EmailBatchStatus_Success = 0, + + /// + EmailBatchStatus_ServerSearchSyncManagerError = 1, + + /// + EmailBatchStatus_ServerSearchUnknownError = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailCertificateValidationStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailCertificateValidationStatus.cs new file mode 100644 index 0000000000..326a8bc052 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailCertificateValidationStatus.cs @@ -0,0 +1,43 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailCertificateValidationStatus +{ + /// + EmailCertificateValidationStatus_Success = 0, + + /// + EmailCertificateValidationStatus_NoMatch = 1, + + /// + EmailCertificateValidationStatus_InvalidUsage = 2, + + /// + EmailCertificateValidationStatus_InvalidCertificate = 3, + + /// + EmailCertificateValidationStatus_Revoked = 4, + + /// + EmailCertificateValidationStatus_ChainRevoked = 5, + + /// + EmailCertificateValidationStatus_RevocationServerFailure = 6, + + /// + EmailCertificateValidationStatus_Expired = 7, + + /// + EmailCertificateValidationStatus_Untrusted = 8, + + /// + EmailCertificateValidationStatus_ServerError = 9, + + /// + EmailCertificateValidationStatus_UnknownFailure = 10, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailFlagState.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailFlagState.cs new file mode 100644 index 0000000000..f9734b78f7 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailFlagState.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailFlagState +{ + /// + EmailFlagState_Unflagged = 0, + + /// + EmailFlagState_Flagged = 1, + + /// + EmailFlagState_Completed = 2, + + /// + EmailFlagState_Cleared = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailImportance.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailImportance.cs new file mode 100644 index 0000000000..cfc0e9551f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailImportance.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailImportance +{ + /// + EmailImportance_Normal = 0, + + /// + EmailImportance_High = 1, + + /// + EmailImportance_Low = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxActionKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxActionKind.cs new file mode 100644 index 0000000000..b7e0fe2122 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxActionKind.cs @@ -0,0 +1,43 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxActionKind +{ + /// + EmailMailboxActionKind_MarkMessageAsSeen = 0, + + /// + EmailMailboxActionKind_MarkMessageRead = 1, + + /// + EmailMailboxActionKind_ChangeMessageFlagState = 2, + + /// + EmailMailboxActionKind_MoveMessage = 3, + + /// + EmailMailboxActionKind_SaveDraft = 4, + + /// + EmailMailboxActionKind_SendMessage = 5, + + /// + EmailMailboxActionKind_CreateResponseReplyMessage = 6, + + /// + EmailMailboxActionKind_CreateResponseReplyAllMessage = 7, + + /// + EmailMailboxActionKind_CreateResponseForwardMessage = 8, + + /// + EmailMailboxActionKind_MoveFolder = 9, + + /// + EmailMailboxActionKind_MarkFolderForSyncEnabled = 10, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation.cs new file mode 100644 index 0000000000..bfba3f7d2d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation +{ + /// + EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation_None = 0, + + /// + EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation_StrongAlgorithm = 1, + + /// + EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation_AnyAlgorithm = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAutoReplyMessageResponseKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAutoReplyMessageResponseKind.cs new file mode 100644 index 0000000000..aae0b7c4cc --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxAutoReplyMessageResponseKind.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxAutoReplyMessageResponseKind +{ + /// + EmailMailboxAutoReplyMessageResponseKind_Html = 0, + + /// + EmailMailboxAutoReplyMessageResponseKind_PlainText = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxChangeType.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxChangeType.cs new file mode 100644 index 0000000000..709a4a5511 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxChangeType.cs @@ -0,0 +1,31 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxChangeType +{ + /// + EmailMailboxChangeType_MessageCreated = 0, + + /// + EmailMailboxChangeType_MessageModified = 1, + + /// + EmailMailboxChangeType_MessageDeleted = 2, + + /// + EmailMailboxChangeType_FolderCreated = 3, + + /// + EmailMailboxChangeType_FolderModified = 4, + + /// + EmailMailboxChangeType_FolderDeleted = 5, + + /// + EmailMailboxChangeType_ChangeTrackingLost = 6, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxCreateFolderStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxCreateFolderStatus.cs new file mode 100644 index 0000000000..de1fb236d1 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxCreateFolderStatus.cs @@ -0,0 +1,31 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxCreateFolderStatus +{ + /// + EmailMailboxCreateFolderStatus_Success = 0, + + /// + EmailMailboxCreateFolderStatus_NetworkError = 1, + + /// + EmailMailboxCreateFolderStatus_PermissionsError = 2, + + /// + EmailMailboxCreateFolderStatus_ServerError = 3, + + /// + EmailMailboxCreateFolderStatus_UnknownFailure = 4, + + /// + EmailMailboxCreateFolderStatus_NameCollision = 5, + + /// + EmailMailboxCreateFolderStatus_ServerRejected = 6, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxDeleteFolderStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxDeleteFolderStatus.cs new file mode 100644 index 0000000000..636b9d52de --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxDeleteFolderStatus.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxDeleteFolderStatus +{ + /// + EmailMailboxDeleteFolderStatus_Success = 0, + + /// + EmailMailboxDeleteFolderStatus_NetworkError = 1, + + /// + EmailMailboxDeleteFolderStatus_PermissionsError = 2, + + /// + EmailMailboxDeleteFolderStatus_ServerError = 3, + + /// + EmailMailboxDeleteFolderStatus_UnknownFailure = 4, + + /// + EmailMailboxDeleteFolderStatus_CouldNotDeleteEverything = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxEmptyFolderStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxEmptyFolderStatus.cs new file mode 100644 index 0000000000..fd0cff39f8 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxEmptyFolderStatus.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxEmptyFolderStatus +{ + /// + EmailMailboxEmptyFolderStatus_Success = 0, + + /// + EmailMailboxEmptyFolderStatus_NetworkError = 1, + + /// + EmailMailboxEmptyFolderStatus_PermissionsError = 2, + + /// + EmailMailboxEmptyFolderStatus_ServerError = 3, + + /// + EmailMailboxEmptyFolderStatus_UnknownFailure = 4, + + /// + EmailMailboxEmptyFolderStatus_CouldNotDeleteEverything = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppReadAccess.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppReadAccess.cs new file mode 100644 index 0000000000..e37ede4d49 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppReadAccess.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxOtherAppReadAccess +{ + /// + EmailMailboxOtherAppReadAccess_SystemOnly = 0, + + /// + EmailMailboxOtherAppReadAccess_Full = 1, + + /// + EmailMailboxOtherAppReadAccess_None = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppWriteAccess.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppWriteAccess.cs new file mode 100644 index 0000000000..659d2bd045 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxOtherAppWriteAccess.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxOtherAppWriteAccess +{ + /// + EmailMailboxOtherAppWriteAccess_None = 0, + + /// + EmailMailboxOtherAppWriteAccess_Limited = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeEncryptionAlgorithm.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeEncryptionAlgorithm.cs new file mode 100644 index 0000000000..91a5c27d22 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeEncryptionAlgorithm.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxSmimeEncryptionAlgorithm +{ + /// + EmailMailboxSmimeEncryptionAlgorithm_Any = 0, + + /// + EmailMailboxSmimeEncryptionAlgorithm_TripleDes = 1, + + /// + EmailMailboxSmimeEncryptionAlgorithm_Des = 2, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC2128Bit = 3, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC264Bit = 4, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC240Bit = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeSigningAlgorithm.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeSigningAlgorithm.cs new file mode 100644 index 0000000000..65feaa39c6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSmimeSigningAlgorithm.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxSmimeSigningAlgorithm +{ + /// + EmailMailboxSmimeSigningAlgorithm_Any = 0, + + /// + EmailMailboxSmimeSigningAlgorithm_Sha1 = 1, + + /// + EmailMailboxSmimeSigningAlgorithm_MD5 = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSyncStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSyncStatus.cs new file mode 100644 index 0000000000..badd23d9e6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMailboxSyncStatus.cs @@ -0,0 +1,31 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMailboxSyncStatus +{ + /// + EmailMailboxSyncStatus_Idle = 0, + + /// + EmailMailboxSyncStatus_Syncing = 1, + + /// + EmailMailboxSyncStatus_UpToDate = 2, + + /// + EmailMailboxSyncStatus_AuthenticationError = 3, + + /// + EmailMailboxSyncStatus_PolicyError = 4, + + /// + EmailMailboxSyncStatus_UnknownError = 5, + + /// + EmailMailboxSyncStatus_ManualAccountRemovalRequired = 6, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMeetingResponseType.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMeetingResponseType.cs new file mode 100644 index 0000000000..39f92fb3cb --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMeetingResponseType.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMeetingResponseType +{ + /// + EmailMeetingResponseType_Accept = 0, + + /// + EmailMeetingResponseType_Decline = 1, + + /// + EmailMeetingResponseType_Tentative = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageBodyKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageBodyKind.cs new file mode 100644 index 0000000000..2c28ff4550 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageBodyKind.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMessageBodyKind +{ + /// + EmailMessageBodyKind_Html = 0, + + /// + EmailMessageBodyKind_PlainText = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageDownloadState.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageDownloadState.cs new file mode 100644 index 0000000000..4d516f82eb --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageDownloadState.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMessageDownloadState +{ + /// + EmailMessageDownloadState_PartiallyDownloaded = 0, + + /// + EmailMessageDownloadState_Downloading = 1, + + /// + EmailMessageDownloadState_Downloaded = 2, + + /// + EmailMessageDownloadState_Failed = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageResponseKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageResponseKind.cs new file mode 100644 index 0000000000..9a0b6cf654 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageResponseKind.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMessageResponseKind +{ + /// + EmailMessageResponseKind_None = 0, + + /// + EmailMessageResponseKind_Reply = 1, + + /// + EmailMessageResponseKind_ReplyAll = 2, + + /// + EmailMessageResponseKind_Forward = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageSmimeKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageSmimeKind.cs new file mode 100644 index 0000000000..ec1bf64437 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailMessageSmimeKind.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailMessageSmimeKind +{ + /// + EmailMessageSmimeKind_None = 0, + + /// + EmailMessageSmimeKind_ClearSigned = 1, + + /// + EmailMessageSmimeKind_OpaqueSigned = 2, + + /// + EmailMessageSmimeKind_Encrypted = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQueryKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQueryKind.cs new file mode 100644 index 0000000000..897a552f92 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQueryKind.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailQueryKind +{ + /// + EmailQueryKind_All = 0, + + /// + EmailQueryKind_Important = 1, + + /// + EmailQueryKind_Flagged = 2, + + /// + EmailQueryKind_Unread = 3, + + /// + EmailQueryKind_Read = 4, + + /// + EmailQueryKind_Unseen = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchFields.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchFields.cs new file mode 100644 index 0000000000..aef8515bbd --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchFields.cs @@ -0,0 +1,29 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +[NativeTypeName("unsigned int")] +public enum EmailQuerySearchFields : uint +{ + /// + EmailQuerySearchFields_None = 0, + + /// + EmailQuerySearchFields_Subject = 0x1, + + /// + EmailQuerySearchFields_Sender = 0x2, + + /// + EmailQuerySearchFields_Preview = 0x4, + + /// + EmailQuerySearchFields_Recipients = 0x8, + + /// + EmailQuerySearchFields_All = 0xffffffff, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchScope.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchScope.cs new file mode 100644 index 0000000000..4f099622ba --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySearchScope.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailQuerySearchScope +{ + /// + EmailQuerySearchScope_Local = 0, + + /// + EmailQuerySearchScope_Server = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortDirection.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortDirection.cs new file mode 100644 index 0000000000..d8617cbcd6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortDirection.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailQuerySortDirection +{ + /// + EmailQuerySortDirection_Descending = 0, + + /// + EmailQuerySortDirection_Ascending = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortProperty.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortProperty.cs new file mode 100644 index 0000000000..4fa37c789d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailQuerySortProperty.cs @@ -0,0 +1,13 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailQuerySortProperty +{ + /// + EmailQuerySortProperty_Date = 0, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailRecipientResolutionStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailRecipientResolutionStatus.cs new file mode 100644 index 0000000000..e26700b388 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailRecipientResolutionStatus.cs @@ -0,0 +1,34 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailRecipientResolutionStatus +{ + /// + EmailRecipientResolutionStatus_Success = 0, + + /// + EmailRecipientResolutionStatus_RecipientNotFound = 1, + + /// + EmailRecipientResolutionStatus_AmbiguousRecipient = 2, + + /// + EmailRecipientResolutionStatus_NoCertificate = 3, + + /// + EmailRecipientResolutionStatus_CertificateRequestLimitReached = 4, + + /// + EmailRecipientResolutionStatus_CannotResolveDistributionList = 5, + + /// + EmailRecipientResolutionStatus_ServerError = 6, + + /// + EmailRecipientResolutionStatus_UnknownFailure = 7, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailSpecialFolderKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailSpecialFolderKind.cs new file mode 100644 index 0000000000..648e83c99d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailSpecialFolderKind.cs @@ -0,0 +1,31 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailSpecialFolderKind +{ + /// + EmailSpecialFolderKind_None = 0, + + /// + EmailSpecialFolderKind_Root = 1, + + /// + EmailSpecialFolderKind_Inbox = 2, + + /// + EmailSpecialFolderKind_Outbox = 3, + + /// + EmailSpecialFolderKind_Drafts = 4, + + /// + EmailSpecialFolderKind_DeletedItems = 5, + + /// + EmailSpecialFolderKind_Sent = 6, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailStoreAccessType.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailStoreAccessType.cs new file mode 100644 index 0000000000..847c4b5557 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/EmailStoreAccessType.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum EmailStoreAccessType +{ + /// + EmailStoreAccessType_AppMailboxesReadWrite = 0, + + /// + EmailStoreAccessType_AllMailboxesLimitedReadWrite = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment.cs new file mode 100644 index 0000000000..25a6833c3a --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F353CAF9-57C8-4ADB-B992-60FCEB584F54")] +[NativeTypeName("struct IEmailAttachment : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailAttachment : IEmailAttachment.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailAttachment)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailAttachment*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailAttachment*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailAttachment*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailAttachment*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailAttachment*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailAttachment*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_FileName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailAttachment*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_FileName(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailAttachment*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Data([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailAttachment*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Data([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailAttachment*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_FileName(HSTRING* value); + + [VtblIndex(7)] + HRESULT put_FileName(HSTRING value); + + [VtblIndex(8)] + HRESULT get_Data([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** value); + + [VtblIndex(9)] + HRESULT put_Data([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_FileName; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_FileName; + + [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Data; + + [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Data; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2.cs new file mode 100644 index 0000000000..60361dd774 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2.cs @@ -0,0 +1,294 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("225F1070-B0FF-4571-9D54-A706C48D55C6")] +[NativeTypeName("struct IEmailAttachment2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailAttachment2 : IEmailAttachment2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailAttachment2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailAttachment2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailAttachment2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_ContentId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_ContentId(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_ContentLocation(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT put_ContentLocation(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState *")] EmailAttachmentDownloadState* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT put_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState")] EmailAttachmentDownloadState value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_EstimatedDownloadSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT put_EstimatedDownloadSizeInBytes([NativeTypeName("UINT64")] ulong value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_IsFromBaseMessage([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_IsInline([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_IsInline([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_MimeType(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_MimeType(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailAttachment2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_ContentId(HSTRING* value); + + [VtblIndex(8)] + HRESULT put_ContentId(HSTRING value); + + [VtblIndex(9)] + HRESULT get_ContentLocation(HSTRING* value); + + [VtblIndex(10)] + HRESULT put_ContentLocation(HSTRING value); + + [VtblIndex(11)] + HRESULT get_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState *")] EmailAttachmentDownloadState* value); + + [VtblIndex(12)] + HRESULT put_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState")] EmailAttachmentDownloadState value); + + [VtblIndex(13)] + HRESULT get_EstimatedDownloadSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(14)] + HRESULT put_EstimatedDownloadSizeInBytes([NativeTypeName("UINT64")] ulong value); + + [VtblIndex(15)] + HRESULT get_IsFromBaseMessage([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(16)] + HRESULT get_IsInline([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(17)] + HRESULT put_IsInline([NativeTypeName("boolean")] byte value); + + [VtblIndex(18)] + HRESULT get_MimeType(HSTRING* value); + + [VtblIndex(19)] + HRESULT put_MimeType(HSTRING value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ContentId; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_ContentId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ContentLocation; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_ContentLocation; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DownloadState; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailAttachmentDownloadState) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DownloadState; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_EstimatedDownloadSizeInBytes; + + [NativeTypeName("HRESULT (UINT64) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_EstimatedDownloadSizeInBytes; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsFromBaseMessage; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsInline; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsInline; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MimeType; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MimeType; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory.cs new file mode 100644 index 0000000000..288dfe9bb9 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("796EAC46-ED56-4979-8708-ABB8BC854B7D")] +[NativeTypeName("struct IEmailAttachmentFactory : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailAttachmentFactory : IEmailAttachmentFactory.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailAttachmentFactory)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Create(HSTRING fileName, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* data, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailAttachment **")] IEmailAttachment** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailAttachmentFactory*)Unsafe.AsPointer(ref this), fileName, data, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Create(HSTRING fileName, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* data, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailAttachment **")] IEmailAttachment** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::ApplicationModel::Email::IEmailAttachment **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Create; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2.cs new file mode 100644 index 0000000000..13bfc1db4f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("23259435-51F9-427D-ADCD-241023C8CFB7")] +[NativeTypeName("struct IEmailAttachmentFactory2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailAttachmentFactory2 : IEmailAttachmentFactory2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailAttachmentFactory2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Create(HSTRING fileName, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* data, HSTRING mimeType, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailAttachment **")] IEmailAttachment** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailAttachmentFactory2*)Unsafe.AsPointer(ref this), fileName, data, mimeType, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Create(HSTRING fileName, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* data, HSTRING mimeType, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailAttachment **")] IEmailAttachment** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, HSTRING, ABI::Windows::ApplicationModel::Email::IEmailAttachment **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Create; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversation.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversation.cs new file mode 100644 index 0000000000..5fd737a7a5 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversation.cs @@ -0,0 +1,308 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("DA18C248-A0BC-4349-902D-90F66389F51B")] +[NativeTypeName("struct IEmailConversation : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailConversation : IEmailConversation.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailConversation)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailConversation*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailConversation*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailConversation*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailConversation*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailConversation*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailConversation*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_MailboxId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState *")] EmailFlagState* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_HasAttachment([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance *")] EmailImportance* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_LastEmailResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *")] EmailMessageResponseKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_MessageCount([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_MostRecentMessageId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_MostRecentMessageTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_Preview(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_LatestSender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT get_Subject(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_UnreadMessageCount([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailConversation*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT FindMessagesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>>>** result) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[19]))((IEmailConversation*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT FindMessagesWithCountAsync([NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>>>** result) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[20]))((IEmailConversation*)Unsafe.AsPointer(ref this), count, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_MailboxId(HSTRING* value); + + [VtblIndex(8)] + HRESULT get_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState *")] EmailFlagState* value); + + [VtblIndex(9)] + HRESULT get_HasAttachment([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(10)] + HRESULT get_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance *")] EmailImportance* value); + + [VtblIndex(11)] + HRESULT get_LastEmailResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *")] EmailMessageResponseKind* value); + + [VtblIndex(12)] + HRESULT get_MessageCount([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(13)] + HRESULT get_MostRecentMessageId(HSTRING* value); + + [VtblIndex(14)] + HRESULT get_MostRecentMessageTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(15)] + HRESULT get_Preview(HSTRING* value); + + [VtblIndex(16)] + HRESULT get_LatestSender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value); + + [VtblIndex(17)] + HRESULT get_Subject(HSTRING* value); + + [VtblIndex(18)] + HRESULT get_UnreadMessageCount([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(19)] + HRESULT FindMessagesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>>>** result); + + [VtblIndex(20)] + HRESULT FindMessagesWithCountAsync([NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>>>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MailboxId; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailFlagState *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_FlagState; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_HasAttachment; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailImportance *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Importance; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastEmailResponseKind; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MessageCount; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MostRecentMessageId; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MostRecentMessageTime; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Preview; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailRecipient **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LatestSender; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Subject; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UnreadMessageCount; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> FindMessagesAsync; + + [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> FindMessagesWithCountAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatch.cs new file mode 100644 index 0000000000..613f2c4c97 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatch.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("B8C1AB81-01C5-432A-9DF1-FE85D98A279A")] +[NativeTypeName("struct IEmailConversationBatch : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailConversationBatch : IEmailConversationBatch.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailConversationBatch)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Conversations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IVectorView>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailBatchStatus *")] EmailBatchStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailConversationBatch*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Conversations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IVectorView>** value); + + [VtblIndex(7)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailBatchStatus *")] EmailBatchStatus* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_Conversations; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailBatchStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReader.cs new file mode 100644 index 0000000000..947a5aed87 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReader.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("B4630F82-2875-44C8-9B8C-85BEB3A3C653")] +[NativeTypeName("struct IEmailConversationReader : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailConversationReader : IEmailConversationReader.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailConversationReader)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailConversationReader*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailConversationReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailConversationReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailConversationReader*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailConversationReader*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailConversationReader*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversationBatch_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailConversationReader*)Unsafe.AsPointer(ref this), result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversationBatch_t **")] IAsyncOperation>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversationBatch_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> ReadBatchAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolder.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolder.cs new file mode 100644 index 0000000000..3b70d75043 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolder.cs @@ -0,0 +1,448 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A24F7771-996C-4864-B1BA-ED1240E57D11")] +[NativeTypeName("struct IEmailFolder : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailFolder : IEmailFolder.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailFolder)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailFolder*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailFolder*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailFolder*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailFolder*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailFolder*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailFolder*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_RemoteId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_RemoteId(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_MailboxId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_ParentFolderId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_DisplayName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT put_DisplayName(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_IsSyncEnabled([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT put_IsSyncEnabled([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind *")] EmailSpecialFolderKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailFolder*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT CreateFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IEmailFolder*)Unsafe.AsPointer(ref this), name, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT FindChildFoldersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>>>** result) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[20]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IEmailFolder*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[23]))((IEmailFolder*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IEmailFolder*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT GetMessageCountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailItemCounts_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[26]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT TryMoveAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder *")] IEmailFolder* newParentFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[27]))((IEmailFolder*)Unsafe.AsPointer(ref this), newParentFolder, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT TryMoveWithNewNameAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder *")] IEmailFolder* newParentFolder, HSTRING newFolderName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[28]))((IEmailFolder*)Unsafe.AsPointer(ref this), newParentFolder, newFolderName, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT TrySaveAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[29]))((IEmailFolder*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(30)] + public HRESULT SaveMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IEmailFolder*)Unsafe.AsPointer(ref this), message, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_RemoteId(HSTRING* value); + + [VtblIndex(8)] + HRESULT put_RemoteId(HSTRING value); + + [VtblIndex(9)] + HRESULT get_MailboxId(HSTRING* value); + + [VtblIndex(10)] + HRESULT get_ParentFolderId(HSTRING* value); + + [VtblIndex(11)] + HRESULT get_DisplayName(HSTRING* value); + + [VtblIndex(12)] + HRESULT put_DisplayName(HSTRING value); + + [VtblIndex(13)] + HRESULT get_IsSyncEnabled([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(14)] + HRESULT put_IsSyncEnabled([NativeTypeName("boolean")] byte value); + + [VtblIndex(15)] + HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(16)] + HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + + [VtblIndex(17)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind *")] EmailSpecialFolderKind* value); + + [VtblIndex(18)] + HRESULT CreateFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result); + + [VtblIndex(19)] + HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(20)] + HRESULT FindChildFoldersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>>>** result); + + [VtblIndex(21)] + HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(22)] + HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(23)] + HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result); + + [VtblIndex(24)] + HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(25)] + HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(26)] + HRESULT GetMessageCountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailItemCounts_t **")] IAsyncOperation>** result); + + [VtblIndex(27)] + HRESULT TryMoveAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder *")] IEmailFolder* newParentFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(28)] + HRESULT TryMoveWithNewNameAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder *")] IEmailFolder* newParentFolder, HSTRING newFolderName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(29)] + HRESULT TrySaveAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(30)] + HRESULT SaveMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RemoteId; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RemoteId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MailboxId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ParentFolderId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DisplayName; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DisplayName; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSyncEnabled; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsSyncEnabled; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DeleteAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> FindChildFoldersAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReaderWithOptions; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetMessageAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReaderWithOptions; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailItemCounts_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetMessageCountsAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailFolder *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryMoveAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailFolder *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryMoveWithNewNameAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TrySaveAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SaveMessageAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfo.cs new file mode 100644 index 0000000000..6548a6d622 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfo.cs @@ -0,0 +1,434 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("90F52193-B1A0-4EBD-A6B6-DDCA55606E0E")] +[NativeTypeName("struct IEmailIrmInfo : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailIrmInfo : IEmailIrmInfo.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailIrmInfo)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_CanEdit([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_CanEdit([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_CanExtractData([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_CanExtractData([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_CanForward([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_CanForward([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_CanModifyRecipientsOnResponse([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_CanModifyRecipientsOnResponse([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_CanPrintData([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT put_CanPrintData([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_CanRemoveIrmOnResponse([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_CanRemoveIrmOnResponse([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_CanReply([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_CanReply([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT get_CanReplyAll([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT put_CanReplyAll([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT get_ExpirationDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT put_ExpirationDate([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT get_IsIrmOriginator([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT put_IsIrmOriginator([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT get_IsProgramaticAccessAllowed([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT put_IsProgramaticAccessAllowed([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT get_Template([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **")] IEmailIrmTemplate** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT put_Template([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *")] IEmailIrmTemplate* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((IEmailIrmInfo*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_CanEdit([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT put_CanEdit([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT get_CanExtractData([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(9)] + HRESULT put_CanExtractData([NativeTypeName("boolean")] byte value); + + [VtblIndex(10)] + HRESULT get_CanForward([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(11)] + HRESULT put_CanForward([NativeTypeName("boolean")] byte value); + + [VtblIndex(12)] + HRESULT get_CanModifyRecipientsOnResponse([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(13)] + HRESULT put_CanModifyRecipientsOnResponse([NativeTypeName("boolean")] byte value); + + [VtblIndex(14)] + HRESULT get_CanPrintData([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(15)] + HRESULT put_CanPrintData([NativeTypeName("boolean")] byte value); + + [VtblIndex(16)] + HRESULT get_CanRemoveIrmOnResponse([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(17)] + HRESULT put_CanRemoveIrmOnResponse([NativeTypeName("boolean")] byte value); + + [VtblIndex(18)] + HRESULT get_CanReply([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(19)] + HRESULT put_CanReply([NativeTypeName("boolean")] byte value); + + [VtblIndex(20)] + HRESULT get_CanReplyAll([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(21)] + HRESULT put_CanReplyAll([NativeTypeName("boolean")] byte value); + + [VtblIndex(22)] + HRESULT get_ExpirationDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(23)] + HRESULT put_ExpirationDate([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + + [VtblIndex(24)] + HRESULT get_IsIrmOriginator([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(25)] + HRESULT put_IsIrmOriginator([NativeTypeName("boolean")] byte value); + + [VtblIndex(26)] + HRESULT get_IsProgramaticAccessAllowed([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(27)] + HRESULT put_IsProgramaticAccessAllowed([NativeTypeName("boolean")] byte value); + + [VtblIndex(28)] + HRESULT get_Template([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **")] IEmailIrmTemplate** value); + + [VtblIndex(29)] + HRESULT put_Template([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *")] IEmailIrmTemplate* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanEdit; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanEdit; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanExtractData; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanExtractData; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanForward; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanForward; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanModifyRecipientsOnResponse; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanModifyRecipientsOnResponse; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanPrintData; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanPrintData; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanRemoveIrmOnResponse; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanRemoveIrmOnResponse; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanReply; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanReply; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanReplyAll; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanReplyAll; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ExpirationDate; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_ExpirationDate; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsIrmOriginator; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsIrmOriginator; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsProgramaticAccessAllowed; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsProgramaticAccessAllowed; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Template; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Template; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactory.cs new file mode 100644 index 0000000000..2452371acf --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactory.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("314BB18C-E3E6-4D7B-BE8D-91A96311B01B")] +[NativeTypeName("struct IEmailIrmInfoFactory : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailIrmInfoFactory : IEmailIrmInfoFactory.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailIrmInfoFactory)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Create([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime expiration, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *")] IEmailIrmTemplate* irmTemplate, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **")] IEmailIrmInfo** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailIrmInfoFactory*)Unsafe.AsPointer(ref this), expiration, irmTemplate, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Create([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime expiration, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *")] IEmailIrmTemplate* irmTemplate, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **")] IEmailIrmInfo** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate *, ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Create; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplate.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplate.cs new file mode 100644 index 0000000000..46bcb2c84c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplate.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F327758D-546D-4BEA-A963-54A38B2CC016")] +[NativeTypeName("struct IEmailIrmTemplate : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailIrmTemplate : IEmailIrmTemplate.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailIrmTemplate)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Id(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Description(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Description(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Name(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_Name(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailIrmTemplate*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT put_Id(HSTRING value); + + [VtblIndex(8)] + HRESULT get_Description(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_Description(HSTRING value); + + [VtblIndex(10)] + HRESULT get_Name(HSTRING* value); + + [VtblIndex(11)] + HRESULT put_Name(HSTRING value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Description; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Description; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Name; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Name; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactory.cs new file mode 100644 index 0000000000..48a76d00a6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactory.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("3DA31876-8738-4418-B9CB-471B936FE71E")] +[NativeTypeName("struct IEmailIrmTemplateFactory : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailIrmTemplateFactory : IEmailIrmTemplateFactory.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailIrmTemplateFactory)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Create(HSTRING id, HSTRING name, HSTRING description, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **")] IEmailIrmTemplate** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailIrmTemplateFactory*)Unsafe.AsPointer(ref this), id, name, description, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Create(HSTRING id, HSTRING name, HSTRING description, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **")] IEmailIrmTemplate** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, HSTRING, ABI::Windows::ApplicationModel::Email::IEmailIrmTemplate **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Create; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCounts.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCounts.cs new file mode 100644 index 0000000000..e5108af355 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCounts.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5BD13321-FEC8-4BAB-83BA-0BAF3C1F6CBD")] +[NativeTypeName("struct IEmailItemCounts : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailItemCounts : IEmailItemCounts.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailItemCounts)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailItemCounts*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailItemCounts*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Flagged([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_Important([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Total([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_Unread([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailItemCounts*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Flagged([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(7)] + HRESULT get_Important([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(8)] + HRESULT get_Total([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(9)] + HRESULT get_Unread([NativeTypeName("UINT32 *")] uint* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Flagged; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Important; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Total; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Unread; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox.cs new file mode 100644 index 0000000000..d82c167406 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox.cs @@ -0,0 +1,798 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A8790649-CF5B-411B-80B1-4A6A1484CE25")] +[NativeTypeName("struct IEmailMailbox : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailbox : IEmailMailbox.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailbox)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailbox*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailbox*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailbox*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailbox*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailbox*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailbox*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Capabilities([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxCapabilities **")] IEmailMailboxCapabilities** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **")] IEmailMailboxChangeTracker** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_DisplayName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_DisplayName(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_IsOwnedByCurrentApp([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_IsDataEncryptedUnderLock([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_MailAddress(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT put_MailAddress(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_MailAddressAliases([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess *")] EmailMailboxOtherAppReadAccess* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess")] EmailMailboxOtherAppReadAccess value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess *")] EmailMailboxOtherAppWriteAccess* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess")] EmailMailboxOtherAppWriteAccess value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT get_Policies([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxPolicies **")] IEmailMailboxPolicies** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT get_SourceDisplayName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT get_SyncManager([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxSyncManager **")] IEmailMailboxSyncManager** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT get_UserDataAccountId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((IEmailMailbox*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IEmailMailbox*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IEmailMailbox*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((IEmailMailbox*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IEmailMailbox*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((IEmailMailbox*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT GetConversationAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[29]))((IEmailMailbox*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(30)] + public HRESULT GetFolderAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[30]))((IEmailMailbox*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(31)] + public HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[31]))((IEmailMailbox*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(32)] + public HRESULT GetSpecialFolderAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind")] EmailSpecialFolderKind folderType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[32]))((IEmailMailbox*)Unsafe.AsPointer(ref this), folderType, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(33)] + public HRESULT SaveAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[33]))((IEmailMailbox*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(34)] + public HRESULT MarkMessageAsSeenAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[34]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(35)] + public HRESULT MarkFolderAsSeenAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[35]))((IEmailMailbox*)Unsafe.AsPointer(ref this), folderId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(36)] + public HRESULT MarkMessageReadAsync(HSTRING messageId, [NativeTypeName("boolean")] byte isRead, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[36]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, isRead, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(37)] + public HRESULT ChangeMessageFlagStateAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState")] EmailFlagState flagState, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[37]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, flagState, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(38)] + public HRESULT TryMoveMessageAsync(HSTRING messageId, HSTRING newParentFolderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[38]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, newParentFolderId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(39)] + public HRESULT TryMoveFolderAsync(HSTRING folderId, HSTRING newParentFolderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[39]))((IEmailMailbox*)Unsafe.AsPointer(ref this), folderId, newParentFolderId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(40)] + public HRESULT TryMoveFolderWithNewNameAsync(HSTRING folderId, HSTRING newParentFolderId, HSTRING newFolderName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[40]))((IEmailMailbox*)Unsafe.AsPointer(ref this), folderId, newParentFolderId, newFolderName, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(41)] + public HRESULT DeleteMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[41]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(42)] + public HRESULT MarkFolderSyncEnabledAsync(HSTRING folderId, [NativeTypeName("boolean")] byte isSyncEnabled, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[42]))((IEmailMailbox*)Unsafe.AsPointer(ref this), folderId, isSyncEnabled, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(43)] + public HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[43]))((IEmailMailbox*)Unsafe.AsPointer(ref this), message, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(44)] + public HRESULT SaveDraftAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[44]))((IEmailMailbox*)Unsafe.AsPointer(ref this), message, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(45)] + public HRESULT DownloadMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[45]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(46)] + public HRESULT DownloadAttachmentAsync(HSTRING attachmentId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[46]))((IEmailMailbox*)Unsafe.AsPointer(ref this), attachmentId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(47)] + public HRESULT CreateResponseMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind")] EmailMessageResponseKind responseType, HSTRING subject, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind responseHeaderType, HSTRING responseHeader, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[47]))((IEmailMailbox*)Unsafe.AsPointer(ref this), messageId, responseType, subject, responseHeaderType, responseHeader, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(48)] + public HRESULT TryUpdateMeetingResponseAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMeetingResponseType")] EmailMeetingResponseType response, HSTRING subject, HSTRING comment, [NativeTypeName("boolean")] byte sendUpdate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[48]))((IEmailMailbox*)Unsafe.AsPointer(ref this), meeting, response, subject, comment, sendUpdate, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(49)] + public HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t *")] IIterable>* recipients, HSTRING subject, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind forwardHeaderType, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, EmailMessageBodyKind, HSTRING, HSTRING, IAsyncOperation**, int>)(lpVtbl[49]))((IEmailMailbox*)Unsafe.AsPointer(ref this), meeting, recipients, subject, forwardHeaderType, forwardHeader, comment, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(50)] + public HRESULT TryProposeNewTimeForMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime newStartTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan newDuration, HSTRING subject, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[50]))((IEmailMailbox*)Unsafe.AsPointer(ref this), meeting, newStartTime, newDuration, subject, comment, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(51)] + public HRESULT add_MailboxChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailbox_Windows__CApplicationModel__CEmail__CEmailMailboxChangedEventArgs_t *")] ITypedEventHandler, Pointer>* pHandler, EventRegistrationToken* pToken) + { + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[51]))((IEmailMailbox*)Unsafe.AsPointer(ref this), pHandler, pToken); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(52)] + public HRESULT remove_MailboxChanged(EventRegistrationToken token) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[52]))((IEmailMailbox*)Unsafe.AsPointer(ref this), token); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(53)] + public HRESULT SmartSendMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("boolean")] byte smartSend, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[53]))((IEmailMailbox*)Unsafe.AsPointer(ref this), message, smartSend, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(54)] + public HRESULT TrySetAutoReplySettingsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings *")] IEmailMailboxAutoReplySettings* autoReplySettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[54]))((IEmailMailbox*)Unsafe.AsPointer(ref this), autoReplySettings, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(55)] + public HRESULT TryGetAutoReplySettingsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind")] EmailMailboxAutoReplyMessageResponseKind requestedFormat, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxAutoReplySettings_t **")] IAsyncOperation>** autoReplySettings) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[55]))((IEmailMailbox*)Unsafe.AsPointer(ref this), requestedFormat, autoReplySettings); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Capabilities([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxCapabilities **")] IEmailMailboxCapabilities** value); + + [VtblIndex(7)] + HRESULT get_ChangeTracker([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **")] IEmailMailboxChangeTracker** value); + + [VtblIndex(8)] + HRESULT get_DisplayName(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_DisplayName(HSTRING value); + + [VtblIndex(10)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(11)] + HRESULT get_IsOwnedByCurrentApp([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(12)] + HRESULT get_IsDataEncryptedUnderLock([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(13)] + HRESULT get_MailAddress(HSTRING* value); + + [VtblIndex(14)] + HRESULT put_MailAddress(HSTRING value); + + [VtblIndex(15)] + HRESULT get_MailAddressAliases([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); + + [VtblIndex(16)] + HRESULT get_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess *")] EmailMailboxOtherAppReadAccess* value); + + [VtblIndex(17)] + HRESULT put_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess")] EmailMailboxOtherAppReadAccess value); + + [VtblIndex(18)] + HRESULT get_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess *")] EmailMailboxOtherAppWriteAccess* value); + + [VtblIndex(19)] + HRESULT put_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess")] EmailMailboxOtherAppWriteAccess value); + + [VtblIndex(20)] + HRESULT get_Policies([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxPolicies **")] IEmailMailboxPolicies** value); + + [VtblIndex(21)] + HRESULT get_SourceDisplayName(HSTRING* value); + + [VtblIndex(22)] + HRESULT get_SyncManager([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxSyncManager **")] IEmailMailboxSyncManager** value); + + [VtblIndex(23)] + HRESULT get_UserDataAccountId(HSTRING* value); + + [VtblIndex(24)] + HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(25)] + HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(26)] + HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(27)] + HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(28)] + HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(29)] + HRESULT GetConversationAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IAsyncOperation>** result); + + [VtblIndex(30)] + HRESULT GetFolderAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result); + + [VtblIndex(31)] + HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result); + + [VtblIndex(32)] + HRESULT GetSpecialFolderAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind")] EmailSpecialFolderKind folderType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result); + + [VtblIndex(33)] + HRESULT SaveAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(34)] + HRESULT MarkMessageAsSeenAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(35)] + HRESULT MarkFolderAsSeenAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(36)] + HRESULT MarkMessageReadAsync(HSTRING messageId, [NativeTypeName("boolean")] byte isRead, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(37)] + HRESULT ChangeMessageFlagStateAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState")] EmailFlagState flagState, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(38)] + HRESULT TryMoveMessageAsync(HSTRING messageId, HSTRING newParentFolderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(39)] + HRESULT TryMoveFolderAsync(HSTRING folderId, HSTRING newParentFolderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(40)] + HRESULT TryMoveFolderWithNewNameAsync(HSTRING folderId, HSTRING newParentFolderId, HSTRING newFolderName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(41)] + HRESULT DeleteMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(42)] + HRESULT MarkFolderSyncEnabledAsync(HSTRING folderId, [NativeTypeName("boolean")] byte isSyncEnabled, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(43)] + HRESULT SendMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(44)] + HRESULT SaveDraftAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(45)] + HRESULT DownloadMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(46)] + HRESULT DownloadAttachmentAsync(HSTRING attachmentId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(47)] + HRESULT CreateResponseMessageAsync(HSTRING messageId, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind")] EmailMessageResponseKind responseType, HSTRING subject, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind responseHeaderType, HSTRING responseHeader, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result); + + [VtblIndex(48)] + HRESULT TryUpdateMeetingResponseAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMeetingResponseType")] EmailMeetingResponseType response, HSTRING subject, HSTRING comment, [NativeTypeName("boolean")] byte sendUpdate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(49)] + HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t *")] IIterable>* recipients, HSTRING subject, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind forwardHeaderType, HSTRING forwardHeader, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(50)] + HRESULT TryProposeNewTimeForMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* meeting, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime newStartTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan newDuration, HSTRING subject, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(51)] + HRESULT add_MailboxChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailbox_Windows__CApplicationModel__CEmail__CEmailMailboxChangedEventArgs_t *")] ITypedEventHandler, Pointer>* pHandler, EventRegistrationToken* pToken); + + [VtblIndex(52)] + HRESULT remove_MailboxChanged(EventRegistrationToken token); + + [VtblIndex(53)] + HRESULT SmartSendMessageAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("boolean")] byte smartSend, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(54)] + HRESULT TrySetAutoReplySettingsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings *")] IEmailMailboxAutoReplySettings* autoReplySettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(55)] + HRESULT TryGetAutoReplySettingsAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind")] EmailMailboxAutoReplyMessageResponseKind requestedFormat, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxAutoReplySettings_t **")] IAsyncOperation>** autoReplySettings); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxCapabilities **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Capabilities; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ChangeTracker; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DisplayName; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DisplayName; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsOwnedByCurrentApp; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsDataEncryptedUnderLock; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MailAddress; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MailAddress; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_MailAddressAliases; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherAppReadAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_OtherAppReadAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherAppWriteAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_OtherAppWriteAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxPolicies **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Policies; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SourceDisplayName; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxSyncManager **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SyncManager; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UserDataAccountId; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReaderWithOptions; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReaderWithOptions; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DeleteAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetConversationAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetFolderAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetMessageAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailSpecialFolderKind, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetSpecialFolderAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SaveAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] MarkMessageAsSeenAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] MarkFolderAsSeenAsync; + + [NativeTypeName("HRESULT (HSTRING, boolean, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] MarkMessageReadAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::EmailFlagState, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] ChangeMessageFlagStateAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryMoveMessageAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryMoveFolderAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryMoveFolderWithNewNameAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DeleteMessageAsync; + + [NativeTypeName("HRESULT (HSTRING, boolean, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] MarkFolderSyncEnabledAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SendMessageAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SaveDraftAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DownloadMessageAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DownloadAttachmentAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind, HSTRING, ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateResponseMessageAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::ApplicationModel::Email::EmailMeetingResponseType, HSTRING, HSTRING, boolean, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryUpdateMeetingResponseAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t *, HSTRING, ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>*, HSTRING, EmailMessageBodyKind, HSTRING, HSTRING, IAsyncOperation**, int> TryForwardMeetingAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryProposeNewTimeForMeetingAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailbox_Windows__CApplicationModel__CEmail__CEmailMailboxChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MailboxChanged; + + [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] remove_MailboxChanged; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, boolean, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SmartSendMessageAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TrySetAutoReplySettingsAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxAutoReplySettings_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> TryGetAutoReplySettingsAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2.cs new file mode 100644 index 0000000000..eb0c4f776b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("14F8E404-6CA2-4AB2-9241-79CD7BF46346")] +[NativeTypeName("struct IEmailMailbox2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailbox2 : IEmailMailbox2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailbox2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailbox2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailbox2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_LinkedMailboxId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_NetworkAccountId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_NetworkId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailbox2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_LinkedMailboxId(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_NetworkAccountId(HSTRING* value); + + [VtblIndex(8)] + HRESULT get_NetworkId(HSTRING* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LinkedMailboxId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_NetworkAccountId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_NetworkId; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3.cs new file mode 100644 index 0000000000..6cbbf571ac --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3.cs @@ -0,0 +1,168 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("3DA5897B-458B-408A-8E37-AC8B05D8AF56")] +[NativeTypeName("struct IEmailMailbox3 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailbox3 : IEmailMailbox3.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailbox3)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailbox3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailbox3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ResolveRecipientsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* recipients, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailRecipientResolutionResult_t **")] IAsyncOperation>>>** result) + { + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int>)(lpVtbl[6]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), recipients, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT ValidateCertificatesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailCertificateValidationStatus_t **")] IAsyncOperation>>** result) + { + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>>**, int>)(lpVtbl[7]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), certificates, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT TryEmptyFolderAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxEmptyFolderStatus_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), folderId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT TryCreateFolderAsync(HSTRING parentFolderId, HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxCreateFolderResult_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), parentFolderId, name, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT TryDeleteFolderAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxDeleteFolderStatus_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IEmailMailbox3*)Unsafe.AsPointer(ref this), folderId, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ResolveRecipientsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* recipients, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailRecipientResolutionResult_t **")] IAsyncOperation>>>** result); + + [VtblIndex(7)] + HRESULT ValidateCertificatesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailCertificateValidationStatus_t **")] IAsyncOperation>>** result); + + [VtblIndex(8)] + HRESULT TryEmptyFolderAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxEmptyFolderStatus_t **")] IAsyncOperation** result); + + [VtblIndex(9)] + HRESULT TryCreateFolderAsync(HSTRING parentFolderId, HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxCreateFolderResult_t **")] IAsyncOperation>** result); + + [VtblIndex(10)] + HRESULT TryDeleteFolderAsync(HSTRING folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxDeleteFolderStatus_t **")] IAsyncOperation** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailRecipientResolutionResult_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int> ResolveRecipientsAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailCertificateValidationStatus_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>>**, int> ValidateCertificatesAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxEmptyFolderStatus_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryEmptyFolderAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxCreateFolderResult_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> TryCreateFolderAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailboxDeleteFolderStatus_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryDeleteFolderAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4.cs new file mode 100644 index 0000000000..d14ac3532f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5D1F301B-F222-48A7-B7B6-716356CD26A1")] +[NativeTypeName("struct IEmailMailbox4 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailbox4 : IEmailMailbox4.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailbox4)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailbox4*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailbox4*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailbox4*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailbox4*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailbox4*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailbox4*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT RegisterSyncManagerAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailbox4*)Unsafe.AsPointer(ref this), result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT RegisterSyncManagerAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] RegisterSyncManagerAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5.cs new file mode 100644 index 0000000000..2d04cd7b4b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("39967087-0092-49BE-BD0E-5D4DC9D96D90")] +[NativeTypeName("struct IEmailMailbox5 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailbox5 : IEmailMailbox5.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailbox5)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailbox5*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailbox5*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailbox5*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailbox5*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailbox5*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailbox5*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetChangeTracker(HSTRING identity, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **")] IEmailMailboxChangeTracker** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailbox5*)Unsafe.AsPointer(ref this), identity, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetChangeTracker(HSTRING identity, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **")] IEmailMailboxChangeTracker** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetChangeTracker; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAction.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAction.cs new file mode 100644 index 0000000000..537f7949d7 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAction.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("AC9889FA-21FA-4927-9210-D410582FDF3E")] +[NativeTypeName("struct IEmailMailboxAction : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxAction : IEmailMailboxAction.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxAction)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxActionKind *")] EmailMailboxActionKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_ChangeNumber([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxAction*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxActionKind *")] EmailMailboxActionKind* value); + + [VtblIndex(7)] + HRESULT get_ChangeNumber([NativeTypeName("UINT64 *")] ulong* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxActionKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ChangeNumber; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReply.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReply.cs new file mode 100644 index 0000000000..db6ef899e8 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReply.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("E223254C-8AB4-485B-B31F-04D15476BD59")] +[NativeTypeName("struct IEmailMailboxAutoReply : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxAutoReply : IEmailMailboxAutoReply.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxAutoReply)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_IsEnabled([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_IsEnabled([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Response(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Response(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxAutoReply*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_IsEnabled([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT put_IsEnabled([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT get_Response(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_Response(HSTRING value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsEnabled; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsEnabled; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Response; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Response; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettings.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettings.cs new file mode 100644 index 0000000000..47e40491b3 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettings.cs @@ -0,0 +1,252 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A87A9FA8-0AC6-4B77-BA77-A6B99E9A27B8")] +[NativeTypeName("struct IEmailMailboxAutoReplySettings : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxAutoReplySettings : IEmailMailboxAutoReplySettings.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxAutoReplySettings)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_IsEnabled([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_IsEnabled([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_ResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind *")] EmailMailboxAutoReplyMessageResponseKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_ResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind")] EmailMailboxAutoReplyMessageResponseKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_EndTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_EndTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[13]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_InternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_KnownExternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_UnknownExternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailMailboxAutoReplySettings*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_IsEnabled([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT put_IsEnabled([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT get_ResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind *")] EmailMailboxAutoReplyMessageResponseKind* value); + + [VtblIndex(9)] + HRESULT put_ResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind")] EmailMailboxAutoReplyMessageResponseKind value); + + [VtblIndex(10)] + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(11)] + HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(12)] + HRESULT get_EndTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(13)] + HRESULT put_EndTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(14)] + HRESULT get_InternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value); + + [VtblIndex(15)] + HRESULT get_KnownExternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value); + + [VtblIndex(16)] + HRESULT get_UnknownExternalReply([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **")] IEmailMailboxAutoReply** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsEnabled; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsEnabled; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ResponseKind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_ResponseKind; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_StartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_StartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_EndTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_EndTime; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_InternalReply; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_KnownExternalReply; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxAutoReply **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UnknownExternalReply; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities.cs new file mode 100644 index 0000000000..cc6161e32a --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities.cs @@ -0,0 +1,210 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("EEDEC3A6-89DB-4305-82C4-439E0A33DA11")] +[NativeTypeName("struct IEmailMailboxCapabilities : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxCapabilities : IEmailMailboxCapabilities.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxCapabilities)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_CanForwardMeetings([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_CanGetAndSetExternalAutoReplies([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_CanGetAndSetInternalAutoReplies([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_CanUpdateMeetingResponses([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_CanServerSearchFolders([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_CanServerSearchMailbox([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_CanProposeNewTimeForMeetings([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_CanSmartSend([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailMailboxCapabilities*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_CanForwardMeetings([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT get_CanGetAndSetExternalAutoReplies([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(8)] + HRESULT get_CanGetAndSetInternalAutoReplies([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(9)] + HRESULT get_CanUpdateMeetingResponses([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(10)] + HRESULT get_CanServerSearchFolders([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(11)] + HRESULT get_CanServerSearchMailbox([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(12)] + HRESULT get_CanProposeNewTimeForMeetings([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(13)] + HRESULT get_CanSmartSend([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanForwardMeetings; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanGetAndSetExternalAutoReplies; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanGetAndSetInternalAutoReplies; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanUpdateMeetingResponses; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanServerSearchFolders; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanServerSearchMailbox; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanProposeNewTimeForMeetings; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanSmartSend; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2.cs new file mode 100644 index 0000000000..153d5022e9 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("69723EE4-2F21-4CBC-88AB-2E7602A4806B")] +[NativeTypeName("struct IEmailMailboxCapabilities2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxCapabilities2 : IEmailMailboxCapabilities2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxCapabilities2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_CanResolveRecipients([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_CanValidateCertificates([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_CanEmptyFolder([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_CanCreateFolder([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_CanDeleteFolder([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_CanMoveFolder([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailboxCapabilities2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_CanResolveRecipients([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT get_CanValidateCertificates([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(8)] + HRESULT get_CanEmptyFolder([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(9)] + HRESULT get_CanCreateFolder([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(10)] + HRESULT get_CanDeleteFolder([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(11)] + HRESULT get_CanMoveFolder([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanResolveRecipients; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanValidateCertificates; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanEmptyFolder; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanCreateFolder; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanDeleteFolder; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CanMoveFolder; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3.cs new file mode 100644 index 0000000000..eabd1a5165 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3.cs @@ -0,0 +1,294 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F690E944-56F2-45AA-872C-0CE9F3DB0B5C")] +[NativeTypeName("struct IEmailMailboxCapabilities3 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxCapabilities3 : IEmailMailboxCapabilities3.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxCapabilities3)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT put_CanForwardMeetings([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_CanGetAndSetExternalAutoReplies([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_CanGetAndSetInternalAutoReplies([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_CanUpdateMeetingResponses([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT put_CanServerSearchFolders([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_CanServerSearchMailbox([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT put_CanProposeNewTimeForMeetings([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_CanSmartSend([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT put_CanResolveRecipients([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT put_CanValidateCertificates([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT put_CanEmptyFolder([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_CanCreateFolder([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT put_CanDeleteFolder([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_CanMoveFolder([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailMailboxCapabilities3*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT put_CanForwardMeetings([NativeTypeName("boolean")] byte value); + + [VtblIndex(7)] + HRESULT put_CanGetAndSetExternalAutoReplies([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT put_CanGetAndSetInternalAutoReplies([NativeTypeName("boolean")] byte value); + + [VtblIndex(9)] + HRESULT put_CanUpdateMeetingResponses([NativeTypeName("boolean")] byte value); + + [VtblIndex(10)] + HRESULT put_CanServerSearchFolders([NativeTypeName("boolean")] byte value); + + [VtblIndex(11)] + HRESULT put_CanServerSearchMailbox([NativeTypeName("boolean")] byte value); + + [VtblIndex(12)] + HRESULT put_CanProposeNewTimeForMeetings([NativeTypeName("boolean")] byte value); + + [VtblIndex(13)] + HRESULT put_CanSmartSend([NativeTypeName("boolean")] byte value); + + [VtblIndex(14)] + HRESULT put_CanResolveRecipients([NativeTypeName("boolean")] byte value); + + [VtblIndex(15)] + HRESULT put_CanValidateCertificates([NativeTypeName("boolean")] byte value); + + [VtblIndex(16)] + HRESULT put_CanEmptyFolder([NativeTypeName("boolean")] byte value); + + [VtblIndex(17)] + HRESULT put_CanCreateFolder([NativeTypeName("boolean")] byte value); + + [VtblIndex(18)] + HRESULT put_CanDeleteFolder([NativeTypeName("boolean")] byte value); + + [VtblIndex(19)] + HRESULT put_CanMoveFolder([NativeTypeName("boolean")] byte value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanForwardMeetings; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanGetAndSetExternalAutoReplies; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanGetAndSetInternalAutoReplies; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanUpdateMeetingResponses; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanServerSearchFolders; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanServerSearchMailbox; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanProposeNewTimeForMeetings; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanSmartSend; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanResolveRecipients; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanValidateCertificates; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanEmptyFolder; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanCreateFolder; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanDeleteFolder; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_CanMoveFolder; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChange.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChange.cs new file mode 100644 index 0000000000..e40eb71d85 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChange.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("61EDF54B-11EF-400C-ADDE-8CDE65C85E66")] +[NativeTypeName("struct IEmailMailboxChange : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxChange : IEmailMailboxChange.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxChange)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ChangeType([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxChangeType *")] EmailMailboxChangeType* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_MailboxActions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailMailboxAction_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Message([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage **")] IEmailMessage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_Folder([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder **")] IEmailFolder** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxChange*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ChangeType([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxChangeType *")] EmailMailboxChangeType* value); + + [VtblIndex(7)] + HRESULT get_MailboxActions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailMailboxAction_t **")] IVector>** value); + + [VtblIndex(8)] + HRESULT get_Message([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage **")] IEmailMessage** value); + + [VtblIndex(9)] + HRESULT get_Folder([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder **")] IEmailFolder** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxChangeType *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ChangeType; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailMailboxAction_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_MailboxActions; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Message; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailFolder **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Folder; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReader.cs new file mode 100644 index 0000000000..ccba93c7a0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReader.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("BDBD0EBB-C53D-4331-97BE-BE75A2146A75")] +[NativeTypeName("struct IEmailMailboxChangeReader : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxChangeReader : IEmailMailboxChangeReader.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxChangeReader)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT AcceptChanges() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT AcceptChangesThrough([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChange *")] IEmailMailboxChange* lastChangeToAcknowledge) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), lastChangeToAcknowledge); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailboxChange_t **")] IAsyncOperation>>>** value) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IEmailMailboxChangeReader*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT AcceptChanges(); + + [VtblIndex(7)] + HRESULT AcceptChangesThrough([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChange *")] IEmailMailboxChange* lastChangeToAcknowledge); + + [VtblIndex(8)] + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailboxChange_t **")] IAsyncOperation>>>** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AcceptChanges; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxChange *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AcceptChangesThrough; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailboxChange_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> ReadBatchAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTracker.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTracker.cs new file mode 100644 index 0000000000..af2832f2ef --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTracker.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("7AE48638-5166-42B7-8882-FD21C92BDD4B")] +[NativeTypeName("struct IEmailMailboxChangeTracker : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxChangeTracker : IEmailMailboxChangeTracker.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxChangeTracker)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_IsTracking([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT Enable() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetChangeReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeReader **")] IEmailMailboxChangeReader** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT Reset() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMailboxChangeTracker*)Unsafe.AsPointer(ref this)); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_IsTracking([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT Enable(); + + [VtblIndex(8)] + HRESULT GetChangeReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeReader **")] IEmailMailboxChangeReader** value); + + [VtblIndex(9)] + HRESULT Reset(); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsTracking; + + [NativeTypeName("HRESULT () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Enable; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxChangeReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetChangeReader; + + [NativeTypeName("HRESULT () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Reset; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferral.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferral.cs new file mode 100644 index 0000000000..71577a677b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferral.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("779A74C1-97C5-4B54-B30D-306232623E6D")] +[NativeTypeName("struct IEmailMailboxChangedDeferral : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxChangedDeferral : IEmailMailboxChangedDeferral.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxChangedDeferral)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Complete() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxChangedDeferral*)Unsafe.AsPointer(ref this)); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Complete(); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Complete; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgs.cs new file mode 100644 index 0000000000..2d3209eb37 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgs.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("3CFD5F6E-01D4-4E4A-A44C-B22DD42EC207")] +[NativeTypeName("struct IEmailMailboxChangedEventArgs : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxChangedEventArgs : IEmailMailboxChangedEventArgs.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxChangedEventArgs)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral **")] IEmailMailboxChangedDeferral** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxChangedEventArgs*)Unsafe.AsPointer(ref this), result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral **")] IEmailMailboxChangedDeferral** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetDeferral; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResult.cs new file mode 100644 index 0000000000..7640920431 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResult.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("B228557F-2885-4998-B595-8A2D374CE950")] +[NativeTypeName("struct IEmailMailboxCreateFolderResult : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxCreateFolderResult : IEmailMailboxCreateFolderResult.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxCreateFolderResult)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus *")] EmailMailboxCreateFolderStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_Folder([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder **")] IEmailFolder** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxCreateFolderResult*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus *")] EmailMailboxCreateFolderStatus* value); + + [VtblIndex(7)] + HRESULT get_Folder([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailFolder **")] IEmailFolder** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailFolder **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Folder; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies.cs new file mode 100644 index 0000000000..c517fa03b4 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("1F3345C5-1C3B-4DC7-B410-6373783E545D")] +[NativeTypeName("struct IEmailMailboxPolicies : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxPolicies : IEmailMailboxPolicies.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxPolicies)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_AllowedSmimeEncryptionAlgorithmNegotiation([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation *")] EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_AllowSmimeSoftCertificates([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_RequiredSmimeEncryptionAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_RequiredSmimeSigningAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IEmailMailboxPolicies*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_AllowedSmimeEncryptionAlgorithmNegotiation([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation *")] EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation* value); + + [VtblIndex(7)] + HRESULT get_AllowSmimeSoftCertificates([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(8)] + HRESULT get_RequiredSmimeEncryptionAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t **")] IReference** value); + + [VtblIndex(9)] + HRESULT get_RequiredSmimeSigningAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t **")] IReference** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AllowedSmimeEncryptionAlgorithmNegotiation; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AllowSmimeSoftCertificates; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_RequiredSmimeEncryptionAlgorithm; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_RequiredSmimeSigningAlgorithm; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2.cs new file mode 100644 index 0000000000..f3bc643852 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("BAB58AFB-A14B-497C-A8E2-55EAC29CC4B5")] +[NativeTypeName("struct IEmailMailboxPolicies2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxPolicies2 : IEmailMailboxPolicies2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxPolicies2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_MustEncryptSmimeMessages([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_MustSignSmimeMessages([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxPolicies2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_MustEncryptSmimeMessages([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT get_MustSignSmimeMessages([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MustEncryptSmimeMessages; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MustSignSmimeMessages; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3.cs new file mode 100644 index 0000000000..bd93ecf974 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("BDD4A01F-4867-414A-81A2-803919C44191")] +[NativeTypeName("struct IEmailMailboxPolicies3 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxPolicies3 : IEmailMailboxPolicies3.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxPolicies3)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT put_AllowedSmimeEncryptionAlgorithmNegotiation([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation")] EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_AllowSmimeSoftCertificates([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_RequiredSmimeEncryptionAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[8]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_RequiredSmimeSigningAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[9]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT put_MustEncryptSmimeMessages([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_MustSignSmimeMessages([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailboxPolicies3*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT put_AllowedSmimeEncryptionAlgorithmNegotiation([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation")] EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation value); + + [VtblIndex(7)] + HRESULT put_AllowSmimeSoftCertificates([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT put_RequiredSmimeEncryptionAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t *")] IReference* value); + + [VtblIndex(9)] + HRESULT put_RequiredSmimeSigningAlgorithm([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t *")] IReference* value); + + [VtblIndex(10)] + HRESULT put_MustEncryptSmimeMessages([NativeTypeName("boolean")] byte value); + + [VtblIndex(11)] + HRESULT put_MustSignSmimeMessages([NativeTypeName("boolean")] byte value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_AllowedSmimeEncryptionAlgorithmNegotiation; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_AllowSmimeSoftCertificates; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeEncryptionAlgorithm_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_RequiredSmimeEncryptionAlgorithm; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CEmail__CEmailMailboxSmimeSigningAlgorithm_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_RequiredSmimeSigningAlgorithm; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MustEncryptSmimeMessages; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MustSignSmimeMessages; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeEncryptionAlgorithm.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeEncryptionAlgorithm.cs new file mode 100644 index 0000000000..230cb3de88 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeEncryptionAlgorithm.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum IEmailMailboxSmimeEncryptionAlgorithm +{ + /// + EmailMailboxSmimeEncryptionAlgorithm_Any = 0, + + /// + EmailMailboxSmimeEncryptionAlgorithm_TripleDes = 1, + + /// + EmailMailboxSmimeEncryptionAlgorithm_Des = 2, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC2128Bit = 3, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC264Bit = 4, + + /// + EmailMailboxSmimeEncryptionAlgorithm_RC240Bit = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeSigningAlgorithm.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeSigningAlgorithm.cs new file mode 100644 index 0000000000..b32bcac3ab --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSmimeSigningAlgorithm.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum IEmailMailboxSmimeSigningAlgorithm +{ + /// + EmailMailboxSmimeSigningAlgorithm_Any = 0, + + /// + EmailMailboxSmimeSigningAlgorithm_Sha1 = 1, + + /// + EmailMailboxSmimeSigningAlgorithm_MD5 = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager.cs new file mode 100644 index 0000000000..72931718fe --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("517AC55A-3591-4B5D-85BC-C71DDE862263")] +[NativeTypeName("struct IEmailMailboxSyncManager : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxSyncManager : IEmailMailboxSyncManager.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxSyncManager)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus *")] EmailMailboxSyncStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailboxSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) + { + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), handler, token); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT remove_SyncStatusChanged(EventRegistrationToken token) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMailboxSyncManager*)Unsafe.AsPointer(ref this), token); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus *")] EmailMailboxSyncStatus* value); + + [VtblIndex(7)] + HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(8)] + HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(9)] + HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(10)] + HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailboxSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); + + [VtblIndex(11)] + HRESULT remove_SyncStatusChanged(EventRegistrationToken token); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> SyncAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CEmail__CEmailMailboxSyncManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SyncStatusChanged; + + [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] remove_SyncStatusChanged; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2.cs new file mode 100644 index 0000000000..a97ae903ed --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("CD8DC97E-95C1-4F89-81B7-E6AECB6695FC")] +[NativeTypeName("struct IEmailMailboxSyncManager2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMailboxSyncManager2 : IEmailMailboxSyncManager2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMailboxSyncManager2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus")] EmailMailboxSyncStatus value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMailboxSyncManager2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus")] EmailMailboxSyncStatus value); + + [VtblIndex(7)] + HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + + [VtblIndex(8)] + HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMailboxSyncStatus) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Status; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUser.cs new file mode 100644 index 0000000000..bd7d30c615 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUser.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F773DE9F-3CA5-4B0F-90C1-156E40174CE5")] +[NativeTypeName("struct IEmailManagerForUser : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailManagerForUser : IEmailManagerForUser.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailManagerForUser)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ShowComposeNewEmailAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), message, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailStoreAccessType")] EmailStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), accessType, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailManagerForUser*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ShowComposeNewEmailAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(7)] + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailStoreAccessType")] EmailStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **")] IAsyncOperation>** result); + + [VtblIndex(8)] + HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] ShowComposeNewEmailAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; + + [NativeTypeName("HRESULT (ABI::Windows::System::IUser **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_User; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics.cs new file mode 100644 index 0000000000..60ac3c1999 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F5128654-55C5-4890-A824-216C2618CE7F")] +[NativeTypeName("struct IEmailManagerStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailManagerStatics : IEmailManagerStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailManagerStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ShowComposeNewEmailAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailManagerStatics*)Unsafe.AsPointer(ref this), message, asyncAction); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ShowComposeNewEmailAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessage *")] IEmailMessage* message, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessage *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] ShowComposeNewEmailAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2.cs new file mode 100644 index 0000000000..35d9fe484f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("AC052DA3-B194-425D-B6D9-D0F04135EDA2")] +[NativeTypeName("struct IEmailManagerStatics2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailManagerStatics2 : IEmailManagerStatics2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailManagerStatics2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailStoreAccessType")] EmailStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailManagerStatics2*)Unsafe.AsPointer(ref this), accessType, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailStoreAccessType")] EmailStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **")] IAsyncOperation>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailStore_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3.cs new file mode 100644 index 0000000000..2ba5f12219 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("4A722395-843E-4945-B3AA-349E07A362C5")] +[NativeTypeName("struct IEmailManagerStatics3 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailManagerStatics3 : IEmailManagerStatics3.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailManagerStatics3)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailManagerForUser **")] IEmailManagerForUser** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailManagerStatics3*)Unsafe.AsPointer(ref this), user, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailManagerForUser **")] IEmailManagerForUser** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::ApplicationModel::Email::IEmailManagerForUser **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetForUser; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo.cs new file mode 100644 index 0000000000..36d47d90e5 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo.cs @@ -0,0 +1,462 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("31C03FA9-7933-415F-A275-D165BA07026B")] +[NativeTypeName("struct IEmailMeetingInfo : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMeetingInfo : IEmailMeetingInfo.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMeetingInfo)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_AllowNewTimeProposal([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_AllowNewTimeProposal([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_AppointmentRoamingId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_AppointmentRoamingId(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_AppointmentOriginalStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_AppointmentOriginalStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_IsAllDay([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT put_IsAllDay([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_IsResponseRequested([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_IsResponseRequested([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_Location(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_Location(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT get_ProposedStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** proposedStartTime) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), proposedStartTime); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT put_ProposedStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* proposedStartTime) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[21]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), proposedStartTime); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT get_ProposedDuration([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** duration) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), duration); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT put_ProposedDuration([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t *")] IReference* duration) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[23]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), duration); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT get_RecurrenceStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[24]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT put_RecurrenceStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[25]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT get_Recurrence([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence **")] IAppointmentRecurrence** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT put_Recurrence([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence *")] IAppointmentRecurrence* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT get_RemoteChangeNumber([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT put_RemoteChangeNumber([NativeTypeName("UINT64")] ulong value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(30)] + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(31)] + public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((IEmailMeetingInfo*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_AllowNewTimeProposal([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(7)] + HRESULT put_AllowNewTimeProposal([NativeTypeName("boolean")] byte value); + + [VtblIndex(8)] + HRESULT get_AppointmentRoamingId(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_AppointmentRoamingId(HSTRING value); + + [VtblIndex(10)] + HRESULT get_AppointmentOriginalStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(11)] + HRESULT put_AppointmentOriginalStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(12)] + HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + + [VtblIndex(13)] + HRESULT put_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan value); + + [VtblIndex(14)] + HRESULT get_IsAllDay([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(15)] + HRESULT put_IsAllDay([NativeTypeName("boolean")] byte value); + + [VtblIndex(16)] + HRESULT get_IsResponseRequested([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(17)] + HRESULT put_IsResponseRequested([NativeTypeName("boolean")] byte value); + + [VtblIndex(18)] + HRESULT get_Location(HSTRING* value); + + [VtblIndex(19)] + HRESULT put_Location(HSTRING value); + + [VtblIndex(20)] + HRESULT get_ProposedStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** proposedStartTime); + + [VtblIndex(21)] + HRESULT put_ProposedStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* proposedStartTime); + + [VtblIndex(22)] + HRESULT get_ProposedDuration([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** duration); + + [VtblIndex(23)] + HRESULT put_ProposedDuration([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t *")] IReference* duration); + + [VtblIndex(24)] + HRESULT get_RecurrenceStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(25)] + HRESULT put_RecurrenceStartTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(26)] + HRESULT get_Recurrence([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence **")] IAppointmentRecurrence** value); + + [VtblIndex(27)] + HRESULT put_Recurrence([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence *")] IAppointmentRecurrence* value); + + [VtblIndex(28)] + HRESULT get_RemoteChangeNumber([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(29)] + HRESULT put_RemoteChangeNumber([NativeTypeName("UINT64")] ulong value); + + [VtblIndex(30)] + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(31)] + HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AllowNewTimeProposal; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_AllowNewTimeProposal; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AppointmentRoamingId; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_AppointmentRoamingId; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_AppointmentOriginalStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_AppointmentOriginalStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Duration; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Duration; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsAllDay; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsAllDay; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsResponseRequested; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsResponseRequested; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Location; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Location; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_ProposedStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_ProposedStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_ProposedDuration; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_ProposedDuration; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_RecurrenceStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_RecurrenceStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Recurrence; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointmentRecurrence *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Recurrence; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RemoteChangeNumber; + + [NativeTypeName("HRESULT (UINT64) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RemoteChangeNumber; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_StartTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_StartTime; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2.cs new file mode 100644 index 0000000000..1ea64511f6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("7E59386D-B0D9-4FE5-867C-E31ED2B588B8")] +[NativeTypeName("struct IEmailMeetingInfo2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMeetingInfo2 : IEmailMeetingInfo2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMeetingInfo2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_IsReportedOutOfDateByServer([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMeetingInfo2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_IsReportedOutOfDateByServer([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsReportedOutOfDateByServer; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage.cs new file mode 100644 index 0000000000..f2dcb9c8ba --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage.cs @@ -0,0 +1,210 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("6C6D948D-80B5-48F8-B0B1-E04E430F44E5")] +[NativeTypeName("struct IEmailMessage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessage : IEmailMessage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Subject(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Subject(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Body(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Body(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_To([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_CC([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_Bcc([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_Attachments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailAttachment_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IEmailMessage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Subject(HSTRING* value); + + [VtblIndex(7)] + HRESULT put_Subject(HSTRING value); + + [VtblIndex(8)] + HRESULT get_Body(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_Body(HSTRING value); + + [VtblIndex(10)] + HRESULT get_To([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value); + + [VtblIndex(11)] + HRESULT get_CC([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value); + + [VtblIndex(12)] + HRESULT get_Bcc([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value); + + [VtblIndex(13)] + HRESULT get_Attachments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailAttachment_t **")] IVector>** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Subject; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Subject; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Body; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Body; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_To; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_CC; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_Bcc; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailAttachment_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_Attachments; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2.cs new file mode 100644 index 0000000000..55f0a57549 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2.cs @@ -0,0 +1,728 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("FDC8248B-9F1A-44DB-BD3C-65C384770F86")] +[NativeTypeName("struct IEmailMessage2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessage2 : IEmailMessage2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessage2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessage2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessage2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessage2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessage2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessage2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessage2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_RemoteId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_RemoteId(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_MailboxId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_ConversationId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_FolderId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_AllowInternetImages([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_AllowInternetImages([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_ChangeNumber([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState *")] EmailMessageDownloadState* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT put_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState")] EmailMessageDownloadState value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT get_EstimatedDownloadSizeInBytes([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT put_EstimatedDownloadSizeInBytes([NativeTypeName("UINT32")] uint value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT get_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState *")] EmailFlagState* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT put_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState")] EmailFlagState value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT get_HasPartialBodies([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT get_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance *")] EmailImportance* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT put_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance")] EmailImportance value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT get_InResponseToMessageId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT get_IrmInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **")] IEmailIrmInfo** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT put_IrmInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo *")] IEmailIrmInfo* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[26]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT get_IsDraftMessage([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT get_IsRead([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT put_IsRead([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(30)] + public HRESULT get_IsSeen([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(31)] + public HRESULT put_IsSeen([NativeTypeName("boolean")] byte value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(32)] + public HRESULT get_IsServerSearchMessage([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[32]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(33)] + public HRESULT get_IsSmartSendable([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[33]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(34)] + public HRESULT get_MessageClass(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[34]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(35)] + public HRESULT put_MessageClass(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[35]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(36)] + public HRESULT get_NormalizedSubject(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[36]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(37)] + public HRESULT get_OriginalCodePage([NativeTypeName("INT32 *")] int* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[37]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(38)] + public HRESULT put_OriginalCodePage([NativeTypeName("INT32")] int value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[38]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(39)] + public HRESULT get_Preview(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[39]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(40)] + public HRESULT put_Preview(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(41)] + public HRESULT get_LastResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *")] EmailMessageResponseKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[41]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(42)] + public HRESULT put_LastResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind")] EmailMessageResponseKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[42]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(43)] + public HRESULT get_Sender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[43]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(44)] + public HRESULT put_Sender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient *")] IEmailRecipient* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[44]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(45)] + public HRESULT get_SentTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[45]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(46)] + public HRESULT put_SentTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[46]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(47)] + public HRESULT get_MeetingInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo **")] IEmailMeetingInfo** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[47]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(48)] + public HRESULT put_MeetingInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo *")] IEmailMeetingInfo* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[48]))((IEmailMessage2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(49)] + public HRESULT GetBodyStream([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind type, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[49]))((IEmailMessage2*)Unsafe.AsPointer(ref this), type, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(50)] + public HRESULT SetBodyStream([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind type, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[50]))((IEmailMessage2*)Unsafe.AsPointer(ref this), type, stream); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_RemoteId(HSTRING* value); + + [VtblIndex(8)] + HRESULT put_RemoteId(HSTRING value); + + [VtblIndex(9)] + HRESULT get_MailboxId(HSTRING* value); + + [VtblIndex(10)] + HRESULT get_ConversationId(HSTRING* value); + + [VtblIndex(11)] + HRESULT get_FolderId(HSTRING* value); + + [VtblIndex(12)] + HRESULT get_AllowInternetImages([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(13)] + HRESULT put_AllowInternetImages([NativeTypeName("boolean")] byte value); + + [VtblIndex(14)] + HRESULT get_ChangeNumber([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(15)] + HRESULT get_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState *")] EmailMessageDownloadState* value); + + [VtblIndex(16)] + HRESULT put_DownloadState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState")] EmailMessageDownloadState value); + + [VtblIndex(17)] + HRESULT get_EstimatedDownloadSizeInBytes([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(18)] + HRESULT put_EstimatedDownloadSizeInBytes([NativeTypeName("UINT32")] uint value); + + [VtblIndex(19)] + HRESULT get_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState *")] EmailFlagState* value); + + [VtblIndex(20)] + HRESULT put_FlagState([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailFlagState")] EmailFlagState value); + + [VtblIndex(21)] + HRESULT get_HasPartialBodies([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(22)] + HRESULT get_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance *")] EmailImportance* value); + + [VtblIndex(23)] + HRESULT put_Importance([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailImportance")] EmailImportance value); + + [VtblIndex(24)] + HRESULT get_InResponseToMessageId(HSTRING* value); + + [VtblIndex(25)] + HRESULT get_IrmInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **")] IEmailIrmInfo** value); + + [VtblIndex(26)] + HRESULT put_IrmInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailIrmInfo *")] IEmailIrmInfo* value); + + [VtblIndex(27)] + HRESULT get_IsDraftMessage([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(28)] + HRESULT get_IsRead([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(29)] + HRESULT put_IsRead([NativeTypeName("boolean")] byte value); + + [VtblIndex(30)] + HRESULT get_IsSeen([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(31)] + HRESULT put_IsSeen([NativeTypeName("boolean")] byte value); + + [VtblIndex(32)] + HRESULT get_IsServerSearchMessage([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(33)] + HRESULT get_IsSmartSendable([NativeTypeName("boolean *")] byte* value); + + [VtblIndex(34)] + HRESULT get_MessageClass(HSTRING* value); + + [VtblIndex(35)] + HRESULT put_MessageClass(HSTRING value); + + [VtblIndex(36)] + HRESULT get_NormalizedSubject(HSTRING* value); + + [VtblIndex(37)] + HRESULT get_OriginalCodePage([NativeTypeName("INT32 *")] int* value); + + [VtblIndex(38)] + HRESULT put_OriginalCodePage([NativeTypeName("INT32")] int value); + + [VtblIndex(39)] + HRESULT get_Preview(HSTRING* value); + + [VtblIndex(40)] + HRESULT put_Preview(HSTRING value); + + [VtblIndex(41)] + HRESULT get_LastResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *")] EmailMessageResponseKind* value); + + [VtblIndex(42)] + HRESULT put_LastResponseKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind")] EmailMessageResponseKind value); + + [VtblIndex(43)] + HRESULT get_Sender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value); + + [VtblIndex(44)] + HRESULT put_Sender([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient *")] IEmailRecipient* value); + + [VtblIndex(45)] + HRESULT get_SentTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(46)] + HRESULT put_SentTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(47)] + HRESULT get_MeetingInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo **")] IEmailMeetingInfo** value); + + [VtblIndex(48)] + HRESULT put_MeetingInfo([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo *")] IEmailMeetingInfo* value); + + [VtblIndex(49)] + HRESULT GetBodyStream([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind type, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** result); + + [VtblIndex(50)] + HRESULT SetBodyStream([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind")] EmailMessageBodyKind type, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RemoteId; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RemoteId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MailboxId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ConversationId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_FolderId; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AllowInternetImages; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_AllowInternetImages; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ChangeNumber; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DownloadState; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageDownloadState) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DownloadState; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_EstimatedDownloadSizeInBytes; + + [NativeTypeName("HRESULT (UINT32) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_EstimatedDownloadSizeInBytes; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailFlagState *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_FlagState; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailFlagState) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_FlagState; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_HasPartialBodies; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailImportance *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Importance; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailImportance) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Importance; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_InResponseToMessageId; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailIrmInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IrmInfo; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailIrmInfo *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IrmInfo; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsDraftMessage; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsRead; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsRead; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSeen; + + [NativeTypeName("HRESULT (boolean) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_IsSeen; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsServerSearchMessage; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSmartSendable; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MessageClass; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MessageClass; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_NormalizedSubject; + + [NativeTypeName("HRESULT (INT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OriginalCodePage; + + [NativeTypeName("HRESULT (INT32) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_OriginalCodePage; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Preview; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Preview; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastResponseKind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageResponseKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastResponseKind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailRecipient **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Sender; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailRecipient *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Sender; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_SentTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_SentTime; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MeetingInfo; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMeetingInfo *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MeetingInfo; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind, ABI::Windows::Storage::Streams::IRandomAccessStreamReference **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetBodyStream; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageBodyKind, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SetBodyStream; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3.cs new file mode 100644 index 0000000000..ea7aef9a32 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A1EA675C-E598-4D29-A018-FC7B7EECE0A1")] +[NativeTypeName("struct IEmailMessage3 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessage3 : IEmailMessage3.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessage3)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessage3*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessage3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessage3*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessage3*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessage3*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessage3*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_SmimeData([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailMessage3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_SmimeData([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMessage3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_SmimeKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind *")] EmailMessageSmimeKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMessage3*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_SmimeKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind")] EmailMessageSmimeKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailMessage3*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_SmimeData([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** value); + + [VtblIndex(7)] + HRESULT put_SmimeData([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* value); + + [VtblIndex(8)] + HRESULT get_SmimeKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind *")] EmailMessageSmimeKind* value); + + [VtblIndex(9)] + HRESULT put_SmimeKind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind")] EmailMessageSmimeKind value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SmimeData; + + [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SmimeData; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SmimeKind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailMessageSmimeKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SmimeKind; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4.cs new file mode 100644 index 0000000000..8007dc3270 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("317CF181-3E7F-4A05-8394-3E10336DD435")] +[NativeTypeName("struct IEmailMessage4 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessage4 : IEmailMessage4.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessage4)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessage4*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessage4*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessage4*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessage4*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessage4*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessage4*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ReplyTo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailMessage4*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_SentRepresenting([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMessage4*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_SentRepresenting([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient *")] IEmailRecipient* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailMessage4*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ReplyTo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **")] IVector>** value); + + [VtblIndex(7)] + HRESULT get_SentRepresenting([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** value); + + [VtblIndex(8)] + HRESULT put_SentRepresenting([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient *")] IEmailRecipient* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CEmail__CEmailRecipient_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_ReplyTo; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailRecipient **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SentRepresenting; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailRecipient *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SentRepresenting; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatch.cs new file mode 100644 index 0000000000..a19b17a756 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatch.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("605CD08F-25D9-4F1B-9E51-0514C0149653")] +[NativeTypeName("struct IEmailMessageBatch : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessageBatch : IEmailMessageBatch.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessageBatch)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Messages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IVectorView>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailBatchStatus *")] EmailBatchStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailMessageBatch*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Messages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IVectorView>** value); + + [VtblIndex(7)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailBatchStatus *")] EmailBatchStatus* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_Messages; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailBatchStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReader.cs new file mode 100644 index 0000000000..6a9064603b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReader.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("2F4ABE9F-6213-4A85-A3B0-F92D1A839D19")] +[NativeTypeName("struct IEmailMessageReader : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailMessageReader : IEmailMessageReader.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailMessageReader)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailMessageReader*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailMessageReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailMessageReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailMessageReader*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailMessageReader*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailMessageReader*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessageBatch_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEmailMessageReader*)Unsafe.AsPointer(ref this), result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessageBatch_t **")] IAsyncOperation>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessageBatch_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> ReadBatchAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptions.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptions.cs new file mode 100644 index 0000000000..88ff93197f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptions.cs @@ -0,0 +1,210 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("45504B9B-3E7F-4D52-B6DD-D6FD4E1FBD9A")] +[NativeTypeName("struct IEmailQueryOptions : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailQueryOptions : IEmailQueryOptions.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailQueryOptions)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_TextSearch([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryTextSearch **")] IEmailQueryTextSearch** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_SortDirection([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection *")] EmailQuerySortDirection* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_SortDirection([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection")] EmailQuerySortDirection value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty *")] EmailQuerySortProperty* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT put_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty")] EmailQuerySortProperty value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQueryKind *")] EmailQueryKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT put_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQueryKind")] EmailQueryKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_FolderIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IEmailQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_TextSearch([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryTextSearch **")] IEmailQueryTextSearch** value); + + [VtblIndex(7)] + HRESULT get_SortDirection([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection *")] EmailQuerySortDirection* value); + + [VtblIndex(8)] + HRESULT put_SortDirection([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection")] EmailQuerySortDirection value); + + [VtblIndex(9)] + HRESULT get_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty *")] EmailQuerySortProperty* value); + + [VtblIndex(10)] + HRESULT put_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty")] EmailQuerySortProperty value); + + [VtblIndex(11)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQueryKind *")] EmailQueryKind* value); + + [VtblIndex(12)] + HRESULT put_Kind([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQueryKind")] EmailQueryKind value); + + [VtblIndex(13)] + HRESULT get_FolderIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryTextSearch **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_TextSearch; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SortDirection; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySortDirection) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SortDirection; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SortProperty; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySortProperty) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SortProperty; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQueryKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQueryKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Kind; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_FolderIds; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactory.cs new file mode 100644 index 0000000000..528f1a8eee --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactory.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("88F1A1B8-78AB-4EE8-B4E3-046D6E2FE5E2")] +[NativeTypeName("struct IEmailQueryOptionsFactory : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailQueryOptionsFactory : IEmailQueryOptionsFactory.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailQueryOptionsFactory)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT CreateWithText(HSTRING text, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **")] IEmailQueryOptions** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), text, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT CreateWithTextAndFields(HSTRING text, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields")] EmailQuerySearchFields fields, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **")] IEmailQueryOptions** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailQueryOptionsFactory*)Unsafe.AsPointer(ref this), text, fields, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT CreateWithText(HSTRING text, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **")] IEmailQueryOptions** result); + + [VtblIndex(7)] + HRESULT CreateWithTextAndFields(HSTRING text, [NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields")] EmailQuerySearchFields fields, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **")] IEmailQueryOptions** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateWithText; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields, ABI::Windows::ApplicationModel::Email::IEmailQueryOptions **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateWithTextAndFields; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearch.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearch.cs new file mode 100644 index 0000000000..f576bf0321 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearch.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("9FA0A288-3C5D-46A5-A6E2-31D6FD17E540")] +[NativeTypeName("struct IEmailQueryTextSearch : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailQueryTextSearch : IEmailQueryTextSearch.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailQueryTextSearch)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Fields([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields *")] EmailQuerySearchFields* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Fields([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields")] EmailQuerySearchFields value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_SearchScope([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope *")] EmailQuerySearchScope* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_SearchScope([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope")] EmailQuerySearchScope value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Text(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_Text(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IEmailQueryTextSearch*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Fields([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields *")] EmailQuerySearchFields* value); + + [VtblIndex(7)] + HRESULT put_Fields([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields")] EmailQuerySearchFields value); + + [VtblIndex(8)] + HRESULT get_SearchScope([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope *")] EmailQuerySearchScope* value); + + [VtblIndex(9)] + HRESULT put_SearchScope([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope")] EmailQuerySearchScope value); + + [VtblIndex(10)] + HRESULT get_Text(HSTRING* value); + + [VtblIndex(11)] + HRESULT put_Text(HSTRING value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Fields; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySearchFields) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Fields; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SearchScope; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailQuerySearchScope) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SearchScope; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Text; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Text; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipient.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipient.cs new file mode 100644 index 0000000000..f73985455c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipient.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("CAE825B3-4478-4814-B900-C902B5E19B53")] +[NativeTypeName("struct IEmailRecipient : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailRecipient : IEmailRecipient.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailRecipient)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailRecipient*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailRecipient*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailRecipient*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailRecipient*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailRecipient*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailRecipient*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Name(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailRecipient*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Name(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailRecipient*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Address(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailRecipient*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Address(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailRecipient*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Name(HSTRING* value); + + [VtblIndex(7)] + HRESULT put_Name(HSTRING value); + + [VtblIndex(8)] + HRESULT get_Address(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_Address(HSTRING value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Name; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Name; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Address; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Address; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactory.cs new file mode 100644 index 0000000000..603ff0e963 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactory.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5500B84D-C79A-4EF8-B909-722E18E3935D")] +[NativeTypeName("struct IEmailRecipientFactory : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailRecipientFactory : IEmailRecipientFactory.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailRecipientFactory)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Create(HSTRING address, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), address, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT CreateWithName(HSTRING address, HSTRING name, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailRecipientFactory*)Unsafe.AsPointer(ref this), address, name, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Create(HSTRING address, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** result); + + [VtblIndex(7)] + HRESULT CreateWithName(HSTRING address, HSTRING name, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailRecipient **")] IEmailRecipient** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Email::IEmailRecipient **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Create; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::ApplicationModel::Email::IEmailRecipient **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateWithName; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult.cs new file mode 100644 index 0000000000..c096f5ae62 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("918338FA-8D8D-4573-80D1-07172A34B98D")] +[NativeTypeName("struct IEmailRecipientResolutionResult : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailRecipientResolutionResult : IEmailRecipientResolutionResult.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailRecipientResolutionResult)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus *")] EmailRecipientResolutionStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_PublicKeys([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IEmailRecipientResolutionResult*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus *")] EmailRecipientResolutionStatus* value); + + [VtblIndex(7)] + HRESULT get_PublicKeys([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_PublicKeys; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2.cs new file mode 100644 index 0000000000..c38f985b98 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5E420BB6-CE5B-4BDE-B9D4-E16DA0B09FCA")] +[NativeTypeName("struct IEmailRecipientResolutionResult2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailRecipientResolutionResult2 : IEmailRecipientResolutionResult2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailRecipientResolutionResult2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus")] EmailRecipientResolutionStatus value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT SetPublicKeys([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* value) + { + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[7]))((IEmailRecipientResolutionResult2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus")] EmailRecipientResolutionStatus value); + + [VtblIndex(7)] + HRESULT SetPublicKeys([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Status; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>*, int> SetPublicKeys; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStore.cs new file mode 100644 index 0000000000..542551cdda --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStore.cs @@ -0,0 +1,252 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F803226E-9137-4F8B-A470-279AC3058EB6")] +[NativeTypeName("struct IEmailStore : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailStore : IEmailStore.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailStore)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailStore*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailStore*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailStore*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailStore*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailStore*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailStore*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT FindMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>>>** result) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IEmailStore*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IEmailStore*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IEmailStore*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IEmailStore*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IEmailStore*)Unsafe.AsPointer(ref this), options, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT GetMailboxAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IEmailStore*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT GetConversationAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IEmailStore*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT GetFolderAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IEmailStore*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IEmailStore*)Unsafe.AsPointer(ref this), id, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT CreateMailboxAsync(HSTRING accountName, HSTRING accountAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IEmailStore*)Unsafe.AsPointer(ref this), accountName, accountAddress, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT CreateMailboxInAccountAsync(HSTRING accountName, HSTRING accountAddress, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IEmailStore*)Unsafe.AsPointer(ref this), accountName, accountAddress, userDataAccountId, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT FindMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>>>** result); + + [VtblIndex(7)] + HRESULT GetConversationReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(8)] + HRESULT GetConversationReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailConversationReader **")] IEmailConversationReader** result); + + [VtblIndex(9)] + HRESULT GetMessageReader([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(10)] + HRESULT GetMessageReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *")] IEmailQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::Email::IEmailMessageReader **")] IEmailMessageReader** result); + + [VtblIndex(11)] + HRESULT GetMailboxAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result); + + [VtblIndex(12)] + HRESULT GetConversationAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **")] IAsyncOperation>** result); + + [VtblIndex(13)] + HRESULT GetFolderAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **")] IAsyncOperation>** result); + + [VtblIndex(14)] + HRESULT GetMessageAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **")] IAsyncOperation>** result); + + [VtblIndex(15)] + HRESULT CreateMailboxAsync(HSTRING accountName, HSTRING accountAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result); + + [VtblIndex(16)] + HRESULT CreateMailboxInAccountAsync(HSTRING accountName, HSTRING accountAddress, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> FindMailboxesAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailConversationReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetConversationReaderWithOptions; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Email::IEmailQueryOptions *, ABI::Windows::ApplicationModel::Email::IEmailMessageReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetMessageReaderWithOptions; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetMailboxAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailConversation_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetConversationAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailFolder_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetFolderAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMessage_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetMessageAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateMailboxAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateMailboxInAccountAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetails.cs new file mode 100644 index 0000000000..cc4ee8778f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetails.cs @@ -0,0 +1,99 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("CE17563C-46E6-43C9-96F7-FACF7DD710CB")] +[NativeTypeName("struct IEmailStoreNotificationTriggerDetails : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IEmailStoreNotificationTriggerDetails : IEmailStoreNotificationTriggerDetails.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEmailStoreNotificationTriggerDetails)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IEmailStoreNotificationTriggerDetails*)Unsafe.AsPointer(ref this), trustLevel); + } + + public interface Interface : IInspectable.Interface + { + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IID.Manual.cs new file mode 100644 index 0000000000..b849abe2ff --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IID.Manual.cs @@ -0,0 +1,1302 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IEmailAttachment + { + get + { + ReadOnlySpan data = [ + 0xF9, 0xCA, 0x53, 0xF3, + 0xC8, 0x57, + 0xDB, 0x4A, + 0xB9, + 0x92, + 0x60, + 0xFC, + 0xEB, + 0x58, + 0x4F, + 0x54 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailAttachment2 + { + get + { + ReadOnlySpan data = [ + 0x70, 0x10, 0x5F, 0x22, + 0xFF, 0xB0, + 0x71, 0x45, + 0x9D, + 0x54, + 0xA7, + 0x06, + 0xC4, + 0x8D, + 0x55, + 0xC6 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailAttachmentFactory + { + get + { + ReadOnlySpan data = [ + 0x46, 0xAC, 0x6E, 0x79, + 0x56, 0xED, + 0x79, 0x49, + 0x87, + 0x08, + 0xAB, + 0xB8, + 0xBC, + 0x85, + 0x4B, + 0x7D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailAttachmentFactory2 + { + get + { + ReadOnlySpan data = [ + 0x35, 0x94, 0x25, 0x23, + 0xF9, 0x51, + 0x7D, 0x42, + 0xAD, + 0xCD, + 0x24, + 0x10, + 0x23, + 0xC8, + 0xCF, + 0xB7 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailConversation + { + get + { + ReadOnlySpan data = [ + 0x48, 0xC2, 0x18, 0xDA, + 0xBC, 0xA0, + 0x49, 0x43, + 0x90, + 0x2D, + 0x90, + 0xF6, + 0x63, + 0x89, + 0xF5, + 0x1B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailConversationBatch + { + get + { + ReadOnlySpan data = [ + 0x81, 0xAB, 0xC1, 0xB8, + 0xC5, 0x01, + 0x2A, 0x43, + 0x9D, + 0xF1, + 0xFE, + 0x85, + 0xD9, + 0x8A, + 0x27, + 0x9A + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailConversationReader + { + get + { + ReadOnlySpan data = [ + 0x82, 0x0F, 0x63, 0xB4, + 0x75, 0x28, + 0xC8, 0x44, + 0x9B, + 0x8C, + 0x85, + 0xBE, + 0xB3, + 0xA3, + 0xC6, + 0x53 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailFolder + { + get + { + ReadOnlySpan data = [ + 0x71, 0x77, 0x4F, 0xA2, + 0x6C, 0x99, + 0x64, 0x48, + 0xB1, + 0xBA, + 0xED, + 0x12, + 0x40, + 0xE5, + 0x7D, + 0x11 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailIrmInfo + { + get + { + ReadOnlySpan data = [ + 0x93, 0x21, 0xF5, 0x90, + 0xA0, 0xB1, + 0xBD, 0x4E, + 0xA6, + 0xB6, + 0xDD, + 0xCA, + 0x55, + 0x60, + 0x6E, + 0x0E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailIrmInfoFactory + { + get + { + ReadOnlySpan data = [ + 0x8C, 0xB1, 0x4B, 0x31, + 0xE6, 0xE3, + 0x7B, 0x4D, + 0xBE, + 0x8D, + 0x91, + 0xA9, + 0x63, + 0x11, + 0xB0, + 0x1B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailIrmTemplate + { + get + { + ReadOnlySpan data = [ + 0x8D, 0x75, 0x27, 0xF3, + 0x6D, 0x54, + 0xEA, 0x4B, + 0xA9, + 0x63, + 0x54, + 0xA3, + 0x8B, + 0x2C, + 0xC0, + 0x16 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailIrmTemplateFactory + { + get + { + ReadOnlySpan data = [ + 0x76, 0x18, 0xA3, 0x3D, + 0x38, 0x87, + 0x18, 0x44, + 0xB9, + 0xCB, + 0x47, + 0x1B, + 0x93, + 0x6F, + 0xE7, + 0x1E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailItemCounts + { + get + { + ReadOnlySpan data = [ + 0x21, 0x33, 0xD1, 0x5B, + 0xC8, 0xFE, + 0xAB, 0x4B, + 0x83, + 0xBA, + 0x0B, + 0xAF, + 0x3C, + 0x1F, + 0x6C, + 0xBD + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailbox + { + get + { + ReadOnlySpan data = [ + 0x49, 0x06, 0x79, 0xA8, + 0x5B, 0xCF, + 0x1B, 0x41, + 0x80, + 0xB1, + 0x4A, + 0x6A, + 0x14, + 0x84, + 0xCE, + 0x25 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailbox2 + { + get + { + ReadOnlySpan data = [ + 0x04, 0xE4, 0xF8, 0x14, + 0xA2, 0x6C, + 0xB2, 0x4A, + 0x92, + 0x41, + 0x79, + 0xCD, + 0x7B, + 0xF4, + 0x63, + 0x46 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailbox3 + { + get + { + ReadOnlySpan data = [ + 0x7B, 0x89, 0xA5, 0x3D, + 0x8B, 0x45, + 0x8A, 0x40, + 0x8E, + 0x37, + 0xAC, + 0x8B, + 0x05, + 0xD8, + 0xAF, + 0x56 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailbox4 + { + get + { + ReadOnlySpan data = [ + 0x1B, 0x30, 0x1F, 0x5D, + 0x22, 0xF2, + 0xA7, 0x48, + 0xB7, + 0xB6, + 0x71, + 0x63, + 0x56, + 0xCD, + 0x26, + 0xA1 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailbox5 + { + get + { + ReadOnlySpan data = [ + 0x87, 0x70, 0x96, 0x39, + 0x92, 0x00, + 0xBE, 0x49, + 0xBD, + 0x0E, + 0x5D, + 0x4D, + 0xC9, + 0xD9, + 0x6D, + 0x90 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxAction + { + get + { + ReadOnlySpan data = [ + 0xFA, 0x89, 0x98, 0xAC, + 0xFA, 0x21, + 0x27, 0x49, + 0x92, + 0x10, + 0xD4, + 0x10, + 0x58, + 0x2F, + 0xDF, + 0x3E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxAutoReply + { + get + { + ReadOnlySpan data = [ + 0x4C, 0x25, 0x23, 0xE2, + 0xB4, 0x8A, + 0x5B, 0x48, + 0xB3, + 0x1F, + 0x04, + 0xD1, + 0x54, + 0x76, + 0xBD, + 0x59 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxAutoReplySettings + { + get + { + ReadOnlySpan data = [ + 0xA8, 0x9F, 0x7A, 0xA8, + 0xC6, 0x0A, + 0x77, 0x4B, + 0xBA, + 0x77, + 0xA6, + 0xB9, + 0x9E, + 0x9A, + 0x27, + 0xB8 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxCapabilities + { + get + { + ReadOnlySpan data = [ + 0xA6, 0xC3, 0xDE, 0xEE, + 0xDB, 0x89, + 0x05, 0x43, + 0x82, + 0xC4, + 0x43, + 0x9E, + 0x0A, + 0x33, + 0xDA, + 0x11 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxCapabilities2 + { + get + { + ReadOnlySpan data = [ + 0xE4, 0x3E, 0x72, 0x69, + 0x21, 0x2F, + 0xBC, 0x4C, + 0x88, + 0xAB, + 0x2E, + 0x76, + 0x02, + 0xA4, + 0x80, + 0x6B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxCapabilities3 + { + get + { + ReadOnlySpan data = [ + 0x44, 0xE9, 0x90, 0xF6, + 0xF2, 0x56, + 0xAA, 0x45, + 0x87, + 0x2C, + 0x0C, + 0xE9, + 0xF3, + 0xDB, + 0x0B, + 0x5C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxChange + { + get + { + ReadOnlySpan data = [ + 0x4B, 0xF5, 0xED, 0x61, + 0xEF, 0x11, + 0x0C, 0x40, + 0xAD, + 0xDE, + 0x8C, + 0xDE, + 0x65, + 0xC8, + 0x5E, + 0x66 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxChangeReader + { + get + { + ReadOnlySpan data = [ + 0xBB, 0x0E, 0xBD, 0xBD, + 0x3D, 0xC5, + 0x31, 0x43, + 0x97, + 0xBE, + 0xBE, + 0x75, + 0xA2, + 0x14, + 0x6A, + 0x75 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxChangeTracker + { + get + { + ReadOnlySpan data = [ + 0x38, 0x86, 0xE4, 0x7A, + 0x66, 0x51, + 0xB7, 0x42, + 0x88, + 0x82, + 0xFD, + 0x21, + 0xC9, + 0x2B, + 0xDD, + 0x4B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxChangedDeferral + { + get + { + ReadOnlySpan data = [ + 0xC1, 0x74, 0x9A, 0x77, + 0xC5, 0x97, + 0x54, 0x4B, + 0xB3, + 0x0D, + 0x30, + 0x62, + 0x32, + 0x62, + 0x3E, + 0x6D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxChangedEventArgs + { + get + { + ReadOnlySpan data = [ + 0x6E, 0x5F, 0xFD, 0x3C, + 0xD4, 0x01, + 0x4A, 0x4E, + 0xA4, + 0x4C, + 0xB2, + 0x2D, + 0xD4, + 0x2E, + 0xC2, + 0x07 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxCreateFolderResult + { + get + { + ReadOnlySpan data = [ + 0x7F, 0x55, 0x28, 0xB2, + 0x85, 0x28, + 0x98, 0x49, + 0xB5, + 0x95, + 0x8A, + 0x2D, + 0x37, + 0x4C, + 0xE9, + 0x50 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxPolicies + { + get + { + ReadOnlySpan data = [ + 0xC5, 0x45, 0x33, 0x1F, + 0x3B, 0x1C, + 0xC7, 0x4D, + 0xB4, + 0x10, + 0x63, + 0x73, + 0x78, + 0x3E, + 0x54, + 0x5D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxPolicies2 + { + get + { + ReadOnlySpan data = [ + 0xFB, 0x8A, 0xB5, 0xBA, + 0x4B, 0xA1, + 0x7C, 0x49, + 0xA8, + 0xE2, + 0x55, + 0xEA, + 0xC2, + 0x9C, + 0xC4, + 0xB5 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxPolicies3 + { + get + { + ReadOnlySpan data = [ + 0x1F, 0xA0, 0xD4, 0xBD, + 0x67, 0x48, + 0x4A, 0x41, + 0x81, + 0xA2, + 0x80, + 0x39, + 0x19, + 0xC4, + 0x41, + 0x91 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxSyncManager + { + get + { + ReadOnlySpan data = [ + 0x5A, 0xC5, 0x7A, 0x51, + 0x91, 0x35, + 0x5D, 0x4B, + 0x85, + 0xBC, + 0xC7, + 0x1D, + 0xDE, + 0x86, + 0x22, + 0x63 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMailboxSyncManager2 + { + get + { + ReadOnlySpan data = [ + 0x7E, 0xC9, 0x8D, 0xCD, + 0xC1, 0x95, + 0x89, 0x4F, + 0x81, + 0xB7, + 0xE6, + 0xAE, + 0xCB, + 0x66, + 0x95, + 0xFC + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailManagerForUser + { + get + { + ReadOnlySpan data = [ + 0x9F, 0xDE, 0x73, 0xF7, + 0xA5, 0x3C, + 0x0F, 0x4B, + 0x90, + 0xC1, + 0x15, + 0x6E, + 0x40, + 0x17, + 0x4C, + 0xE5 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailManagerStatics + { + get + { + ReadOnlySpan data = [ + 0x54, 0x86, 0x12, 0xF5, + 0xC5, 0x55, + 0x90, 0x48, + 0xA8, + 0x24, + 0x21, + 0x6C, + 0x26, + 0x18, + 0xCE, + 0x7F + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailManagerStatics2 + { + get + { + ReadOnlySpan data = [ + 0xA3, 0x2D, 0x05, 0xAC, + 0x94, 0xB1, + 0x5D, 0x42, + 0xB6, + 0xD9, + 0xD0, + 0xF0, + 0x41, + 0x35, + 0xED, + 0xA2 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailManagerStatics3 + { + get + { + ReadOnlySpan data = [ + 0x95, 0x23, 0x72, 0x4A, + 0x3E, 0x84, + 0x45, 0x49, + 0xB3, + 0xAA, + 0x34, + 0x9E, + 0x07, + 0xA3, + 0x62, + 0xC5 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMeetingInfo + { + get + { + ReadOnlySpan data = [ + 0xA9, 0x3F, 0xC0, 0x31, + 0x33, 0x79, + 0x5F, 0x41, + 0xA2, + 0x75, + 0xD1, + 0x65, + 0xBA, + 0x07, + 0x02, + 0x6B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMeetingInfo2 + { + get + { + ReadOnlySpan data = [ + 0x6D, 0x38, 0x59, 0x7E, + 0xD9, 0xB0, + 0xE5, 0x4F, + 0x86, + 0x7C, + 0xE3, + 0x1E, + 0xD2, + 0xB5, + 0x88, + 0xB8 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessage + { + get + { + ReadOnlySpan data = [ + 0x8D, 0x94, 0x6D, 0x6C, + 0xB5, 0x80, + 0xF8, 0x48, + 0xB0, + 0xB1, + 0xE0, + 0x4E, + 0x43, + 0x0F, + 0x44, + 0xE5 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessage2 + { + get + { + ReadOnlySpan data = [ + 0x8B, 0x24, 0xC8, 0xFD, + 0x1A, 0x9F, + 0xDB, 0x44, + 0xBD, + 0x3C, + 0x65, + 0xC3, + 0x84, + 0x77, + 0x0F, + 0x86 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessage3 + { + get + { + ReadOnlySpan data = [ + 0x5C, 0x67, 0xEA, 0xA1, + 0x98, 0xE5, + 0x29, 0x4D, + 0xA0, + 0x18, + 0xFC, + 0x7B, + 0x7E, + 0xEC, + 0xE0, + 0xA1 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessage4 + { + get + { + ReadOnlySpan data = [ + 0x81, 0xF1, 0x7C, 0x31, + 0x7F, 0x3E, + 0x05, 0x4A, + 0x83, + 0x94, + 0x3E, + 0x10, + 0x33, + 0x6D, + 0xD4, + 0x35 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessageBatch + { + get + { + ReadOnlySpan data = [ + 0x8F, 0xD0, 0x5C, 0x60, + 0xD9, 0x25, + 0x1B, 0x4F, + 0x9E, + 0x51, + 0x05, + 0x14, + 0xC0, + 0x14, + 0x96, + 0x53 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailMessageReader + { + get + { + ReadOnlySpan data = [ + 0x9F, 0xBE, 0x4A, 0x2F, + 0x13, 0x62, + 0x85, 0x4A, + 0xA3, + 0xB0, + 0xF9, + 0x2D, + 0x1A, + 0x83, + 0x9D, + 0x19 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailQueryOptions + { + get + { + ReadOnlySpan data = [ + 0x9B, 0x4B, 0x50, 0x45, + 0x7F, 0x3E, + 0x52, 0x4D, + 0xB6, + 0xDD, + 0xD6, + 0xFD, + 0x4E, + 0x1F, + 0xBD, + 0x9A + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailQueryOptionsFactory + { + get + { + ReadOnlySpan data = [ + 0xB8, 0xA1, 0xF1, 0x88, + 0xAB, 0x78, + 0xE8, 0x4E, + 0xB4, + 0xE3, + 0x04, + 0x6D, + 0x6E, + 0x2F, + 0xE5, + 0xE2 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailQueryTextSearch + { + get + { + ReadOnlySpan data = [ + 0x88, 0xA2, 0xA0, 0x9F, + 0x5D, 0x3C, + 0xA5, 0x46, + 0xA6, + 0xE2, + 0x31, + 0xD6, + 0xFD, + 0x17, + 0xE5, + 0x40 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailRecipient + { + get + { + ReadOnlySpan data = [ + 0xB3, 0x25, 0xE8, 0xCA, + 0x78, 0x44, + 0x14, 0x48, + 0xB9, + 0x00, + 0xC9, + 0x02, + 0xB5, + 0xE1, + 0x9B, + 0x53 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailRecipientFactory + { + get + { + ReadOnlySpan data = [ + 0x4D, 0xB8, 0x00, 0x55, + 0x9A, 0xC7, + 0xF8, 0x4E, + 0xB9, + 0x09, + 0x72, + 0x2E, + 0x18, + 0xE3, + 0x93, + 0x5D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailRecipientResolutionResult + { + get + { + ReadOnlySpan data = [ + 0xFA, 0x38, 0x83, 0x91, + 0x8D, 0x8D, + 0x73, 0x45, + 0x80, + 0xD1, + 0x07, + 0x17, + 0x2A, + 0x34, + 0xB9, + 0x8D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailRecipientResolutionResult2 + { + get + { + ReadOnlySpan data = [ + 0xB6, 0x0B, 0x42, 0x5E, + 0x5B, 0xCE, + 0xDE, 0x4B, + 0xB9, + 0xD4, + 0xE1, + 0x6D, + 0xA0, + 0xB0, + 0x9F, + 0xCA + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailStore + { + get + { + ReadOnlySpan data = [ + 0x6E, 0x22, 0x03, 0xF8, + 0x37, 0x91, + 0x8B, 0x4F, + 0xA4, + 0x70, + 0x27, + 0x9A, + 0xC3, + 0x05, + 0x8E, + 0xB6 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IEmailStoreNotificationTriggerDetails + { + get + { + ReadOnlySpan data = [ + 0x3C, 0x56, 0x17, 0xCE, + 0xE6, 0x46, + 0xC9, 0x43, + 0x96, + 0xF7, + 0xFA, + 0xCF, + 0x7D, + 0xD7, + 0x10, + 0xCB + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/WinRT.cs new file mode 100644 index 0000000000..3e8b71ff5c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/WinRT.cs @@ -0,0 +1,276 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[48]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailAttachment = "Windows.ApplicationModel.Email.IEmailAttachment"; + + [NativeTypeName("const WCHAR[49]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailAttachment2 = "Windows.ApplicationModel.Email.IEmailAttachment2"; + + [NativeTypeName("const WCHAR[55]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailAttachmentFactory = "Windows.ApplicationModel.Email.IEmailAttachmentFactory"; + + [NativeTypeName("const WCHAR[56]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailAttachmentFactory2 = "Windows.ApplicationModel.Email.IEmailAttachmentFactory2"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailConversation = "Windows.ApplicationModel.Email.IEmailConversation"; + + [NativeTypeName("const WCHAR[55]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailConversationBatch = "Windows.ApplicationModel.Email.IEmailConversationBatch"; + + [NativeTypeName("const WCHAR[56]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailConversationReader = "Windows.ApplicationModel.Email.IEmailConversationReader"; + + [NativeTypeName("const WCHAR[44]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailFolder = "Windows.ApplicationModel.Email.IEmailFolder"; + + [NativeTypeName("const WCHAR[45]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailIrmInfo = "Windows.ApplicationModel.Email.IEmailIrmInfo"; + + [NativeTypeName("const WCHAR[52]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailIrmInfoFactory = "Windows.ApplicationModel.Email.IEmailIrmInfoFactory"; + + [NativeTypeName("const WCHAR[49]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailIrmTemplate = "Windows.ApplicationModel.Email.IEmailIrmTemplate"; + + [NativeTypeName("const WCHAR[56]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory = "Windows.ApplicationModel.Email.IEmailIrmTemplateFactory"; + + [NativeTypeName("const WCHAR[48]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailItemCounts = "Windows.ApplicationModel.Email.IEmailItemCounts"; + + [NativeTypeName("const WCHAR[45]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailbox = "Windows.ApplicationModel.Email.IEmailMailbox"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailbox2 = "Windows.ApplicationModel.Email.IEmailMailbox2"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailbox3 = "Windows.ApplicationModel.Email.IEmailMailbox3"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailbox4 = "Windows.ApplicationModel.Email.IEmailMailbox4"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailbox5 = "Windows.ApplicationModel.Email.IEmailMailbox5"; + + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxAction = "Windows.ApplicationModel.Email.IEmailMailboxAction"; + + [NativeTypeName("const WCHAR[54]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxAutoReply = "Windows.ApplicationModel.Email.IEmailMailboxAutoReply"; + + [NativeTypeName("const WCHAR[62]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings = "Windows.ApplicationModel.Email.IEmailMailboxAutoReplySettings"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxCapabilities = "Windows.ApplicationModel.Email.IEmailMailboxCapabilities"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2 = "Windows.ApplicationModel.Email.IEmailMailboxCapabilities2"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3 = "Windows.ApplicationModel.Email.IEmailMailboxCapabilities3"; + + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxChange = "Windows.ApplicationModel.Email.IEmailMailboxChange"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxChangeReader = "Windows.ApplicationModel.Email.IEmailMailboxChangeReader"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker = "Windows.ApplicationModel.Email.IEmailMailboxChangeTracker"; + + [NativeTypeName("const WCHAR[60]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral = "Windows.ApplicationModel.Email.IEmailMailboxChangedDeferral"; + + [NativeTypeName("const WCHAR[61]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs = "Windows.ApplicationModel.Email.IEmailMailboxChangedEventArgs"; + + [NativeTypeName("const WCHAR[63]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult = "Windows.ApplicationModel.Email.IEmailMailboxCreateFolderResult"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxPolicies = "Windows.ApplicationModel.Email.IEmailMailboxPolicies"; + + [NativeTypeName("const WCHAR[54]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxPolicies2 = "Windows.ApplicationModel.Email.IEmailMailboxPolicies2"; + + [NativeTypeName("const WCHAR[54]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxPolicies3 = "Windows.ApplicationModel.Email.IEmailMailboxPolicies3"; + + [NativeTypeName("const WCHAR[56]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxSyncManager = "Windows.ApplicationModel.Email.IEmailMailboxSyncManager"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2 = "Windows.ApplicationModel.Email.IEmailMailboxSyncManager2"; + + [NativeTypeName("const WCHAR[52]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailManagerForUser = "Windows.ApplicationModel.Email.IEmailManagerForUser"; + + [NativeTypeName("const WCHAR[52]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailManagerStatics = "Windows.ApplicationModel.Email.IEmailManagerStatics"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailManagerStatics2 = "Windows.ApplicationModel.Email.IEmailManagerStatics2"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailManagerStatics3 = "Windows.ApplicationModel.Email.IEmailManagerStatics3"; + + [NativeTypeName("const WCHAR[49]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMeetingInfo = "Windows.ApplicationModel.Email.IEmailMeetingInfo"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMeetingInfo2 = "Windows.ApplicationModel.Email.IEmailMeetingInfo2"; + + [NativeTypeName("const WCHAR[45]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessage = "Windows.ApplicationModel.Email.IEmailMessage"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessage2 = "Windows.ApplicationModel.Email.IEmailMessage2"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessage3 = "Windows.ApplicationModel.Email.IEmailMessage3"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessage4 = "Windows.ApplicationModel.Email.IEmailMessage4"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessageBatch = "Windows.ApplicationModel.Email.IEmailMessageBatch"; + + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailMessageReader = "Windows.ApplicationModel.Email.IEmailMessageReader"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailQueryOptions = "Windows.ApplicationModel.Email.IEmailQueryOptions"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory = "Windows.ApplicationModel.Email.IEmailQueryOptionsFactory"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailQueryTextSearch = "Windows.ApplicationModel.Email.IEmailQueryTextSearch"; + + [NativeTypeName("const WCHAR[47]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailRecipient = "Windows.ApplicationModel.Email.IEmailRecipient"; + + [NativeTypeName("const WCHAR[54]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailRecipientFactory = "Windows.ApplicationModel.Email.IEmailRecipientFactory"; + + [NativeTypeName("const WCHAR[63]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult = "Windows.ApplicationModel.Email.IEmailRecipientResolutionResult"; + + [NativeTypeName("const WCHAR[64]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2 = "Windows.ApplicationModel.Email.IEmailRecipientResolutionResult2"; + + [NativeTypeName("const WCHAR[43]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailStore = "Windows.ApplicationModel.Email.IEmailStore"; + + [NativeTypeName("const WCHAR[69]")] + public const string InterfaceName_Windows_ApplicationModel_Email_IEmailStoreNotificationTriggerDetails = "Windows.ApplicationModel.Email.IEmailStoreNotificationTriggerDetails"; + + [NativeTypeName("const WCHAR[47]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailAttachment = "Windows.ApplicationModel.Email.EmailAttachment"; + + [NativeTypeName("const WCHAR[49]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailConversation = "Windows.ApplicationModel.Email.EmailConversation"; + + [NativeTypeName("const WCHAR[54]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailConversationBatch = "Windows.ApplicationModel.Email.EmailConversationBatch"; + + [NativeTypeName("const WCHAR[55]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailConversationReader = "Windows.ApplicationModel.Email.EmailConversationReader"; + + [NativeTypeName("const WCHAR[43]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailFolder = "Windows.ApplicationModel.Email.EmailFolder"; + + [NativeTypeName("const WCHAR[44]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailIrmInfo = "Windows.ApplicationModel.Email.EmailIrmInfo"; + + [NativeTypeName("const WCHAR[48]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailIrmTemplate = "Windows.ApplicationModel.Email.EmailIrmTemplate"; + + [NativeTypeName("const WCHAR[47]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailItemCounts = "Windows.ApplicationModel.Email.EmailItemCounts"; + + [NativeTypeName("const WCHAR[44]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailbox = "Windows.ApplicationModel.Email.EmailMailbox"; + + [NativeTypeName("const WCHAR[50]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxAction = "Windows.ApplicationModel.Email.EmailMailboxAction"; + + [NativeTypeName("const WCHAR[53]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxAutoReply = "Windows.ApplicationModel.Email.EmailMailboxAutoReply"; + + [NativeTypeName("const WCHAR[61]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxAutoReplySettings = "Windows.ApplicationModel.Email.EmailMailboxAutoReplySettings"; + + [NativeTypeName("const WCHAR[56]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxCapabilities = "Windows.ApplicationModel.Email.EmailMailboxCapabilities"; + + [NativeTypeName("const WCHAR[50]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxChange = "Windows.ApplicationModel.Email.EmailMailboxChange"; + + [NativeTypeName("const WCHAR[56]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxChangeReader = "Windows.ApplicationModel.Email.EmailMailboxChangeReader"; + + [NativeTypeName("const WCHAR[57]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxChangeTracker = "Windows.ApplicationModel.Email.EmailMailboxChangeTracker"; + + [NativeTypeName("const WCHAR[59]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxChangedDeferral = "Windows.ApplicationModel.Email.EmailMailboxChangedDeferral"; + + [NativeTypeName("const WCHAR[60]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxChangedEventArgs = "Windows.ApplicationModel.Email.EmailMailboxChangedEventArgs"; + + [NativeTypeName("const WCHAR[62]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxCreateFolderResult = "Windows.ApplicationModel.Email.EmailMailboxCreateFolderResult"; + + [NativeTypeName("const WCHAR[52]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxPolicies = "Windows.ApplicationModel.Email.EmailMailboxPolicies"; + + [NativeTypeName("const WCHAR[55]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMailboxSyncManager = "Windows.ApplicationModel.Email.EmailMailboxSyncManager"; + + [NativeTypeName("const WCHAR[44]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailManager = "Windows.ApplicationModel.Email.EmailManager"; + + [NativeTypeName("const WCHAR[51]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailManagerForUser = "Windows.ApplicationModel.Email.EmailManagerForUser"; + + [NativeTypeName("const WCHAR[48]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMeetingInfo = "Windows.ApplicationModel.Email.EmailMeetingInfo"; + + [NativeTypeName("const WCHAR[44]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMessage = "Windows.ApplicationModel.Email.EmailMessage"; + + [NativeTypeName("const WCHAR[49]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMessageBatch = "Windows.ApplicationModel.Email.EmailMessageBatch"; + + [NativeTypeName("const WCHAR[50]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailMessageReader = "Windows.ApplicationModel.Email.EmailMessageReader"; + + [NativeTypeName("const WCHAR[49]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailQueryOptions = "Windows.ApplicationModel.Email.EmailQueryOptions"; + + [NativeTypeName("const WCHAR[52]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailQueryTextSearch = "Windows.ApplicationModel.Email.EmailQueryTextSearch"; + + [NativeTypeName("const WCHAR[46]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailRecipient = "Windows.ApplicationModel.Email.EmailRecipient"; + + [NativeTypeName("const WCHAR[62]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailRecipientResolutionResult = "Windows.ApplicationModel.Email.EmailRecipientResolutionResult"; + + [NativeTypeName("const WCHAR[42]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailStore = "Windows.ApplicationModel.Email.EmailStore"; + + [NativeTypeName("const WCHAR[68]")] + public const string RuntimeClass_Windows_ApplicationModel_Email_EmailStoreNotificationTriggerDetails = "Windows.ApplicationModel.Email.EmailStoreNotificationTriggerDetails"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search.core/ISearchSuggestionManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search.core/ISearchSuggestionManager.cs index da62e170e6..71dd36d2f7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search.core/ISearchSuggestionManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search.core/ISearchSuggestionManager.cs @@ -138,9 +138,9 @@ public HRESULT SetQueryWithSearchQueryLinguisticDetails(HSTRING queryText, HSTRI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_Suggestions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestion_t **")] IObservableVector** value) + public HRESULT get_Suggestions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestion_t **")] IObservableVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), value); } /// @@ -170,9 +170,9 @@ public HRESULT ClearHistory() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -186,9 +186,9 @@ public HRESULT remove_SuggestionsRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_RequestingFocusOnKeyboardInput([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CRequestingFocusOnKeyboardInputEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RequestingFocusOnKeyboardInput([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CRequestingFocusOnKeyboardInputEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((ISearchSuggestionManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -226,7 +226,7 @@ public interface Interface : IInspectable.Interface HRESULT SetQueryWithSearchQueryLinguisticDetails(HSTRING queryText, HSTRING language, [NativeTypeName("ABI::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails *")] ISearchQueryLinguisticDetails* linguisticDetails); [VtblIndex(14)] - HRESULT get_Suggestions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestion_t **")] IObservableVector** value); + HRESULT get_Suggestions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestion_t **")] IObservableVector>** value); [VtblIndex(15)] HRESULT AddToHistory(HSTRING queryText); @@ -238,13 +238,13 @@ public interface Interface : IInspectable.Interface HRESULT ClearHistory(); [VtblIndex(18)] - HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_SuggestionsRequested(EventRegistrationToken token); [VtblIndex(20)] - HRESULT add_RequestingFocusOnKeyboardInput([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CRequestingFocusOnKeyboardInputEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RequestingFocusOnKeyboardInput([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CRequestingFocusOnKeyboardInputEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(21)] HRESULT remove_RequestingFocusOnKeyboardInput(EventRegistrationToken token); @@ -296,7 +296,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetQueryWithSearchQueryLinguisticDetails; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Suggestions; + public delegate* unmanaged[MemberFunction]>**, int> get_Suggestions; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AddToHistory; @@ -308,13 +308,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ClearHistory; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionsRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SuggestionsRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SuggestionsRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SuggestionsRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CCore__CSearchSuggestionManager_Windows__CApplicationModel__CSearch__CCore__CRequestingFocusOnKeyboardInputEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RequestingFocusOnKeyboardInput; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RequestingFocusOnKeyboardInput; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RequestingFocusOnKeyboardInput; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ILocalContentSuggestionSettings.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ILocalContentSuggestionSettings.cs index 2c640e7aa2..6beaab229b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ILocalContentSuggestionSettings.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ILocalContentSuggestionSettings.cs @@ -90,9 +90,9 @@ public HRESULT get_Enabled([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStorageFolder_t **")] IVector** value) + public HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStorageFolder_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ILocalContentSuggestionSettings*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ILocalContentSuggestionSettings*)Unsafe.AsPointer(ref this), value); } /// @@ -128,7 +128,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Enabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStorageFolder_t **")] IVector** value); + HRESULT get_Locations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStorageFolder_t **")] IVector>** value); [VtblIndex(9)] HRESULT put_AqsFilter(HSTRING value); @@ -168,7 +168,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Enabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Locations; + public delegate* unmanaged[MemberFunction]>**, int> get_Locations; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_AqsFilter; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ISearchPane.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ISearchPane.cs index 3f7a155164..6f87a3a372 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ISearchPane.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.search/ISearchPane.cs @@ -157,9 +157,9 @@ public HRESULT get_Visible([NativeTypeName("boolean *")] byte* value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneVisibilityChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneVisibilityChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -175,9 +175,9 @@ public HRESULT remove_VisibilityChanged(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public HRESULT add_QueryChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQueryChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_QueryChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQueryChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -193,9 +193,9 @@ public HRESULT remove_QueryChanged(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneSuggestionsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneSuggestionsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -211,9 +211,9 @@ public HRESULT remove_SuggestionsRequested(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public HRESULT add_QuerySubmitted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQuerySubmittedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_QuerySubmitted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQuerySubmittedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[21]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[21]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -229,9 +229,9 @@ public HRESULT remove_QuerySubmitted(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public HRESULT add_ResultSuggestionChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneResultSuggestionChosenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ResultSuggestionChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneResultSuggestionChosenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[23]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[23]))((ISearchPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -337,7 +337,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(15)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneVisibilityChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneVisibilityChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -345,7 +345,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(17)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - HRESULT add_QueryChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQueryChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_QueryChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQueryChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -353,7 +353,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(19)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneSuggestionsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SuggestionsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneSuggestionsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -361,7 +361,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(21)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - HRESULT add_QuerySubmitted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQuerySubmittedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_QuerySubmitted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQuerySubmittedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(22)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -369,7 +369,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(23)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - HRESULT add_ResultSuggestionChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneResultSuggestionChosenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ResultSuggestionChosen([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneResultSuggestionChosenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(24)] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -459,7 +459,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneVisibilityChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VisibilityChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VisibilityChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -467,7 +467,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQueryChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_QueryChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_QueryChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -475,7 +475,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneSuggestionsRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SuggestionsRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SuggestionsRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -483,7 +483,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneQuerySubmittedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_QuerySubmitted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_QuerySubmitted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] @@ -491,7 +491,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CSearch__CSearchPane_Windows__CApplicationModel__CSearch__CSearchPaneResultSuggestionChosenEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ResultSuggestionChosen; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ResultSuggestionChosen; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("ISearchPane may be altered or unavailable for releases after Windows 10.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts.provider/IUserDataAccountProviderAddAccountOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts.provider/IUserDataAccountProviderAddAccountOperation.cs index b456e5bd03..5f02db9cb8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts.provider/IUserDataAccountProviderAddAccountOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts.provider/IUserDataAccountProviderAddAccountOperation.cs @@ -82,9 +82,9 @@ public HRESULT get_ContentKinds([NativeTypeName("ABI::Windows::ApplicationModel: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_PartnerAccountInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CProvider__CUserDataAccountPartnerAccountInfo_t **")] IVectorView** value) + public HRESULT get_PartnerAccountInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CProvider__CUserDataAccountPartnerAccountInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IUserDataAccountProviderAddAccountOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IUserDataAccountProviderAddAccountOperation*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ContentKinds([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds *")] UserDataAccountContentKinds* value); [VtblIndex(7)] - HRESULT get_PartnerAccountInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CProvider__CUserDataAccountPartnerAccountInfo_t **")] IVectorView** value); + HRESULT get_PartnerAccountInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CProvider__CUserDataAccountPartnerAccountInfo_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT ReportCompleted(HSTRING userDataAccountId); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ContentKinds; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CProvider__CUserDataAccountPartnerAccountInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PartnerAccountInfos; + public delegate* unmanaged[MemberFunction]>**, int> get_PartnerAccountInfos; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ReportCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount.cs index 2322a2339a..028da0875b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount.cs @@ -154,33 +154,33 @@ public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result) + public HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[16]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT FindEmailMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation** result) + public HRESULT FindEmailMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[17]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** result) + public HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[18]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT FindContactAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** result) + public HRESULT FindContactAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[19]))((IUserDataAccount*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -216,16 +216,16 @@ public interface Interface : IInspectable.Interface HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(16)] - HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation** result); + HRESULT FindAppointmentCalendarsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **")] IAsyncOperation>>>** result); [VtblIndex(17)] - HRESULT FindEmailMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation** result); + HRESULT FindEmailMailboxesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **")] IAsyncOperation>>>** result); [VtblIndex(18)] - HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation** result); + HRESULT FindContactListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **")] IAsyncOperation>>>** result); [VtblIndex(19)] - HRESULT FindContactAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation** result); + HRESULT FindContactAnnotationListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -280,15 +280,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppointments__CAppointmentCalendar_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppointmentCalendarsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppointmentCalendarsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CEmail__CEmailMailbox_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindEmailMailboxesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindEmailMailboxesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactListsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactListsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactAnnotationList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactAnnotationListsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactAnnotationListsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount4.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount4.cs index 9b3a5e2da7..677514d5fc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccount4.cs @@ -98,17 +98,17 @@ public HRESULT get_ProviderProperties([NativeTypeName("ABI::Windows::Foundation: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindUserDataTaskListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation** operation) + public HRESULT FindUserDataTaskListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IUserDataAccount4*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IUserDataAccount4*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindContactGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactGroup_t **")] IAsyncOperation** operation) + public HRESULT FindContactGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactGroup_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IUserDataAccount4*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IUserDataAccount4*)Unsafe.AsPointer(ref this), operation); } /// @@ -147,10 +147,10 @@ public interface Interface : IInspectable.Interface HRESULT get_ProviderProperties([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet **")] IPropertySet** value); [VtblIndex(9)] - HRESULT FindUserDataTaskListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation** operation); + HRESULT FindUserDataTaskListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] - HRESULT FindContactGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactGroup_t **")] IAsyncOperation** operation); + HRESULT FindContactGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactGroup_t **")] IAsyncOperation>>>** operation); [VtblIndex(11)] HRESULT TryShowCreateContactGroupAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); @@ -193,10 +193,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ProviderProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindUserDataTaskListsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindUserDataTaskListsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CContacts__CContactGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindContactGroupsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindContactGroupsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> TryShowCreateContactGroupAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerForUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerForUser.cs index db4018722f..f9d0fed656 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerForUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerForUser.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataAccountManagerForUser*)Unsafe.AsPointer(ref this), storeAccessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataAccountManagerForUser*)Unsafe.AsPointer(ref this), storeAccessType, result); } /// @@ -90,7 +90,7 @@ public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_User; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerStatics.cs index f2a16ce82b..d2b294f106 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountManagerStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation** result) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataAccountManagerStatics*)Unsafe.AsPointer(ref this), storeAccessType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataAccountManagerStatics*)Unsafe.AsPointer(ref this), storeAccessType, result); } /// @@ -106,7 +106,7 @@ public HRESULT ShowAccountErrorResolverAsync(HSTRING id, [NativeTypeName("ABI::W public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation** result); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType")] UserDataAccountStoreAccessType storeAccessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT ShowAddAccountAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds")] UserDataAccountContentKinds contentKinds, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowAddAccountAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore.cs index 6aae666e9c..f49259ccf1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore.cs @@ -74,37 +74,37 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result) + public HRESULT FindAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetAccountAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result) + public HRESULT GetAccountAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), id, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), id, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateAccountAsync(HSTRING userDisplayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result) + public HRESULT CreateAccountAsync(HSTRING userDisplayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), userDisplayName, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IUserDataAccountStore*)Unsafe.AsPointer(ref this), userDisplayName, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result); + HRESULT FindAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>>>** result); [VtblIndex(7)] - HRESULT GetAccountAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result); + HRESULT GetAccountAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT CreateAccountAsync(HSTRING userDisplayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result); + HRESULT CreateAccountAsync(HSTRING userDisplayName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAccountsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAccountsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAccountAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAccountAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore2.cs index eb0fe370d5..0db452a7a3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAccountWithPackageRelativeAppIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result) + public HRESULT CreateAccountWithPackageRelativeAppIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataAccountStore2*)Unsafe.AsPointer(ref this), userDisplayName, packageRelativeAppId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataAccountStore2*)Unsafe.AsPointer(ref this), userDisplayName, packageRelativeAppId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStoreChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStoreChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUserDataAccountStore2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUserDataAccountStore2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,10 +98,10 @@ public HRESULT remove_StoreChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAccountWithPackageRelativeAppIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result); + HRESULT CreateAccountWithPackageRelativeAppIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStoreChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StoreChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStoreChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_StoreChanged(EventRegistrationToken token); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAccountWithPackageRelativeAppIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAccountWithPackageRelativeAppIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStore_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccountStoreChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StoreChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StoreChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StoreChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore3.cs index 40096af1bd..26714ca406 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdataaccounts/IUserDataAccountStore3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, HSTRING enterpriseId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result) + public HRESULT CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, HSTRING enterpriseId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataAccountStore3*)Unsafe.AsPointer(ref this), userDisplayName, packageRelativeAppId, enterpriseId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataAccountStore3*)Unsafe.AsPointer(ref this), userDisplayName, packageRelativeAppId, enterpriseId, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, HSTRING enterpriseId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation** result); + HRESULT CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(HSTRING userDisplayName, HSTRING packageRelativeAppId, HSTRING enterpriseId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataAccounts__CUserDataAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IID.Manual.cs new file mode 100644 index 0000000000..1da0fa837f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IID.Manual.cs @@ -0,0 +1,290 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IUserDataTask + { + get + { + ReadOnlySpan data = [ + 0xD1, 0x85, 0x65, 0x7C, + 0xD4, 0xE0, + 0x99, 0x4F, + 0xAE, + 0xE2, + 0xBC, + 0x2D, + 0x5D, + 0xDA, + 0xDF, + 0x4C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskBatch + { + get + { + ReadOnlySpan data = [ + 0xFE, 0xA5, 0x2D, 0x38, + 0xB5, 0x20, + 0x1C, 0x43, + 0x8F, + 0x42, + 0xA5, + 0xD2, + 0x92, + 0xEC, + 0x93, + 0x0C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskList + { + get + { + ReadOnlySpan data = [ + 0x39, 0x2E, 0x41, 0x49, + 0x1D, 0x7C, + 0xF1, 0x4D, + 0xBE, + 0xD3, + 0x31, + 0x4B, + 0x7C, + 0xBF, + 0x5E, + 0x4E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskListLimitedWriteOperations + { + get + { + ReadOnlySpan data = [ + 0xF2, 0x67, 0xA2, 0x7A, + 0x78, 0x60, + 0x83, 0x41, + 0x91, + 0x9E, + 0x4F, + 0x29, + 0xF1, + 0x9C, + 0xFA, + 0xE9 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskListSyncManager + { + get + { + ReadOnlySpan data = [ + 0x95, 0x1A, 0x59, 0x8E, + 0xCF, 0x1D, + 0x9F, 0x46, + 0x93, + 0xEC, + 0xBA, + 0x48, + 0xBB, + 0x55, + 0x3C, + 0x6B + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskManager + { + get + { + ReadOnlySpan data = [ + 0x14, 0xC9, 0x51, 0x84, + 0x0B, 0xE6, + 0xA9, 0x48, + 0x92, + 0x11, + 0x7F, + 0xB8, + 0xA5, + 0x6C, + 0xB8, + 0x4C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskManagerStatics + { + get + { + ReadOnlySpan data = [ + 0xF8, 0x39, 0x55, 0xB3, + 0x02, 0xC5, + 0xFC, 0x47, + 0xA8, + 0x1E, + 0x10, + 0x08, + 0x83, + 0x71, + 0x9D, + 0x55 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskQueryOptions + { + get + { + ReadOnlySpan data = [ + 0xED, 0x27, 0x9F, 0x95, + 0x9A, 0x90, + 0x30, 0x4D, + 0x8C, + 0x1B, + 0x33, + 0x1D, + 0x8F, + 0xE6, + 0x67, + 0xE2 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskReader + { + get + { + ReadOnlySpan data = [ + 0xB1, 0x88, 0xE6, 0x03, + 0xCF, 0x4C, + 0x00, 0x45, + 0x88, + 0x3B, + 0xE7, + 0x62, + 0x90, + 0xCF, + 0xED, + 0x63 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskRecurrenceProperties + { + get + { + ReadOnlySpan data = [ + 0xB0, 0x80, 0xDF, 0x73, + 0xC6, 0x27, + 0xCE, 0x40, + 0xB1, + 0x49, + 0x9C, + 0xD4, + 0x14, + 0x85, + 0xA6, + 0x9E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskRegenerationProperties + { + get + { + ReadOnlySpan data = [ + 0x07, 0x00, 0xAB, 0x92, + 0x0E, 0x09, + 0x04, 0x47, + 0xBB, + 0x5C, + 0x84, + 0xFC, + 0x0B, + 0x0D, + 0x9C, + 0x31 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IUserDataTaskStore + { + get + { + ReadOnlySpan data = [ + 0xB0, 0x9C, 0x6A, 0xF0, + 0xDB, 0xF1, + 0xBA, 0x45, + 0x8A, + 0x62, + 0x08, + 0x60, + 0x04, + 0xC0, + 0x21, + 0x3D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTask.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTask.cs new file mode 100644 index 0000000000..e4f4bf277d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTask.cs @@ -0,0 +1,476 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("7C6585D1-E0D4-4F99-AEE2-BC2D5DDADF4C")] +[NativeTypeName("struct IUserDataTask : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTask : IUserDataTask.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTask)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTask*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTask*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTask*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTask*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTask*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTask*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_ListId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_RemoteId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_RemoteId(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_CompletedDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_CompletedDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_Details(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_Details(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_DetailsKind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind *")] UserDataTaskDetailsKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT put_DetailsKind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind")] UserDataTaskDetailsKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_DueDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_DueDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[17]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind *")] UserDataTaskKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT get_Priority([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority *")] UserDataTaskPriority* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT put_Priority([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority")] UserDataTaskPriority value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[20]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT get_RecurrenceProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties **")] IUserDataTaskRecurrenceProperties** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT put_RecurrenceProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties *")] IUserDataTaskRecurrenceProperties* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT get_RegenerationProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties **")] IUserDataTaskRegenerationProperties** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT put_RegenerationProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties *")] IUserDataTaskRegenerationProperties* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(25)] + public HRESULT get_Reminder([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[25]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(26)] + public HRESULT put_Reminder([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[26]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(27)] + public HRESULT get_Sensitivity([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity *")] UserDataTaskSensitivity* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(28)] + public HRESULT put_Sensitivity([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity")] UserDataTaskSensitivity value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(29)] + public HRESULT get_Subject(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(30)] + public HRESULT put_Subject(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(31)] + public HRESULT get_StartDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[31]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(32)] + public HRESULT put_StartDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[32]))((IUserDataTask*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_ListId(HSTRING* value); + + [VtblIndex(8)] + HRESULT get_RemoteId(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_RemoteId(HSTRING value); + + [VtblIndex(10)] + HRESULT get_CompletedDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(11)] + HRESULT put_CompletedDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(12)] + HRESULT get_Details(HSTRING* value); + + [VtblIndex(13)] + HRESULT put_Details(HSTRING value); + + [VtblIndex(14)] + HRESULT get_DetailsKind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind *")] UserDataTaskDetailsKind* value); + + [VtblIndex(15)] + HRESULT put_DetailsKind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind")] UserDataTaskDetailsKind value); + + [VtblIndex(16)] + HRESULT get_DueDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(17)] + HRESULT put_DueDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(18)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind *")] UserDataTaskKind* value); + + [VtblIndex(19)] + HRESULT get_Priority([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority *")] UserDataTaskPriority* value); + + [VtblIndex(20)] + HRESULT put_Priority([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority")] UserDataTaskPriority value); + + [VtblIndex(21)] + HRESULT get_RecurrenceProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties **")] IUserDataTaskRecurrenceProperties** value); + + [VtblIndex(22)] + HRESULT put_RecurrenceProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties *")] IUserDataTaskRecurrenceProperties* value); + + [VtblIndex(23)] + HRESULT get_RegenerationProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties **")] IUserDataTaskRegenerationProperties** value); + + [VtblIndex(24)] + HRESULT put_RegenerationProperties([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties *")] IUserDataTaskRegenerationProperties* value); + + [VtblIndex(25)] + HRESULT get_Reminder([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(26)] + HRESULT put_Reminder([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(27)] + HRESULT get_Sensitivity([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity *")] UserDataTaskSensitivity* value); + + [VtblIndex(28)] + HRESULT put_Sensitivity([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity")] UserDataTaskSensitivity value); + + [VtblIndex(29)] + HRESULT get_Subject(HSTRING* value); + + [VtblIndex(30)] + HRESULT put_Subject(HSTRING value); + + [VtblIndex(31)] + HRESULT get_StartDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(32)] + HRESULT put_StartDate([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ListId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RemoteId; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RemoteId; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_CompletedDate; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_CompletedDate; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Details; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Details; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DetailsKind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DetailsKind; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_DueDate; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_DueDate; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Priority; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Priority; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RecurrenceProperties; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RecurrenceProperties; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_RegenerationProperties; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_RegenerationProperties; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Reminder; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Reminder; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Sensitivity; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Sensitivity; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Subject; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Subject; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_StartDate; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_StartDate; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatch.cs new file mode 100644 index 0000000000..248352b393 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatch.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("382DA5FE-20B5-431C-8F42-A5D292EC930C")] +[NativeTypeName("struct IUserDataTaskBatch : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskBatch : IUserDataTaskBatch.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskBatch)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Tasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **")] IVectorView>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataTaskBatch*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Tasks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **")] IVectorView>** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> get_Tasks; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskList.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskList.cs new file mode 100644 index 0000000000..3600377622 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskList.cs @@ -0,0 +1,364 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("49412E39-7C1D-4DF1-BED3-314B7CBF5E4E")] +[NativeTypeName("struct IUserDataTaskList : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskList : IUserDataTaskList.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskList)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskList*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskList*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Id(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_UserDataAccountId(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_DisplayName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_DisplayName(HSTRING value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_SourceDisplayName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess *")] UserDataTaskListOtherAppReadAccess* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT put_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess")] UserDataTaskListOtherAppReadAccess value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess *")] UserDataTaskListOtherAppWriteAccess* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT put_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess")] UserDataTaskListOtherAppWriteAccess value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_LimitedWriteOperations([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations **")] IUserDataTaskListLimitedWriteOperations** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_SyncManager([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager **")] IUserDataTaskListSyncManager** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT RegisterSyncManagerAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT GetTaskReader([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **")] IUserDataTaskReader** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[18]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT GetTaskReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions *")] IUserDataTaskQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **")] IUserDataTaskReader** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[19]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), options, value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT GetTaskAsync(HSTRING userDataTask, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **")] IAsyncOperation>** operation) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), userDataTask, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT SaveTaskAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *")] IUserDataTask* userDataTask, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** action) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), userDataTask, action); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(22)] + public HRESULT DeleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** action) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), userDataTaskId, action); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(23)] + public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[23]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), asyncAction); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(24)] + public HRESULT SaveAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IUserDataTaskList*)Unsafe.AsPointer(ref this), asyncAction); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Id(HSTRING* value); + + [VtblIndex(7)] + HRESULT get_UserDataAccountId(HSTRING* value); + + [VtblIndex(8)] + HRESULT get_DisplayName(HSTRING* value); + + [VtblIndex(9)] + HRESULT put_DisplayName(HSTRING value); + + [VtblIndex(10)] + HRESULT get_SourceDisplayName(HSTRING* value); + + [VtblIndex(11)] + HRESULT get_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess *")] UserDataTaskListOtherAppReadAccess* value); + + [VtblIndex(12)] + HRESULT put_OtherAppReadAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess")] UserDataTaskListOtherAppReadAccess value); + + [VtblIndex(13)] + HRESULT get_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess *")] UserDataTaskListOtherAppWriteAccess* value); + + [VtblIndex(14)] + HRESULT put_OtherAppWriteAccess([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess")] UserDataTaskListOtherAppWriteAccess value); + + [VtblIndex(15)] + HRESULT get_LimitedWriteOperations([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations **")] IUserDataTaskListLimitedWriteOperations** value); + + [VtblIndex(16)] + HRESULT get_SyncManager([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager **")] IUserDataTaskListSyncManager** value); + + [VtblIndex(17)] + HRESULT RegisterSyncManagerAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + + [VtblIndex(18)] + HRESULT GetTaskReader([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **")] IUserDataTaskReader** result); + + [VtblIndex(19)] + HRESULT GetTaskReaderWithOptions([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions *")] IUserDataTaskQueryOptions* options, [NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **")] IUserDataTaskReader** value); + + [VtblIndex(20)] + HRESULT GetTaskAsync(HSTRING userDataTask, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **")] IAsyncOperation>** operation); + + [VtblIndex(21)] + HRESULT SaveTaskAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *")] IUserDataTask* userDataTask, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** action); + + [VtblIndex(22)] + HRESULT DeleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** action); + + [VtblIndex(23)] + HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + + [VtblIndex(24)] + HRESULT SaveAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Id; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UserDataAccountId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DisplayName; + + [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_DisplayName; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SourceDisplayName; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherAppReadAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_OtherAppReadAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherAppWriteAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_OtherAppWriteAccess; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LimitedWriteOperations; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SyncManager; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] RegisterSyncManagerAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTaskReader; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions *, ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTaskReaderWithOptions; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTask_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetTaskAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SaveTaskAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DeleteTaskAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] DeleteAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SaveAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperations.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperations.cs new file mode 100644 index 0000000000..b00f967a50 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperations.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("7AA267F2-6078-4183-919E-4F29F19CFAE9")] +[NativeTypeName("struct IUserDataTaskListLimitedWriteOperations : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskListLimitedWriteOperations : IUserDataTaskListLimitedWriteOperations.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskListLimitedWriteOperations)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT TryCompleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), userDataTaskId, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT TryCreateOrUpdateTaskAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *")] IUserDataTask* userDataTask, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), userDataTask, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT TryDeleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), userDataTaskId, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT TrySkipOccurrenceAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IUserDataTaskListLimitedWriteOperations*)Unsafe.AsPointer(ref this), userDataTaskId, operation); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT TryCompleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); + + [VtblIndex(7)] + HRESULT TryCreateOrUpdateTaskAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *")] IUserDataTask* userDataTask, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + + [VtblIndex(8)] + HRESULT TryDeleteTaskAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + + [VtblIndex(9)] + HRESULT TrySkipOccurrenceAsync(HSTRING userDataTaskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryCompleteTaskAsync; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTask *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryCreateOrUpdateTaskAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TryDeleteTaskAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> TrySkipOccurrenceAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManager.cs new file mode 100644 index 0000000000..920537cdde --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManager.cs @@ -0,0 +1,224 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("8E591A95-1DCF-469F-93EC-BA48BB553C6B")] +[NativeTypeName("struct IUserDataTaskListSyncManager : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskListSyncManager : IUserDataTaskListSyncManager.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskListSyncManager)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus *")] UserDataTaskListSyncStatus* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus")] UserDataTaskListSyncStatus value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskListSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) + { + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), handler, token); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT remove_SyncStatusChanged(EventRegistrationToken token) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IUserDataTaskListSyncManager*)Unsafe.AsPointer(ref this), token); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(7)] + HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + + [VtblIndex(8)] + HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(9)] + HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); + + [VtblIndex(10)] + HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus *")] UserDataTaskListSyncStatus* value); + + [VtblIndex(11)] + HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus")] UserDataTaskListSyncStatus value); + + [VtblIndex(12)] + HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + + [VtblIndex(13)] + HRESULT add_SyncStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskListSyncManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); + + [VtblIndex(14)] + HRESULT remove_SyncStatusChanged(EventRegistrationToken token); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Status; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Status; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> SyncAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskListSyncManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SyncStatusChanged; + + [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] remove_SyncStatusChanged; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManager.cs new file mode 100644 index 0000000000..20f5403024 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManager.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("8451C914-E60B-48A9-9211-7FB8A56CB84C")] +[NativeTypeName("struct IUserDataTaskManager : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskManager : IUserDataTaskManager.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskManager)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType")] UserDataTaskStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskStore_t **")] IAsyncOperation>** operation) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), accessType, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskManager*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType")] UserDataTaskStoreAccessType accessType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskStore_t **")] IAsyncOperation>** operation); + + [VtblIndex(7)] + HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskStore_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; + + [NativeTypeName("HRESULT (ABI::Windows::System::IUser **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_User; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStatics.cs new file mode 100644 index 0000000000..112ebebd4f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStatics.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("B35539F8-C502-47FC-A81E-100883719D55")] +[NativeTypeName("struct IUserDataTaskManagerStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskManagerStatics : IUserDataTaskManagerStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskManagerStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetDefault([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **")] IUserDataTaskManager** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **")] IUserDataTaskManager** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskManagerStatics*)Unsafe.AsPointer(ref this), user, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetDefault([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **")] IUserDataTaskManager** result); + + [VtblIndex(7)] + HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **")] IUserDataTaskManager** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetDefault; + + [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetForUser; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptions.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptions.cs new file mode 100644 index 0000000000..1b824a3c28 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptions.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("959F27ED-909A-4D30-8C1B-331D8FE667E2")] +[NativeTypeName("struct IUserDataTaskQueryOptions : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskQueryOptions : IUserDataTaskQueryOptions.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskQueryOptions)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty *")] UserDataTaskQuerySortProperty* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty")] UserDataTaskQuerySortProperty value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind *")] UserDataTaskQueryKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind")] UserDataTaskQueryKind value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserDataTaskQueryOptions*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty *")] UserDataTaskQuerySortProperty* value); + + [VtblIndex(7)] + HRESULT put_SortProperty([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty")] UserDataTaskQuerySortProperty value); + + [VtblIndex(8)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind *")] UserDataTaskQueryKind* value); + + [VtblIndex(9)] + HRESULT put_Kind([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind")] UserDataTaskQueryKind value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_SortProperty; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_SortProperty; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Kind; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReader.cs new file mode 100644 index 0000000000..b7570c58b5 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReader.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("03E688B1-4CCF-4500-883B-E76290CFED63")] +[NativeTypeName("struct IUserDataTaskReader : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskReader : IUserDataTaskReader.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskReader)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskBatch_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataTaskReader*)Unsafe.AsPointer(ref this), result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskBatch_t **")] IAsyncOperation>** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskBatch_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> ReadBatchAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrenceProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrenceProperties.cs new file mode 100644 index 0000000000..839034343b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrenceProperties.cs @@ -0,0 +1,322 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("73DF80B0-27C6-40CE-B149-9CD41485A69E")] +[NativeTypeName("struct IUserDataTaskRecurrenceProperties : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskRecurrenceProperties : IUserDataTaskRecurrenceProperties.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskRecurrenceProperties)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit *")] UserDataTaskRecurrenceUnit* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit")] UserDataTaskRecurrenceUnit value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[9]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_Interval([NativeTypeName("INT32 *")] int* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_Interval([NativeTypeName("INT32")] int value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_DaysOfWeek([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT put_DaysOfWeek([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[15]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_WeekOfMonth([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT put_WeekOfMonth([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[17]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(18)] + public HRESULT get_Month([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(19)] + public HRESULT put_Month([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[19]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(20)] + public HRESULT get_Day([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(21)] + public HRESULT put_Day([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[21]))((IUserDataTaskRecurrenceProperties*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit *")] UserDataTaskRecurrenceUnit* value); + + [VtblIndex(7)] + HRESULT put_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit")] UserDataTaskRecurrenceUnit value); + + [VtblIndex(8)] + HRESULT get_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value); + + [VtblIndex(9)] + HRESULT put_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value); + + [VtblIndex(10)] + HRESULT get_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(11)] + HRESULT put_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(12)] + HRESULT get_Interval([NativeTypeName("INT32 *")] int* value); + + [VtblIndex(13)] + HRESULT put_Interval([NativeTypeName("INT32")] int value); + + [VtblIndex(14)] + HRESULT get_DaysOfWeek([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t **")] IReference** value); + + [VtblIndex(15)] + HRESULT put_DaysOfWeek([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t *")] IReference* value); + + [VtblIndex(16)] + HRESULT get_WeekOfMonth([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t **")] IReference** value); + + [VtblIndex(17)] + HRESULT put_WeekOfMonth([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t *")] IReference* value); + + [VtblIndex(18)] + HRESULT get_Month([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value); + + [VtblIndex(19)] + HRESULT put_Month([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value); + + [VtblIndex(20)] + HRESULT get_Day([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value); + + [VtblIndex(21)] + HRESULT put_Day([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Unit; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Unit; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Occurrences; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Occurrences; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Until; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Until; + + [NativeTypeName("HRESULT (INT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Interval; + + [NativeTypeName("HRESULT (INT32) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Interval; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_DaysOfWeek; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskDaysOfWeek_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_DaysOfWeek; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_WeekOfMonth; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskWeekOfMonth_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_WeekOfMonth; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Month; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Month; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Day; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Day; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationProperties.cs new file mode 100644 index 0000000000..d66ae8b9a8 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationProperties.cs @@ -0,0 +1,210 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("92AB0007-090E-4704-BB5C-84FC0B0D9C31")] +[NativeTypeName("struct IUserDataTaskRegenerationProperties : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskRegenerationProperties : IUserDataTaskRegenerationProperties.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskRegenerationProperties)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit *")] UserDataTaskRegenerationUnit* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT put_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit")] UserDataTaskRegenerationUnit value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[9]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value) + { + return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_Interval([NativeTypeName("INT32 *")] int* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT put_Interval([NativeTypeName("INT32")] int value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IUserDataTaskRegenerationProperties*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit *")] UserDataTaskRegenerationUnit* value); + + [VtblIndex(7)] + HRESULT put_Unit([NativeTypeName("ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit")] UserDataTaskRegenerationUnit value); + + [VtblIndex(8)] + HRESULT get_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t **")] IReference** value); + + [VtblIndex(9)] + HRESULT put_Occurrences([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_int_t *")] IReference* value); + + [VtblIndex(10)] + HRESULT get_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); + + [VtblIndex(11)] + HRESULT put_Until([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); + + [VtblIndex(12)] + HRESULT get_Interval([NativeTypeName("INT32 *")] int* value); + + [VtblIndex(13)] + HRESULT put_Interval([NativeTypeName("INT32")] int value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Unit; + + [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Unit; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Occurrences; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_int_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Occurrences; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> get_Until; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]*, int> put_Until; + + [NativeTypeName("HRESULT (INT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Interval; + + [NativeTypeName("HRESULT (INT32) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_Interval; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStore.cs new file mode 100644 index 0000000000..b2217ec9b9 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStore.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F06A9CB0-F1DB-45BA-8A62-086004C0213D")] +[NativeTypeName("struct IUserDataTaskStore : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IUserDataTaskStore : IUserDataTaskStore.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserDataTaskStore)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT CreateListAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** operation) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), name, operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT CreateListInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), name, userDataAccountId, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT FindListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>>>** operation) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), operation); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetListAsync(HSTRING taskListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** operation) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IUserDataTaskStore*)Unsafe.AsPointer(ref this), taskListId, operation); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT CreateListAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** operation); + + [VtblIndex(7)] + HRESULT CreateListInAccountAsync(HSTRING name, HSTRING userDataAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** result); + + [VtblIndex(8)] + HRESULT FindListsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>>>** operation); + + [VtblIndex(9)] + HRESULT GetListAsync(HSTRING taskListId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **")] IAsyncOperation>** operation); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateListAsync; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateListInAccountAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> FindListsAsync; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CUserDataTasks__CUserDataTaskList_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetListAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDaysOfWeek.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDaysOfWeek.cs new file mode 100644 index 0000000000..096d69cd76 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDaysOfWeek.cs @@ -0,0 +1,35 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +[NativeTypeName("unsigned int")] +public enum UserDataTaskDaysOfWeek : uint +{ + /// + UserDataTaskDaysOfWeek_None = 0, + + /// + UserDataTaskDaysOfWeek_Sunday = 0x1, + + /// + UserDataTaskDaysOfWeek_Monday = 0x2, + + /// + UserDataTaskDaysOfWeek_Tuesday = 0x4, + + /// + UserDataTaskDaysOfWeek_Wednesday = 0x8, + + /// + UserDataTaskDaysOfWeek_Thursday = 0x10, + + /// + UserDataTaskDaysOfWeek_Friday = 0x20, + + /// + UserDataTaskDaysOfWeek_Saturday = 0x40, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDetailsKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDetailsKind.cs new file mode 100644 index 0000000000..28019822f0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskDetailsKind.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskDetailsKind +{ + /// + UserDataTaskDetailsKind_PlainText = 0, + + /// + UserDataTaskDetailsKind_Html = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskKind.cs new file mode 100644 index 0000000000..0d1640db6c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskKind.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskKind +{ + /// + UserDataTaskKind_Single = 0, + + /// + UserDataTaskKind_Recurring = 1, + + /// + UserDataTaskKind_Regenerating = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppReadAccess.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppReadAccess.cs new file mode 100644 index 0000000000..0a90bdc542 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppReadAccess.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskListOtherAppReadAccess +{ + /// + UserDataTaskListOtherAppReadAccess_Full = 0, + + /// + UserDataTaskListOtherAppReadAccess_SystemOnly = 1, + + /// + UserDataTaskListOtherAppReadAccess_None = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppWriteAccess.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppWriteAccess.cs new file mode 100644 index 0000000000..1be8ab646c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListOtherAppWriteAccess.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskListOtherAppWriteAccess +{ + /// + UserDataTaskListOtherAppWriteAccess_Limited = 0, + + /// + UserDataTaskListOtherAppWriteAccess_None = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListSyncStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListSyncStatus.cs new file mode 100644 index 0000000000..c5e1385fda --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskListSyncStatus.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskListSyncStatus +{ + /// + UserDataTaskListSyncStatus_Idle = 0, + + /// + UserDataTaskListSyncStatus_Syncing = 1, + + /// + UserDataTaskListSyncStatus_UpToDate = 2, + + /// + UserDataTaskListSyncStatus_AuthenticationError = 3, + + /// + UserDataTaskListSyncStatus_PolicyError = 4, + + /// + UserDataTaskListSyncStatus_UnknownError = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskPriority.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskPriority.cs new file mode 100644 index 0000000000..94e3be69fe --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskPriority.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskPriority +{ + /// + UserDataTaskPriority_Normal = 0, + + /// + UserDataTaskPriority_Low = -1, + + /// + UserDataTaskPriority_High = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQueryKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQueryKind.cs new file mode 100644 index 0000000000..1e74faa900 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQueryKind.cs @@ -0,0 +1,19 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskQueryKind +{ + /// + UserDataTaskQueryKind_All = 0, + + /// + UserDataTaskQueryKind_Incomplete = 1, + + /// + UserDataTaskQueryKind_Complete = 2, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQuerySortProperty.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQuerySortProperty.cs new file mode 100644 index 0000000000..91909af379 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskQuerySortProperty.cs @@ -0,0 +1,13 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskQuerySortProperty +{ + /// + UserDataTaskQuerySortProperty_DueDate = 0, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRecurrenceUnit.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRecurrenceUnit.cs new file mode 100644 index 0000000000..cdcb4e4d5a --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRecurrenceUnit.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskRecurrenceUnit +{ + /// + UserDataTaskRecurrenceUnit_Daily = 0, + + /// + UserDataTaskRecurrenceUnit_Weekly = 1, + + /// + UserDataTaskRecurrenceUnit_Monthly = 2, + + /// + UserDataTaskRecurrenceUnit_MonthlyOnDay = 3, + + /// + UserDataTaskRecurrenceUnit_Yearly = 4, + + /// + UserDataTaskRecurrenceUnit_YearlyOnDay = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRegenerationUnit.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRegenerationUnit.cs new file mode 100644 index 0000000000..b00f53d729 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskRegenerationUnit.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskRegenerationUnit +{ + /// + UserDataTaskRegenerationUnit_Daily = 0, + + /// + UserDataTaskRegenerationUnit_Weekly = 1, + + /// + UserDataTaskRegenerationUnit_Monthly = 2, + + /// + UserDataTaskRegenerationUnit_Yearly = 4, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskSensitivity.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskSensitivity.cs new file mode 100644 index 0000000000..9e52e6e8f0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskSensitivity.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskSensitivity +{ + /// + UserDataTaskSensitivity_Public = 0, + + /// + UserDataTaskSensitivity_Private = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskStoreAccessType.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskStoreAccessType.cs new file mode 100644 index 0000000000..a9b5b64d1c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskStoreAccessType.cs @@ -0,0 +1,16 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskStoreAccessType +{ + /// + UserDataTaskStoreAccessType_AppTasksReadWrite = 0, + + /// + UserDataTaskStoreAccessType_AllTasksLimitedReadWrite = 1, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskWeekOfMonth.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskWeekOfMonth.cs new file mode 100644 index 0000000000..bbeb189586 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/UserDataTaskWeekOfMonth.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum UserDataTaskWeekOfMonth +{ + /// + UserDataTaskWeekOfMonth_First = 0, + + /// + UserDataTaskWeekOfMonth_Second = 1, + + /// + UserDataTaskWeekOfMonth_Third = 2, + + /// + UserDataTaskWeekOfMonth_Fourth = 3, + + /// + UserDataTaskWeekOfMonth_Last = 4, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/WinRT.cs new file mode 100644 index 0000000000..519321973d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/WinRT.cs @@ -0,0 +1,78 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTask = "Windows.ApplicationModel.UserDataTasks.IUserDataTask"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskBatch"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskList"; + + [NativeTypeName("const WCHAR[79]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskListLimitedWriteOperations"; + + [NativeTypeName("const WCHAR[68]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskListSyncManager"; + + [NativeTypeName("const WCHAR[60]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskManager"; + + [NativeTypeName("const WCHAR[67]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskManagerStatics"; + + [NativeTypeName("const WCHAR[65]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskQueryOptions"; + + [NativeTypeName("const WCHAR[59]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskReader"; + + [NativeTypeName("const WCHAR[73]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskRecurrenceProperties"; + + [NativeTypeName("const WCHAR[75]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskRegenerationProperties"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore = "Windows.ApplicationModel.UserDataTasks.IUserDataTaskStore"; + + [NativeTypeName("const WCHAR[52]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTask = "Windows.ApplicationModel.UserDataTasks.UserDataTask"; + + [NativeTypeName("const WCHAR[57]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskBatch = "Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch"; + + [NativeTypeName("const WCHAR[56]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskList = "Windows.ApplicationModel.UserDataTasks.UserDataTaskList"; + + [NativeTypeName("const WCHAR[78]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskListLimitedWriteOperations = "Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations"; + + [NativeTypeName("const WCHAR[67]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskListSyncManager = "Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager"; + + [NativeTypeName("const WCHAR[59]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskManager = "Windows.ApplicationModel.UserDataTasks.UserDataTaskManager"; + + [NativeTypeName("const WCHAR[64]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskQueryOptions = "Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions"; + + [NativeTypeName("const WCHAR[58]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskReader = "Windows.ApplicationModel.UserDataTasks.UserDataTaskReader"; + + [NativeTypeName("const WCHAR[72]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskRecurrenceProperties = "Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties"; + + [NativeTypeName("const WCHAR[74]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskRegenerationProperties = "Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties"; + + [NativeTypeName("const WCHAR[57]")] + public const string RuntimeClass_Windows_ApplicationModel_UserDataTasks_UserDataTaskStore = "Windows.ApplicationModel.UserDataTasks.UserDataTaskStore"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletBarcode.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletBarcode.cs index cb40791019..1efc6978ad 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletBarcode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletBarcode.cs @@ -94,9 +94,9 @@ public HRESULT get_Value(HSTRING* value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("IWalletBarcode is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT GetImageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation** operation) + public HRESULT GetImageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWalletBarcode*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWalletBarcode*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -111,7 +111,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(8)] [Obsolete("IWalletBarcode is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT GetImageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation** operation); + HRESULT GetImageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -145,6 +145,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **) __attribute__((stdcall))")] [Obsolete("IWalletBarcode is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetImageAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetImageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItem.cs index dee1a63507..f6b5b896dd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItem.cs @@ -490,18 +490,18 @@ public HRESULT put_RelevantDateDisplayMessage(HSTRING value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT get_TransactionHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletTransaction_t **")] IMap** value) + public HRESULT get_TransactionHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletTransaction_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[52]))((IWalletItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[52]))((IWalletItem*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT get_RelevantLocations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletRelevantLocation_t **")] IMap** value) + public HRESULT get_RelevantLocations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletRelevantLocation_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[53]))((IWalletItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[53]))((IWalletItem*)Unsafe.AsPointer(ref this), value); } /// @@ -526,18 +526,18 @@ public HRESULT put_IsMoreTransactionHistoryLaunchable([NativeTypeName("boolean") [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT get_DisplayProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletItemCustomProperty_t **")] IMap** value) + public HRESULT get_DisplayProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletItemCustomProperty_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[56]))((IWalletItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[56]))((IWalletItem*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT get_Verbs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletVerb_t **")] IMap** value) + public HRESULT get_Verbs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletVerb_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[57]))((IWalletItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[57]))((IWalletItem*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -728,11 +728,11 @@ public interface Interface : IInspectable.Interface [VtblIndex(52)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT get_TransactionHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletTransaction_t **")] IMap** value); + HRESULT get_TransactionHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletTransaction_t **")] IMap>** value); [VtblIndex(53)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT get_RelevantLocations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletRelevantLocation_t **")] IMap** value); + HRESULT get_RelevantLocations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletRelevantLocation_t **")] IMap>** value); [VtblIndex(54)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] @@ -744,11 +744,11 @@ public interface Interface : IInspectable.Interface [VtblIndex(56)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT get_DisplayProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletItemCustomProperty_t **")] IMap** value); + HRESULT get_DisplayProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletItemCustomProperty_t **")] IMap>** value); [VtblIndex(57)] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT get_Verbs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletVerb_t **")] IMap** value); + HRESULT get_Verbs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletVerb_t **")] IMap>** value); } public partial struct Vtbl @@ -958,11 +958,11 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletTransaction_t **) __attribute__((stdcall))")] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_TransactionHistory; + public delegate* unmanaged[MemberFunction]>**, int> get_TransactionHistory; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletRelevantLocation_t **) __attribute__((stdcall))")] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_RelevantLocations; + public delegate* unmanaged[MemberFunction]>**, int> get_RelevantLocations; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] @@ -974,10 +974,10 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletItemCustomProperty_t **) __attribute__((stdcall))")] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_DisplayProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_DisplayProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CApplicationModel__CWallet__CWalletVerb_t **) __attribute__((stdcall))")] [Obsolete("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_Verbs; + public delegate* unmanaged[MemberFunction]>**, int> get_Verbs; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore.cs index a232432785..8dcfd63cc0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore.cs @@ -94,36 +94,36 @@ public HRESULT ClearAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActio [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT GetWalletItemAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation) + public HRESULT GetWalletItemAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWalletItemStore*)Unsafe.AsPointer(ref this), id, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWalletItemStore*)Unsafe.AsPointer(ref this), id, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT GetItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWalletItemStore*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IWalletItemStore*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT GetItemsWithKindAsync([NativeTypeName("ABI::Windows::ApplicationModel::Wallet::WalletItemKind")] WalletItemKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsWithKindAsync([NativeTypeName("ABI::Windows::ApplicationModel::Wallet::WalletItemKind")] WalletItemKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IWalletItemStore*)Unsafe.AsPointer(ref this), kind, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IWalletItemStore*)Unsafe.AsPointer(ref this), kind, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT ImportItemAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation) + public HRESULT ImportItemAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IWalletItemStore*)Unsafe.AsPointer(ref this), stream, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IWalletItemStore*)Unsafe.AsPointer(ref this), stream, operation); } /// @@ -174,19 +174,19 @@ public interface Interface : IInspectable.Interface [VtblIndex(8)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT GetWalletItemAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation); + HRESULT GetWalletItemAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>** operation); [VtblIndex(9)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT GetItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT GetItemsWithKindAsync([NativeTypeName("ABI::Windows::ApplicationModel::Wallet::WalletItemKind")] WalletItemKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsWithKindAsync([NativeTypeName("ABI::Windows::ApplicationModel::Wallet::WalletItemKind")] WalletItemKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>>>** operation); [VtblIndex(11)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT ImportItemAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation** operation); + HRESULT ImportItemAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **")] IAsyncOperation>** operation); [VtblIndex(12)] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] @@ -236,19 +236,19 @@ public partial struct Vtbl [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **) __attribute__((stdcall))")] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetWalletItemAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetWalletItemAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **) __attribute__((stdcall))")] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Wallet::WalletItemKind, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CWallet__CWalletItem_t **) __attribute__((stdcall))")] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsWithKindAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsWithKindAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItem_t **) __attribute__((stdcall))")] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> ImportItemAsync; + public delegate* unmanaged[MemberFunction]>**, int> ImportItemAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] [Obsolete("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore2.cs index f62b2be973..e2d361e41f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletItemStore2.cs @@ -76,9 +76,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("IWalletItemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT add_ItemsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CWallet__CWalletItemStore_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ItemsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CWallet__CWalletItemStore_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWalletItemStore2*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWalletItemStore2*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -94,7 +94,7 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("IWalletItemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT add_ItemsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CWallet__CWalletItemStore_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ItemsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CWallet__CWalletItemStore_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] [Obsolete("IWalletItemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")] @@ -124,7 +124,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CWallet__CWalletItemStore_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("IWalletItemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ItemsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ItemsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("IWalletItemStore2 is deprecated and might not work on all platforms. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletManagerStatics.cs index 3d10e2fb5c..5b5e3b6b75 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.wallet/IWalletManagerStatics.cs @@ -76,16 +76,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItemStore_t **")] IAsyncOperation** operation) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItemStore_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWalletManagerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWalletManagerStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItemStore_t **")] IAsyncOperation** operation); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItemStore_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -111,6 +111,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CWallet__CWalletItemStore_t **) __attribute__((stdcall))")] [Obsolete("IWalletManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs index 62cec08621..6576d4c75a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs @@ -154,33 +154,33 @@ public HRESULT get_PausedUntil([NativeTypeName("ABI::Windows::Foundation::__FIRe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT get_UpdateUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value) + public HRESULT get_UpdateUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT get_RepairUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value) + public HRESULT get_RepairUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT get_DependencyPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value) + public HRESULT get_DependencyPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT get_OptionalPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value) + public HRESULT get_OptionalPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); } /// @@ -224,16 +224,16 @@ public interface Interface : IInspectable.Interface HRESULT get_PausedUntil([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); [VtblIndex(16)] - HRESULT get_UpdateUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value); + HRESULT get_UpdateUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value); [VtblIndex(17)] - HRESULT get_RepairUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value); + HRESULT get_RepairUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value); [VtblIndex(18)] - HRESULT get_DependencyPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value); + HRESULT get_DependencyPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value); [VtblIndex(19)] - HRESULT get_OptionalPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value); + HRESULT get_OptionalPackageUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value); [VtblIndex(20)] HRESULT get_PolicySource([NativeTypeName("ABI::Windows::ApplicationModel::AppInstallerPolicySource *")] AppInstallerPolicySource* value); @@ -291,16 +291,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PausedUntil; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_UpdateUris; + public delegate* unmanaged[MemberFunction]>**, int> get_UpdateUris; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_RepairUris; + public delegate* unmanaged[MemberFunction]>**, int> get_RepairUris; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DependencyPackageUris; + public delegate* unmanaged[MemberFunction]>**, int> get_DependencyPackageUris; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_OptionalPackageUris; + public delegate* unmanaged[MemberFunction]>**, int> get_OptionalPackageUris; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::AppInstallerPolicySource *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PolicySource; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstanceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstanceStatics.cs index bd4ff7eb6d..9da951b3b1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstanceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstanceStatics.cs @@ -106,9 +106,9 @@ public HRESULT Unregister() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetInstances([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppInstance_t **")] IVector** result) + public HRESULT GetInstances([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppInstance_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppInstanceStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IAppInstanceStatics*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT Unregister(); [VtblIndex(10)] - HRESULT GetInstances([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppInstance_t **")] IVector** result); + HRESULT GetInstances([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppInstance_t **")] IVector>** result); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Unregister; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CAppInstance_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetInstances; + public delegate* unmanaged[MemberFunction]>**, int> GetInstances; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IFullTrustProcessLauncherStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IFullTrustProcessLauncherStatics2.cs index feaf9b6e90..a27939d54b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IFullTrustProcessLauncherStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IFullTrustProcessLauncherStatics2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFullTrustProcessLauncherStatics2*)Unsafe.AsPointer(ref this), commandLine, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFullTrustProcessLauncherStatics2*)Unsafe.AsPointer(ref this), commandLine, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT LaunchFullTrustProcessForAppWithArgumentsAsync(HSTRING fullTrustPackageRelativeAppId, HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchFullTrustProcessForAppWithArgumentsAsync(HSTRING fullTrustPackageRelativeAppId, HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFullTrustProcessLauncherStatics2*)Unsafe.AsPointer(ref this), fullTrustPackageRelativeAppId, commandLine, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IFullTrustProcessLauncherStatics2*)Unsafe.AsPointer(ref this), fullTrustPackageRelativeAppId, commandLine, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation** operation); + HRESULT LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT LaunchFullTrustProcessForAppWithArgumentsAsync(HSTRING fullTrustPackageRelativeAppId, HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation** operation); + HRESULT LaunchFullTrustProcessForAppWithArgumentsAsync(HSTRING fullTrustPackageRelativeAppId, HSTRING commandLine, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchFullTrustProcessForCurrentAppWithArgumentsAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchFullTrustProcessForCurrentAppWithArgumentsAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CFullTrustProcessLaunchResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchFullTrustProcessForAppWithArgumentsAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchFullTrustProcessForAppWithArgumentsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage.cs index cdf908ff91..0ee1369f11 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage.cs @@ -98,9 +98,9 @@ public HRESULT get_IsFramework([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Dependencies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value) + public HRESULT get_Dependencies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPackage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IPackage*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsFramework([NativeTypeName("boolean *")] byte* value); [VtblIndex(9)] - HRESULT get_Dependencies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value); + HRESULT get_Dependencies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsFramework; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Dependencies; + public delegate* unmanaged[MemberFunction]>**, int> get_Dependencies; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs index b6d4098d9e..a1bafada74 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs @@ -90,9 +90,9 @@ public HRESULT get_InstalledDate([NativeTypeName("ABI::Windows::Foundation::Date /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAppListEntriesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IAsyncOperation** operation) + public HRESULT GetAppListEntriesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPackage3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IPackage3*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_InstalledDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT GetAppListEntriesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IAsyncOperation** operation); + HRESULT GetAppListEntriesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_InstalledDate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppListEntriesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetAppListEntriesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage5.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage5.cs index 36452b83f4..9772379cc7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage5.cs @@ -74,33 +74,33 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation) + public HRESULT GetContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPackage5*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IPackage5*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetContentGroupAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation) + public HRESULT GetContentGroupAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPackage5*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPackage5*)Unsafe.AsPointer(ref this), name, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT StageContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation) + public HRESULT StageContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[8]))((IPackage5*)Unsafe.AsPointer(ref this), names, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int>)(lpVtbl[8]))((IPackage5*)Unsafe.AsPointer(ref this), names, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT StageContentGroupsWithPriorityAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("boolean")] byte moveToHeadOfQueue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation) + public HRESULT StageContentGroupsWithPriorityAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("boolean")] byte moveToHeadOfQueue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]*, byte, IAsyncOperation**, int>)(lpVtbl[9]))((IPackage5*)Unsafe.AsPointer(ref this), names, moveToHeadOfQueue, operation); + return ((delegate* unmanaged[MemberFunction]*, byte, IAsyncOperation>>>**, int>)(lpVtbl[9]))((IPackage5*)Unsafe.AsPointer(ref this), names, moveToHeadOfQueue, operation); } /// @@ -114,16 +114,16 @@ public HRESULT SetInUseAsync([NativeTypeName("boolean")] byte inUse, [NativeType public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation); + HRESULT GetContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetContentGroupAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation); + HRESULT GetContentGroupAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT StageContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation); + HRESULT StageContentGroupsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation); [VtblIndex(9)] - HRESULT StageContentGroupsWithPriorityAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("boolean")] byte moveToHeadOfQueue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation** operation); + HRESULT StageContentGroupsWithPriorityAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* names, [NativeTypeName("boolean")] byte moveToHeadOfQueue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] HRESULT SetInUseAsync([NativeTypeName("boolean")] byte inUse, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -151,16 +151,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContentGroupsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetContentGroupsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageContentGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetContentGroupAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetContentGroupAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> StageContentGroupsAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int> StageContentGroupsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, boolean, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CApplicationModel__CPackageContentGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, byte, IAsyncOperation**, int> StageContentGroupsWithPriorityAsync; + public delegate* unmanaged[MemberFunction]*, byte, IAsyncOperation>>>**, int> StageContentGroupsWithPriorityAsync; [NativeTypeName("HRESULT (boolean, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> SetInUseAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage6.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage6.cs index 5187cf1055..a71ba06b71 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage6.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage6.cs @@ -82,9 +82,9 @@ public HRESULT GetAppInstallerInfo([NativeTypeName("ABI::Windows::ApplicationMod /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CheckUpdateAvailabilityAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageUpdateAvailabilityResult_t **")] IAsyncOperation** operation) + public HRESULT CheckUpdateAvailabilityAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageUpdateAvailabilityResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPackage6*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPackage6*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetAppInstallerInfo([NativeTypeName("ABI::Windows::ApplicationModel::IAppInstallerInfo **")] IAppInstallerInfo** value); [VtblIndex(7)] - HRESULT CheckUpdateAvailabilityAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageUpdateAvailabilityResult_t **")] IAsyncOperation** operation); + HRESULT CheckUpdateAvailabilityAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageUpdateAvailabilityResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetAppInstallerInfo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageUpdateAvailabilityResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CheckUpdateAvailabilityAsync; + public delegate* unmanaged[MemberFunction]>**, int> CheckUpdateAvailabilityAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage8.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage8.cs index 6bc256f7e4..b6d08cb3f1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage8.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage8.cs @@ -154,9 +154,9 @@ public HRESULT GetLogoAsRandomAccessStreamReference([NativeTypeName("ABI::Window /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetAppListEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IVectorView** result) + public HRESULT GetAppListEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IPackage8*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IPackage8*)Unsafe.AsPointer(ref this), result); } /// @@ -200,7 +200,7 @@ public interface Interface : IInspectable.Interface HRESULT GetLogoAsRandomAccessStreamReference([NativeTypeName("ABI::Windows::Foundation::Size")] Size size, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference **")] IRandomAccessStreamReference** result); [VtblIndex(16)] - HRESULT GetAppListEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IVectorView** result); + HRESULT GetAppListEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **")] IVectorView>** result); [VtblIndex(17)] HRESULT get_IsStub([NativeTypeName("boolean *")] byte* value); @@ -258,7 +258,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetLogoAsRandomAccessStreamReference; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CCore__CAppListEntry_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppListEntries; + public delegate* unmanaged[MemberFunction]>**, int> GetAppListEntries; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IsStub; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage9.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage9.cs index a88d99c839..b9400d8ee9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage9.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage9.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindRelatedPackages([NativeTypeName("ABI::Windows::ApplicationModel::IFindRelatedPackagesOptions *")] IFindRelatedPackagesOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CPackage_t **")] IVector** result) + public HRESULT FindRelatedPackages([NativeTypeName("ABI::Windows::ApplicationModel::IFindRelatedPackagesOptions *")] IFindRelatedPackagesOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CPackage_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPackage9*)Unsafe.AsPointer(ref this), options, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPackage9*)Unsafe.AsPointer(ref this), options, result); } /// @@ -90,7 +90,7 @@ public HRESULT get_SourceUriSchemeName(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindRelatedPackages([NativeTypeName("ABI::Windows::ApplicationModel::IFindRelatedPackagesOptions *")] IFindRelatedPackagesOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CPackage_t **")] IVector** result); + HRESULT FindRelatedPackages([NativeTypeName("ABI::Windows::ApplicationModel::IFindRelatedPackagesOptions *")] IFindRelatedPackagesOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CPackage_t **")] IVector>** result); [VtblIndex(7)] HRESULT get_SourceUriSchemeName(HSTRING* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::IFindRelatedPackagesOptions *, ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CApplicationModel__CPackage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindRelatedPackages; + public delegate* unmanaged[MemberFunction]>**, int> FindRelatedPackages; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SourceUriSchemeName; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog.cs index 5cea598570..fdf594ee31 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PackageStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStagingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStagingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_PackageStaging(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_PackageInstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageInstallingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageInstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageInstallingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_PackageInstalling(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_PackageUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_PackageUpdating(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_PackageUninstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUninstallingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageUninstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUninstallingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_PackageUninstalling(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_PackageStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IPackageCatalog*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -154,31 +154,31 @@ public HRESULT remove_PackageStatusChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PackageStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStagingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStagingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PackageStaging(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_PackageInstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageInstallingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageInstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageInstallingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_PackageInstalling(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_PackageUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_PackageUpdating(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_PackageUninstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUninstallingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageUninstalling([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUninstallingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_PackageUninstalling(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_PackageStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_PackageStatusChanged(EventRegistrationToken token); @@ -206,31 +206,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStagingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageStaging; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageStaging; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageStaging; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageInstallingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageInstalling; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageInstalling; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageInstalling; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUpdatingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageUpdating; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageUpdating; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageUpdating; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageUninstallingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageUninstalling; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageUninstalling; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageUninstalling; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog2.cs index 10c44d9ce4..52d96c4079 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PackageContentGroupStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageContentGroupStagingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PackageContentGroupStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageContentGroupStagingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPackageCatalog2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPackageCatalog2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,21 +90,21 @@ public HRESULT remove_PackageContentGroupStaging(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT AddOptionalPackageAsync(HSTRING optionalPackageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogAddOptionalPackageResult_t **")] IAsyncOperation** operation) + public HRESULT AddOptionalPackageAsync(HSTRING optionalPackageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogAddOptionalPackageResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPackageCatalog2*)Unsafe.AsPointer(ref this), optionalPackageFamilyName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IPackageCatalog2*)Unsafe.AsPointer(ref this), optionalPackageFamilyName, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PackageContentGroupStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageContentGroupStagingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PackageContentGroupStaging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageContentGroupStagingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PackageContentGroupStaging(EventRegistrationToken token); [VtblIndex(8)] - HRESULT AddOptionalPackageAsync(HSTRING optionalPackageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogAddOptionalPackageResult_t **")] IAsyncOperation** operation); + HRESULT AddOptionalPackageAsync(HSTRING optionalPackageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogAddOptionalPackageResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CApplicationModel__CPackageCatalog_Windows__CApplicationModel__CPackageContentGroupStagingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PackageContentGroupStaging; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PackageContentGroupStaging; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PackageContentGroupStaging; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogAddOptionalPackageResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AddOptionalPackageAsync; + public delegate* unmanaged[MemberFunction]>**, int> AddOptionalPackageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog3.cs index 2249bbbec0..30714e160b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RemoveOptionalPackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* optionalPackageFamilyNames, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveOptionalPackagesResult_t **")] IAsyncOperation** operation) + public HRESULT RemoveOptionalPackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* optionalPackageFamilyNames, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveOptionalPackagesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((IPackageCatalog3*)Unsafe.AsPointer(ref this), optionalPackageFamilyNames, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[6]))((IPackageCatalog3*)Unsafe.AsPointer(ref this), optionalPackageFamilyNames, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RemoveOptionalPackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* optionalPackageFamilyNames, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveOptionalPackagesResult_t **")] IAsyncOperation** operation); + HRESULT RemoveOptionalPackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* optionalPackageFamilyNames, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveOptionalPackagesResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveOptionalPackagesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RemoveOptionalPackagesAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> RemoveOptionalPackagesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog4.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog4.cs index 77dcbdff77..69bdf27e6e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalog4.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AddResourcePackageAsync(HSTRING resourcePackageFamilyName, HSTRING resourceID, [NativeTypeName("ABI::Windows::ApplicationModel::AddResourcePackageOptions")] AddResourcePackageOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CApplicationModel__CPackageCatalogAddResourcePackageResult_Windows__CApplicationModel__CPackageInstallProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT AddResourcePackageAsync(HSTRING resourcePackageFamilyName, HSTRING resourceID, [NativeTypeName("ABI::Windows::ApplicationModel::AddResourcePackageOptions")] AddResourcePackageOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CApplicationModel__CPackageCatalogAddResourcePackageResult_Windows__CApplicationModel__CPackageInstallProgress_t **")] IAsyncOperationWithProgress, PackageInstallProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPackageCatalog4*)Unsafe.AsPointer(ref this), resourcePackageFamilyName, resourceID, options, operation); + return ((delegate* unmanaged[MemberFunction], PackageInstallProgress>**, int>)(lpVtbl[6]))((IPackageCatalog4*)Unsafe.AsPointer(ref this), resourcePackageFamilyName, resourceID, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RemoveResourcePackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CPackage_t *")] IIterable* resourcePackages, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveResourcePackagesResult_t **")] IAsyncOperation** operation) + public HRESULT RemoveResourcePackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CPackage_t *")] IIterable>* resourcePackages, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveResourcePackagesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[7]))((IPackageCatalog4*)Unsafe.AsPointer(ref this), resourcePackages, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[7]))((IPackageCatalog4*)Unsafe.AsPointer(ref this), resourcePackages, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AddResourcePackageAsync(HSTRING resourcePackageFamilyName, HSTRING resourceID, [NativeTypeName("ABI::Windows::ApplicationModel::AddResourcePackageOptions")] AddResourcePackageOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CApplicationModel__CPackageCatalogAddResourcePackageResult_Windows__CApplicationModel__CPackageInstallProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT AddResourcePackageAsync(HSTRING resourcePackageFamilyName, HSTRING resourceID, [NativeTypeName("ABI::Windows::ApplicationModel::AddResourcePackageOptions")] AddResourcePackageOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CApplicationModel__CPackageCatalogAddResourcePackageResult_Windows__CApplicationModel__CPackageInstallProgress_t **")] IAsyncOperationWithProgress, PackageInstallProgress>** operation); [VtblIndex(7)] - HRESULT RemoveResourcePackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CPackage_t *")] IIterable* resourcePackages, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveResourcePackagesResult_t **")] IAsyncOperation** operation); + HRESULT RemoveResourcePackagesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CPackage_t *")] IIterable>* resourcePackages, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveResourcePackagesResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::ApplicationModel::AddResourcePackageOptions, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CApplicationModel__CPackageCatalogAddResourcePackageResult_Windows__CApplicationModel__CPackageInstallProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AddResourcePackageAsync; + public delegate* unmanaged[MemberFunction], PackageInstallProgress>**, int> AddResourcePackageAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CApplicationModel__CPackage_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CPackageCatalogRemoveResourcePackagesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RemoveResourcePackagesAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> RemoveResourcePackagesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveOptionalPackagesResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveOptionalPackagesResult.cs index daf117521c..fb830f8132 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveOptionalPackagesResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveOptionalPackagesResult.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value) + public HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPackageCatalogRemoveOptionalPackagesResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPackageCatalogRemoveOptionalPackagesResult*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_ExtendedError(HRESULT* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value); + HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_ExtendedError(HRESULT* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PackagesRemoved; + public delegate* unmanaged[MemberFunction]>**, int> get_PackagesRemoved; [NativeTypeName("HRESULT (HRESULT *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ExtendedError; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveResourcePackagesResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveResourcePackagesResult.cs index 77582c7398..5fdaceccf2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveResourcePackagesResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageCatalogRemoveResourcePackagesResult.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value) + public HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPackageCatalogRemoveResourcePackagesResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPackageCatalogRemoveResourcePackagesResult*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_ExtendedError(HRESULT* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView** value); + HRESULT get_PackagesRemoved([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_ExtendedError(HRESULT* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CApplicationModel__CPackage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PackagesRemoved; + public delegate* unmanaged[MemberFunction]>**, int> get_PackagesRemoved; [NativeTypeName("HRESULT (HRESULT *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ExtendedError; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IStartupTaskStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IStartupTaskStatics.cs index fd8de51045..47fa72a1b4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IStartupTaskStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IStartupTaskStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetForCurrentPackageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation** operation) + public HRESULT GetForCurrentPackageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStartupTaskStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStartupTaskStatics*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetAsync(HSTRING taskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation** operation) + public HRESULT GetAsync(HSTRING taskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStartupTaskStatics*)Unsafe.AsPointer(ref this), taskId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IStartupTaskStatics*)Unsafe.AsPointer(ref this), taskId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetForCurrentPackageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation** operation); + HRESULT GetForCurrentPackageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetAsync(HSTRING taskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation** operation); + HRESULT GetAsync(HSTRING taskId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CStartupTask_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CStartupTask_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetForCurrentPackageAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetForCurrentPackageAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CStartupTask_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IID.Manual.cs new file mode 100644 index 0000000000..4895524474 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IID.Manual.cs @@ -0,0 +1,221 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IJsonArray + { + get + { + ReadOnlySpan data = [ + 0xB6, 0xDD, 0xC1, 0x08, + 0xBD, 0x0C, + 0x9A, 0x4A, + 0xB5, + 0xD3, + 0x2F, + 0x85, + 0x2D, + 0xC3, + 0x7E, + 0x81 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonArrayStatics + { + get + { + ReadOnlySpan data = [ + 0xA9, 0x34, 0x14, 0xDB, + 0x64, 0xE1, + 0x9F, 0x49, + 0x93, + 0xE2, + 0x8A, + 0x8F, + 0x49, + 0xBB, + 0x90, + 0xBA + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonErrorStatics2 + { + get + { + ReadOnlySpan data = [ + 0xDA, 0x30, 0x40, 0x40, + 0xD0, 0x87, + 0x6C, 0x43, + 0x83, + 0xAB, + 0xFC, + 0x7B, + 0x12, + 0xC0, + 0xCC, + 0x26 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonObject + { + get + { + ReadOnlySpan data = [ + 0xDD, 0x24, 0x4E, 0x06, + 0xC2, 0x29, + 0x83, 0x4F, + 0x9A, + 0xC1, + 0x9E, + 0xE1, + 0x15, + 0x78, + 0xBE, + 0xB3 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonObjectStatics + { + get + { + ReadOnlySpan data = [ + 0x59, 0xF1, 0x89, 0x22, + 0xDE, 0x54, + 0xD8, 0x45, + 0xAB, + 0xCC, + 0x22, + 0x60, + 0x3F, + 0xA0, + 0x66, + 0xA0 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonObjectWithDefaultValues + { + get + { + ReadOnlySpan data = [ + 0xA2, 0xD2, 0x60, 0xD9, + 0xF0, 0xB7, + 0x00, 0x4F, + 0x8E, + 0x44, + 0xD8, + 0x2C, + 0xF4, + 0x15, + 0xEA, + 0x13 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonValue + { + get + { + ReadOnlySpan data = [ + 0xCB, 0x9E, 0x21, 0xA3, + 0xB3, 0xF0, + 0xCD, 0x4D, + 0xBE, + 0xEE, + 0x19, + 0xD4, + 0x8C, + 0xD3, + 0xED, + 0x1E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonValueStatics + { + get + { + ReadOnlySpan data = [ + 0x4A, 0x54, 0x6B, 0x5F, + 0x53, 0x2F, + 0xE1, 0x48, + 0x91, + 0xA3, + 0xF7, + 0x8B, + 0x50, + 0xA6, + 0x34, + 0x5C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IJsonValueStatics2 + { + get + { + ReadOnlySpan data = [ + 0xE4, 0xCB, 0x9E, 0x1D, + 0xE8, 0x3F, + 0x35, 0x43, + 0x83, + 0x92, + 0x93, + 0xD8, + 0xE3, + 0x68, + 0x65, + 0xF0 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArray.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArray.cs new file mode 100644 index 0000000000..f968a869b1 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArray.cs @@ -0,0 +1,168 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("08C1DDB6-0CBD-4A9A-B5D3-2F852DC37E81")] +[NativeTypeName("struct IJsonArray : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonArray : IJsonArray.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonArray)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonArray*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonArray*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonArray*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonArray*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonArray*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonArray*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetObjectAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonArray*)Unsafe.AsPointer(ref this), index, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetArrayAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonArray*)Unsafe.AsPointer(ref this), index, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetStringAt([NativeTypeName("UINT32")] uint index, HSTRING* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IJsonArray*)Unsafe.AsPointer(ref this), index, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetNumberAt([NativeTypeName("UINT32")] uint index, double* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IJsonArray*)Unsafe.AsPointer(ref this), index, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT GetBooleanAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IJsonArray*)Unsafe.AsPointer(ref this), index, returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetObjectAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue); + + [VtblIndex(7)] + HRESULT GetArrayAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue); + + [VtblIndex(8)] + HRESULT GetStringAt([NativeTypeName("UINT32")] uint index, HSTRING* returnValue); + + [VtblIndex(9)] + HRESULT GetNumberAt([NativeTypeName("UINT32")] uint index, double* returnValue); + + [VtblIndex(10)] + HRESULT GetBooleanAt([NativeTypeName("UINT32")] uint index, [NativeTypeName("boolean *")] byte* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT32, ABI::Windows::Data::Json::IJsonObject **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetObjectAt; + + [NativeTypeName("HRESULT (UINT32, ABI::Windows::Data::Json::IJsonArray **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetArrayAt; + + [NativeTypeName("HRESULT (UINT32, HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetStringAt; + + [NativeTypeName("HRESULT (UINT32, DOUBLE *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNumberAt; + + [NativeTypeName("HRESULT (UINT32, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetBooleanAt; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStatics.cs new file mode 100644 index 0000000000..cf6a8917d7 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStatics.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("DB1434A9-E164-499F-93E2-8A8F49BB90BA")] +[NativeTypeName("struct IJsonArrayStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonArrayStatics : IJsonArrayStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonArrayStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** jsonArray) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), input, jsonArray); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** result, [NativeTypeName("boolean *")] byte* succeeded) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonArrayStatics*)Unsafe.AsPointer(ref this), input, result, succeeded); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** jsonArray); + + [VtblIndex(7)] + HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** result, [NativeTypeName("boolean *")] byte* succeeded); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonArray **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Parse; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonArray **, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] TryParse; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2.cs new file mode 100644 index 0000000000..f7d1e1506e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("404030DA-87D0-436C-83AB-FC7B12C0CC26")] +[NativeTypeName("struct IJsonErrorStatics2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonErrorStatics2 : IJsonErrorStatics2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonErrorStatics2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetJsonStatus([NativeTypeName("INT32")] int hresult, [NativeTypeName("ABI::Windows::Data::Json::JsonErrorStatus *")] JsonErrorStatus* status) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonErrorStatics2*)Unsafe.AsPointer(ref this), hresult, status); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetJsonStatus([NativeTypeName("INT32")] int hresult, [NativeTypeName("ABI::Windows::Data::Json::JsonErrorStatus *")] JsonErrorStatus* status); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (INT32, ABI::Windows::Data::Json::JsonErrorStatus *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetJsonStatus; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObject.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObject.cs new file mode 100644 index 0000000000..1fe87f6d8b --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObject.cs @@ -0,0 +1,196 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("064E24DD-29C2-4F83-9AC1-9EE11578BEB3")] +[NativeTypeName("struct IJsonObject : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonObject : IJsonObject.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonObject)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonObject*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonObject*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonObject*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonObject*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonObject*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonObject*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetNamedValue(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT SetNamedValue(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue *")] IJsonValue* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonObject*)Unsafe.AsPointer(ref this), name, value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetNamedObject(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetNamedArray(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT GetNamedString(HSTRING name, HSTRING* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT GetNamedNumber(HSTRING name, double* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT GetNamedBoolean(HSTRING name, [NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IJsonObject*)Unsafe.AsPointer(ref this), name, returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetNamedValue(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** returnValue); + + [VtblIndex(7)] + HRESULT SetNamedValue(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue *")] IJsonValue* value); + + [VtblIndex(8)] + HRESULT GetNamedObject(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue); + + [VtblIndex(9)] + HRESULT GetNamedArray(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue); + + [VtblIndex(10)] + HRESULT GetNamedString(HSTRING name, HSTRING* returnValue); + + [VtblIndex(11)] + HRESULT GetNamedNumber(HSTRING name, double* returnValue); + + [VtblIndex(12)] + HRESULT GetNamedBoolean(HSTRING name, [NativeTypeName("boolean *")] byte* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedValue; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] SetNamedValue; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonObject **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedObject; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonArray **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedArray; + + [NativeTypeName("HRESULT (HSTRING, HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedString; + + [NativeTypeName("HRESULT (HSTRING, DOUBLE *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedNumber; + + [NativeTypeName("HRESULT (HSTRING, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedBoolean; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStatics.cs new file mode 100644 index 0000000000..05f745459f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStatics.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("2289F159-54DE-45D8-ABCC-22603FA066A0")] +[NativeTypeName("struct IJsonObjectStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonObjectStatics : IJsonObjectStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonObjectStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** jsonObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), input, jsonObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** result, [NativeTypeName("boolean *")] byte* succeeded) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonObjectStatics*)Unsafe.AsPointer(ref this), input, result, succeeded); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** jsonObject); + + [VtblIndex(7)] + HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** result, [NativeTypeName("boolean *")] byte* succeeded); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonObject **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Parse; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonObject **, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] TryParse; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValues.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValues.cs new file mode 100644 index 0000000000..4c439fcfc5 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValues.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("D960D2A2-B7F0-4F00-8E44-D82CF415EA13")] +[NativeTypeName("struct IJsonObjectWithDefaultValues : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonObjectWithDefaultValues : IJsonObjectWithDefaultValues.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonObjectWithDefaultValues)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetNamedValueOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue *")] IJsonValue* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetNamedObjectOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject *")] IJsonObject* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetNamedStringOrDefault(HSTRING name, HSTRING defaultValue, HSTRING* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetNamedArrayOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray *")] IJsonArray* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT GetNamedNumberOrDefault(HSTRING name, double defaultValue, double* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT GetNamedBooleanOrDefault(HSTRING name, [NativeTypeName("boolean")] byte defaultValue, [NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IJsonObjectWithDefaultValues*)Unsafe.AsPointer(ref this), name, defaultValue, returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetNamedValueOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue *")] IJsonValue* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** returnValue); + + [VtblIndex(7)] + HRESULT GetNamedObjectOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject *")] IJsonObject* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue); + + [VtblIndex(8)] + HRESULT GetNamedStringOrDefault(HSTRING name, HSTRING defaultValue, HSTRING* returnValue); + + [VtblIndex(9)] + HRESULT GetNamedArrayOrDefault(HSTRING name, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray *")] IJsonArray* defaultValue, [NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue); + + [VtblIndex(10)] + HRESULT GetNamedNumberOrDefault(HSTRING name, double defaultValue, double* returnValue); + + [VtblIndex(11)] + HRESULT GetNamedBooleanOrDefault(HSTRING name, [NativeTypeName("boolean")] byte defaultValue, [NativeTypeName("boolean *")] byte* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue *, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedValueOrDefault; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonObject *, ABI::Windows::Data::Json::IJsonObject **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedObjectOrDefault; + + [NativeTypeName("HRESULT (HSTRING, HSTRING, HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedStringOrDefault; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonArray *, ABI::Windows::Data::Json::IJsonArray **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedArrayOrDefault; + + [NativeTypeName("HRESULT (HSTRING, DOUBLE, DOUBLE *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedNumberOrDefault; + + [NativeTypeName("HRESULT (HSTRING, boolean, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNamedBooleanOrDefault; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValue.cs new file mode 100644 index 0000000000..891b960760 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValue.cs @@ -0,0 +1,196 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A3219ECB-F0B3-4DCD-BEEE-19D48CD3ED1E")] +[NativeTypeName("struct IJsonValue : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonValue : IJsonValue.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonValue)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonValue*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonValue*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonValue*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonValue*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonValue*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonValue*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ValueType([NativeTypeName("ABI::Windows::Data::Json::JsonValueType *")] JsonValueType* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonValue*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT Stringify(HSTRING* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT GetString(HSTRING* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT GetNumber(double* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT GetBoolean([NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT GetArray([NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT GetObjectW([NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IJsonValue*)Unsafe.AsPointer(ref this), returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ValueType([NativeTypeName("ABI::Windows::Data::Json::JsonValueType *")] JsonValueType* value); + + [VtblIndex(7)] + HRESULT Stringify(HSTRING* returnValue); + + [VtblIndex(8)] + HRESULT GetString(HSTRING* returnValue); + + [VtblIndex(9)] + HRESULT GetNumber(double* returnValue); + + [VtblIndex(10)] + HRESULT GetBoolean([NativeTypeName("boolean *")] byte* returnValue); + + [VtblIndex(11)] + HRESULT GetArray([NativeTypeName("ABI::Windows::Data::Json::IJsonArray **")] IJsonArray** returnValue); + + [VtblIndex(12)] + HRESULT GetObjectW([NativeTypeName("ABI::Windows::Data::Json::IJsonObject **")] IJsonObject** returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Data::Json::JsonValueType *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ValueType; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Stringify; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetString; + + [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetNumber; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetBoolean; + + [NativeTypeName("HRESULT (ABI::Windows::Data::Json::IJsonArray **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetArray; + + [NativeTypeName("HRESULT (ABI::Windows::Data::Json::IJsonObject **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetObjectW; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics.cs new file mode 100644 index 0000000000..5cad91c582 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics.cs @@ -0,0 +1,168 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5F6B544A-2F53-48E1-91A3-F78B50A6345C")] +[NativeTypeName("struct IJsonValueStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonValueStatics : IJsonValueStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonValueStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonValueStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonValueStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), input, jsonValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** result, [NativeTypeName("boolean *")] byte* succeeded) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), input, result, succeeded); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT CreateBooleanValue([NativeTypeName("boolean")] byte input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), input, jsonValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT CreateNumberValue(double input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), input, jsonValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT CreateStringValue(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IJsonValueStatics*)Unsafe.AsPointer(ref this), input, jsonValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT Parse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue); + + [VtblIndex(7)] + HRESULT TryParse(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** result, [NativeTypeName("boolean *")] byte* succeeded); + + [VtblIndex(8)] + HRESULT CreateBooleanValue([NativeTypeName("boolean")] byte input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue); + + [VtblIndex(9)] + HRESULT CreateNumberValue(double input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue); + + [VtblIndex(10)] + HRESULT CreateStringValue(HSTRING input, [NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Parse; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue **, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] TryParse; + + [NativeTypeName("HRESULT (boolean, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateBooleanValue; + + [NativeTypeName("HRESULT (DOUBLE, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateNumberValue; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateStringValue; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2.cs new file mode 100644 index 0000000000..afd5cf71a4 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("1D9ECBE4-3FE8-4335-8392-93D8E36865F0")] +[NativeTypeName("struct IJsonValueStatics2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IJsonValueStatics2 : IJsonValueStatics2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IJsonValueStatics2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT CreateNullValue([NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IJsonValueStatics2*)Unsafe.AsPointer(ref this), jsonValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT CreateNullValue([NativeTypeName("ABI::Windows::Data::Json::IJsonValue **")] IJsonValue** jsonValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Data::Json::IJsonValue **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] CreateNullValue; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonErrorStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonErrorStatus.cs new file mode 100644 index 0000000000..0040c91d65 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonErrorStatus.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum JsonErrorStatus +{ + /// + JsonErrorStatus_Unknown = 0, + + /// + JsonErrorStatus_InvalidJsonString = 1, + + /// + JsonErrorStatus_InvalidJsonNumber = 2, + + /// + JsonErrorStatus_JsonValueNotFound = 3, + + /// + JsonErrorStatus_ImplementationLimit = 4, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonValueType.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonValueType.cs new file mode 100644 index 0000000000..b52066d60e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/JsonValueType.cs @@ -0,0 +1,28 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum JsonValueType +{ + /// + JsonValueType_Null = 0, + + /// + JsonValueType_Boolean = 1, + + /// + JsonValueType_Number = 2, + + /// + JsonValueType_String = 3, + + /// + JsonValueType_Array = 4, + + /// + JsonValueType_Object = 5, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.json/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.json/WinRT.cs new file mode 100644 index 0000000000..3db11d803a --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.json/WinRT.cs @@ -0,0 +1,48 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[29]")] + public const string InterfaceName_Windows_Data_Json_IJsonArray = "Windows.Data.Json.IJsonArray"; + + [NativeTypeName("const WCHAR[36]")] + public const string InterfaceName_Windows_Data_Json_IJsonArrayStatics = "Windows.Data.Json.IJsonArrayStatics"; + + [NativeTypeName("const WCHAR[37]")] + public const string InterfaceName_Windows_Data_Json_IJsonErrorStatics2 = "Windows.Data.Json.IJsonErrorStatics2"; + + [NativeTypeName("const WCHAR[30]")] + public const string InterfaceName_Windows_Data_Json_IJsonObject = "Windows.Data.Json.IJsonObject"; + + [NativeTypeName("const WCHAR[37]")] + public const string InterfaceName_Windows_Data_Json_IJsonObjectStatics = "Windows.Data.Json.IJsonObjectStatics"; + + [NativeTypeName("const WCHAR[47]")] + public const string InterfaceName_Windows_Data_Json_IJsonObjectWithDefaultValues = "Windows.Data.Json.IJsonObjectWithDefaultValues"; + + [NativeTypeName("const WCHAR[29]")] + public const string InterfaceName_Windows_Data_Json_IJsonValue = "Windows.Data.Json.IJsonValue"; + + [NativeTypeName("const WCHAR[36]")] + public const string InterfaceName_Windows_Data_Json_IJsonValueStatics = "Windows.Data.Json.IJsonValueStatics"; + + [NativeTypeName("const WCHAR[37]")] + public const string InterfaceName_Windows_Data_Json_IJsonValueStatics2 = "Windows.Data.Json.IJsonValueStatics2"; + + [NativeTypeName("const WCHAR[28]")] + public const string RuntimeClass_Windows_Data_Json_JsonArray = "Windows.Data.Json.JsonArray"; + + [NativeTypeName("const WCHAR[28]")] + public const string RuntimeClass_Windows_Data_Json_JsonError = "Windows.Data.Json.JsonError"; + + [NativeTypeName("const WCHAR[29]")] + public const string RuntimeClass_Windows_Data_Json_JsonObject = "Windows.Data.Json.JsonObject"; + + [NativeTypeName("const WCHAR[28]")] + public const string RuntimeClass_Windows_Data_Json_JsonValue = "Windows.Data.Json.JsonValue"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordSegmentsTokenizingHandler.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordSegmentsTokenizingHandler.cs index 6744f36b46..5cbd00ad50 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordSegmentsTokenizingHandler.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordSegmentsTokenizingHandler.cs @@ -50,15 +50,15 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable* words) + public HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable>* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable>* words) { - return ((delegate* unmanaged[MemberFunction]*, IIterable*, int>)(lpVtbl[3]))((ISelectableWordSegmentsTokenizingHandler*)Unsafe.AsPointer(ref this), precedingWords, words); + return ((delegate* unmanaged[MemberFunction]>*, IIterable>*, int>)(lpVtbl[3]))((ISelectableWordSegmentsTokenizingHandler*)Unsafe.AsPointer(ref this), precedingWords, words); } public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable* words); + HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable>* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *")] IIterable>* words); } public partial struct Vtbl @@ -74,6 +74,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Release; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CSelectableWordSegment_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIterable*, int> Invoke; + public delegate* unmanaged[MemberFunction]>*, IIterable>*, int> Invoke; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordsSegmenter.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordsSegmenter.cs index 188b5549fa..c7cf8d72fe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordsSegmenter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ISelectableWordsSegmenter.cs @@ -90,9 +90,9 @@ public HRESULT GetTokenAt(HSTRING text, [NativeTypeName("UINT32")] uint startInd /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CSelectableWordSegment_t **")] IVectorView** result) + public HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CSelectableWordSegment_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISelectableWordsSegmenter*)Unsafe.AsPointer(ref this), text, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISelectableWordsSegmenter*)Unsafe.AsPointer(ref this), text, result); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT GetTokenAt(HSTRING text, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("ABI::Windows::Data::Text::ISelectableWordSegment **")] ISelectableWordSegment** result); [VtblIndex(8)] - HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CSelectableWordSegment_t **")] IVectorView** result); + HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CSelectableWordSegment_t **")] IVectorView>** result); [VtblIndex(9)] HRESULT Tokenize(HSTRING text, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("ABI::Windows::Data::Text::ISelectableWordSegmentsTokenizingHandler *")] ISelectableWordSegmentsTokenizingHandler* handler); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTokenAt; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CSelectableWordSegment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTokens; + public delegate* unmanaged[MemberFunction]>**, int> GetTokens; [NativeTypeName("HRESULT (HSTRING, UINT32, ABI::Windows::Data::Text::ISelectableWordSegmentsTokenizingHandler *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Tokenize; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextConversionGenerator.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextConversionGenerator.cs index 3eec85f2d4..76b9d6c889 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextConversionGenerator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextConversionGenerator.cs @@ -90,17 +90,17 @@ public HRESULT get_LanguageAvailableButNotInstalled([NativeTypeName("boolean *") /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ITextConversionGenerator*)Unsafe.AsPointer(ref this), input, result); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[8]))((ITextConversionGenerator*)Unsafe.AsPointer(ref this), input, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ITextConversionGenerator*)Unsafe.AsPointer(ref this), input, maxCandidates, result); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[9]))((ITextConversionGenerator*)Unsafe.AsPointer(ref this), input, maxCandidates, result); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_LanguageAvailableButNotInstalled([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); [VtblIndex(9)] - HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_LanguageAvailableButNotInstalled; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCandidatesAsync; + public delegate* unmanaged[MemberFunction]>>**, int> GetCandidatesAsync; [NativeTypeName("HRESULT (HSTRING, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCandidatesWithMaxCountAsync; + public delegate* unmanaged[MemberFunction]>>**, int> GetCandidatesWithMaxCountAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator.cs index c178491c22..963da835ef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator.cs @@ -90,17 +90,17 @@ public HRESULT get_LanguageAvailableButNotInstalled([NativeTypeName("boolean *") /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ITextPredictionGenerator*)Unsafe.AsPointer(ref this), input, result); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[8]))((ITextPredictionGenerator*)Unsafe.AsPointer(ref this), input, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ITextPredictionGenerator*)Unsafe.AsPointer(ref this), input, maxCandidates, result); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[9]))((ITextPredictionGenerator*)Unsafe.AsPointer(ref this), input, maxCandidates, result); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_LanguageAvailableButNotInstalled([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetCandidatesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); [VtblIndex(9)] - HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetCandidatesWithMaxCountAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_LanguageAvailableButNotInstalled; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCandidatesAsync; + public delegate* unmanaged[MemberFunction]>>**, int> GetCandidatesAsync; [NativeTypeName("HRESULT (HSTRING, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCandidatesWithMaxCountAsync; + public delegate* unmanaged[MemberFunction]>>**, int> GetCandidatesWithMaxCountAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator2.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator2.cs index 009bfdeee5..62b559b1cf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextPredictionGenerator2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCandidatesWithParametersAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Data::Text::TextPredictionOptions")] TextPredictionOptions predictionOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetCandidatesWithParametersAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Data::Text::TextPredictionOptions")] TextPredictionOptions predictionOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((ITextPredictionGenerator2*)Unsafe.AsPointer(ref this), input, maxCandidates, predictionOptions, previousStrings, result); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>**, int>)(lpVtbl[6]))((ITextPredictionGenerator2*)Unsafe.AsPointer(ref this), input, maxCandidates, predictionOptions, previousStrings, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetNextWordCandidatesAsync([NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT GetNextWordCandidatesAsync([NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[7]))((ITextPredictionGenerator2*)Unsafe.AsPointer(ref this), maxCandidates, previousStrings, result); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>**, int>)(lpVtbl[7]))((ITextPredictionGenerator2*)Unsafe.AsPointer(ref this), maxCandidates, previousStrings, result); } /// @@ -106,10 +106,10 @@ public HRESULT put_InputScope([NativeTypeName("ABI::Windows::UI::Text::Core::Cor public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCandidatesWithParametersAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Data::Text::TextPredictionOptions")] TextPredictionOptions predictionOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetCandidatesWithParametersAsync(HSTRING input, [NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Data::Text::TextPredictionOptions")] TextPredictionOptions predictionOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); [VtblIndex(7)] - HRESULT GetNextWordCandidatesAsync([NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT GetNextWordCandidatesAsync([NativeTypeName("UINT32")] uint maxCandidates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* previousStrings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **")] IAsyncOperation>>** result); [VtblIndex(8)] HRESULT get_InputScope([NativeTypeName("ABI::Windows::UI::Text::Core::CoreTextInputScope *")] CoreTextInputScope* value); @@ -140,10 +140,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, UINT32, ABI::Windows::Data::Text::TextPredictionOptions, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> GetCandidatesWithParametersAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>**, int> GetCandidatesWithParametersAsync; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> GetNextWordCandidatesAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>**, int> GetNextWordCandidatesAsync; [NativeTypeName("HRESULT (ABI::Windows::UI::Text::Core::CoreTextInputScope *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_InputScope; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextReverseConversionGenerator2.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextReverseConversionGenerator2.cs index adc369280f..a3e43c4f95 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextReverseConversionGenerator2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/ITextReverseConversionGenerator2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetPhonemesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CData__CText__CTextPhoneme_t **")] IAsyncOperation** result) + public HRESULT GetPhonemesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CData__CText__CTextPhoneme_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ITextReverseConversionGenerator2*)Unsafe.AsPointer(ref this), input, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ITextReverseConversionGenerator2*)Unsafe.AsPointer(ref this), input, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetPhonemesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CData__CText__CTextPhoneme_t **")] IAsyncOperation** result); + HRESULT GetPhonemesAsync(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CData__CText__CTextPhoneme_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CData__CText__CTextPhoneme_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPhonemesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetPhonemesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegment.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegment.cs index b968eae39b..15cecab3a0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegment.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegment.cs @@ -90,9 +90,9 @@ public HRESULT get_SourceTextSegment([NativeTypeName("ABI::Windows::Data::Text:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_AlternateForms([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CAlternateWordForm_t **")] IVectorView** value) + public HRESULT get_AlternateForms([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CAlternateWordForm_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWordSegment*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWordSegment*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SourceTextSegment([NativeTypeName("ABI::Windows::Data::Text::TextSegment *")] TextSegment* value); [VtblIndex(8)] - HRESULT get_AlternateForms([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CAlternateWordForm_t **")] IVectorView** value); + HRESULT get_AlternateForms([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CAlternateWordForm_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SourceTextSegment; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CAlternateWordForm_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AlternateForms; + public delegate* unmanaged[MemberFunction]>**, int> get_AlternateForms; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegmentsTokenizingHandler.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegmentsTokenizingHandler.cs index 8920440780..1cf29b1d50 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegmentsTokenizingHandler.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordSegmentsTokenizingHandler.cs @@ -50,15 +50,15 @@ public uint Release() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable* words) + public HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable>* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable>* words) { - return ((delegate* unmanaged[MemberFunction]*, IIterable*, int>)(lpVtbl[3]))((IWordSegmentsTokenizingHandler*)Unsafe.AsPointer(ref this), precedingWords, words); + return ((delegate* unmanaged[MemberFunction]>*, IIterable>*, int>)(lpVtbl[3]))((IWordSegmentsTokenizingHandler*)Unsafe.AsPointer(ref this), precedingWords, words); } public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable* words); + HRESULT Invoke([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable>* precedingWords, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *")] IIterable>* words); } public partial struct Vtbl @@ -74,6 +74,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Release; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CData__CText__CWordSegment_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIterable*, int> Invoke; + public delegate* unmanaged[MemberFunction]>*, IIterable>*, int> Invoke; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordsSegmenter.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordsSegmenter.cs index b92efd7e6d..18e60d4122 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordsSegmenter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.text/IWordsSegmenter.cs @@ -90,9 +90,9 @@ public HRESULT GetTokenAt(HSTRING text, [NativeTypeName("UINT32")] uint startInd /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CWordSegment_t **")] IVectorView** result) + public HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CWordSegment_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWordsSegmenter*)Unsafe.AsPointer(ref this), text, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWordsSegmenter*)Unsafe.AsPointer(ref this), text, result); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT GetTokenAt(HSTRING text, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("ABI::Windows::Data::Text::IWordSegment **")] IWordSegment** result); [VtblIndex(8)] - HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CWordSegment_t **")] IVectorView** result); + HRESULT GetTokens(HSTRING text, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CWordSegment_t **")] IVectorView>** result); [VtblIndex(9)] HRESULT Tokenize(HSTRING text, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("ABI::Windows::Data::Text::IWordSegmentsTokenizingHandler *")] IWordSegmentsTokenizingHandler* handler); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTokenAt; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CData__CText__CWordSegment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTokens; + public delegate* unmanaged[MemberFunction]>**, int> GetTokens; [NativeTypeName("HRESULT (HSTRING, UINT32, ABI::Windows::Data::Text::IWordSegmentsTokenizingHandler *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Tokenize; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.data.xml.dom/IXmlDocumentStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.data.xml.dom/IXmlDocumentStatics.cs index c6191a5196..39f0154aeb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.data.xml.dom/IXmlDocumentStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.data.xml.dom/IXmlDocumentStatics.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT LoadFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo) + public HRESULT LoadFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), uri, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), uri, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT LoadFromUriWithSettingsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo) + public HRESULT LoadFromUriWithSettingsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), uri, loadSettings, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), uri, loadSettings, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT LoadFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo) + public HRESULT LoadFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), file, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), file, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT LoadFromFileWithSettingsAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo) + public HRESULT LoadFromFileWithSettingsAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), file, loadSettings, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IXmlDocumentStatics*)Unsafe.AsPointer(ref this), file, loadSettings, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT LoadFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo); + HRESULT LoadFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(7)] - HRESULT LoadFromUriWithSettingsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo); + HRESULT LoadFromUriWithSettingsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(8)] - HRESULT LoadFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo); + HRESULT LoadFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(9)] - HRESULT LoadFromFileWithSettingsAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation** asyncInfo); + HRESULT LoadFromFileWithSettingsAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *")] IXmlLoadSettings* loadSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFromUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFromUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFromUriWithSettingsAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFromUriWithSettingsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFromFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFromFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Data::Xml::Dom::IXmlLoadSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CData__CXml__CDom__CXmlDocument_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFromFileWithSettingsAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFromFileWithSettingsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc.provider/IAdcProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc.provider/IAdcProvider.cs index de4be1670b..ce002080aa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc.provider/IAdcProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc.provider/IAdcProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CAdc__CProvider__CIAdcControllerProvider_t **")] IVectorView** result) + public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CAdc__CProvider__CIAdcControllerProvider_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAdcProvider*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAdcProvider*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CAdc__CProvider__CIAdcControllerProvider_t **")] IVectorView** result); + HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CAdc__CProvider__CIAdcControllerProvider_t **")] IVectorView>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CAdc__CProvider__CIAdcControllerProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllers; + public delegate* unmanaged[MemberFunction]>**, int> GetControllers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics.cs index c8b5cd77c5..c794d0150b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Adc::Provider::IAdcProvider *")] IAdcProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Adc::Provider::IAdcProvider *")] IAdcProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAdcControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IAdcControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Adc::Provider::IAdcProvider *")] IAdcProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Adc::Provider::IAdcProvider *")] IAdcProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Adc::Provider::IAdcProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CAdc__CAdcController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics2.cs index 0448f8937f..22f759d94e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.adc/IAdcControllerStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAdcControllerStatics2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAdcControllerStatics2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CAdc__CAdcController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CAdc__CAdcController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisement.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisement.cs index 65bcfd9027..01cdf2b62a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisement.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisement.cs @@ -114,33 +114,33 @@ public HRESULT get_ServiceUuids([NativeTypeName("ABI::Windows::Foundation::Colle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_ManufacturerData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVector** value) + public HRESULT get_ManufacturerData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_DataSections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVector** value) + public HRESULT get_DataSections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetManufacturerDataByCompanyId([NativeTypeName("UINT16")] ushort companyId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVectorView** dataList) + public HRESULT GetManufacturerDataByCompanyId([NativeTypeName("UINT16")] ushort companyId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVectorView>** dataList) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), companyId, dataList); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), companyId, dataList); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetSectionsByType(byte type, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVectorView** sectionList) + public HRESULT GetSectionsByType(byte type, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVectorView>** sectionList) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), type, sectionList); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IBluetoothLEAdvertisement*)Unsafe.AsPointer(ref this), type, sectionList); } public interface Interface : IInspectable.Interface @@ -161,16 +161,16 @@ public interface Interface : IInspectable.Interface HRESULT get_ServiceUuids([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_GUID_t **")] IVector** value); [VtblIndex(11)] - HRESULT get_ManufacturerData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVector** value); + HRESULT get_ManufacturerData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVector>** value); [VtblIndex(12)] - HRESULT get_DataSections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVector** value); + HRESULT get_DataSections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVector>** value); [VtblIndex(13)] - HRESULT GetManufacturerDataByCompanyId([NativeTypeName("UINT16")] ushort companyId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVectorView** dataList); + HRESULT GetManufacturerDataByCompanyId([NativeTypeName("UINT16")] ushort companyId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **")] IVectorView>** dataList); [VtblIndex(14)] - HRESULT GetSectionsByType(byte type, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVectorView** sectionList); + HRESULT GetSectionsByType(byte type, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **")] IVectorView>** sectionList); } public partial struct Vtbl @@ -210,15 +210,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ServiceUuids; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ManufacturerData; + public delegate* unmanaged[MemberFunction]>**, int> get_ManufacturerData; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DataSections; + public delegate* unmanaged[MemberFunction]>**, int> get_DataSections; [NativeTypeName("HRESULT (UINT16, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEManufacturerData_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetManufacturerDataByCompanyId; + public delegate* unmanaged[MemberFunction]>**, int> GetManufacturerDataByCompanyId; [NativeTypeName("HRESULT (BYTE, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementDataSection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSectionsByType; + public delegate* unmanaged[MemberFunction]>**, int> GetSectionsByType; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementFilter.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementFilter.cs index 76d3b3b7af..95038aa0fb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementFilter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementFilter.cs @@ -90,9 +90,9 @@ public HRESULT put_Advertisement([NativeTypeName("ABI::Windows::Devices::Bluetoo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_BytePatterns([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementBytePattern_t **")] IVector** value) + public HRESULT get_BytePatterns([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementBytePattern_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothLEAdvertisementFilter*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothLEAdvertisementFilter*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Advertisement([NativeTypeName("ABI::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement *")] IBluetoothLEAdvertisement* value); [VtblIndex(8)] - HRESULT get_BytePatterns([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementBytePattern_t **")] IVector** value); + HRESULT get_BytePatterns([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementBytePattern_t **")] IVector>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Advertisement; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementBytePattern_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_BytePatterns; + public delegate* unmanaged[MemberFunction]>**, int> get_BytePatterns; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementPublisher.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementPublisher.cs index 0730a0f45c..6552143fac 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementPublisher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementPublisher.cs @@ -106,9 +106,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisherStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisherStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IBluetoothLEAdvertisementPublisher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IBluetoothLEAdvertisementPublisher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(10)] - HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisherStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisherStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_StatusChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementPublisherStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementWatcher.cs index c439bc15d8..da413ce09a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementWatcher.cs @@ -178,9 +178,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_Received([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Received([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IBluetoothLEAdvertisementWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IBluetoothLEAdvertisementWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -194,9 +194,9 @@ public HRESULT remove_Received(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcherStoppedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcherStoppedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[21]))((IBluetoothLEAdvertisementWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[21]))((IBluetoothLEAdvertisementWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -249,13 +249,13 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(19)] - HRESULT add_Received([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Received([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_Received(EventRegistrationToken token); [VtblIndex(21)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcherStoppedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcherStoppedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(22)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -322,13 +322,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Received; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Received; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Received; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcher_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementWatcherStoppedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IBluetoothLEAdvertisementWatcherTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IBluetoothLEAdvertisementWatcherTriggerDetails.cs index 8f3f329f1b..da206e6599 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IBluetoothLEAdvertisementWatcherTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IBluetoothLEAdvertisementWatcherTriggerDetails.cs @@ -82,9 +82,9 @@ public HRESULT get_Error([NativeTypeName("ABI::Windows::Devices::Bluetooth::Blue /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Advertisements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t **")] IVectorView** value) + public HRESULT get_Advertisements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBluetoothLEAdvertisementWatcherTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBluetoothLEAdvertisementWatcherTriggerDetails*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Error([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothError *")] BluetoothError* value); [VtblIndex(7)] - HRESULT get_Advertisements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t **")] IVectorView** value); + HRESULT get_Advertisements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_SignalStrengthFilter([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter **")] IBluetoothSignalStrengthFilter** value); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Error; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CAdvertisement__CBluetoothLEAdvertisementReceivedEventArgs_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Advertisements; + public delegate* unmanaged[MemberFunction]>**, int> get_Advertisements; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SignalStrengthFilter; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattCharacteristicNotificationTriggerDetails2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattCharacteristicNotificationTriggerDetails2.cs index b2b957d7f4..45e35f7a09 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattCharacteristicNotificationTriggerDetails2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattCharacteristicNotificationTriggerDetails2.cs @@ -90,9 +90,9 @@ public HRESULT get_EventTriggeringMode([NativeTypeName("ABI::Windows::Devices::B /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_ValueChangedEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t **")] IVectorView** value) + public HRESULT get_ValueChangedEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattCharacteristicNotificationTriggerDetails2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattCharacteristicNotificationTriggerDetails2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_EventTriggeringMode([NativeTypeName("ABI::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode *")] BluetoothEventTriggeringMode* value); [VtblIndex(8)] - HRESULT get_ValueChangedEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t **")] IVectorView** value); + HRESULT get_ValueChangedEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_EventTriggeringMode; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ValueChangedEvents; + public delegate* unmanaged[MemberFunction]>**, int> get_ValueChangedEvents; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattServiceProviderConnectionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattServiceProviderConnectionStatics.cs index 91b44e8698..70f8e69c6b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattServiceProviderConnectionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.background/IGattServiceProviderConnectionStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AllServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CBluetooth__CBackground__CGattServiceProviderConnection_t **")] IMapView** value) + public HRESULT get_AllServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CBluetooth__CBackground__CGattServiceProviderConnection_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattServiceProviderConnectionStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattServiceProviderConnectionStatics*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AllServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CBluetooth__CBackground__CGattServiceProviderConnection_t **")] IMapView** value); + HRESULT get_AllServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CBluetooth__CBackground__CGattServiceProviderConnection_t **")] IMapView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CBluetooth__CBackground__CGattServiceProviderConnection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllServices; + public delegate* unmanaged[MemberFunction]>**, int> get_AllServices; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic.cs index 8a453ddc2c..f6ce9810d1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic.cs @@ -75,9 +75,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("Use GetDescriptorsForUuidAsync instead of GetDescriptors. For more information, see MSDN.")] - public HRESULT GetDescriptors(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** value) + public HRESULT GetDescriptors(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), descriptorUuid, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), descriptorUuid, value); } /// @@ -131,25 +131,25 @@ public HRESULT get_AttributeHandle([NativeTypeName("UINT16 *")] ushort* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView** value) + public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value) + public HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value) + public HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), cacheMode, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), cacheMode, value); } /// @@ -171,9 +171,9 @@ public HRESULT WriteValueWithOptionAsync([NativeTypeName("ABI::Windows::Storage: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT ReadClientCharacteristicConfigurationDescriptorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadClientCharacteristicConfigurationDescriptorResult_t **")] IAsyncOperation** asyncOp) + public HRESULT ReadClientCharacteristicConfigurationDescriptorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadClientCharacteristicConfigurationDescriptorResult_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), asyncOp); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), asyncOp); } /// @@ -187,9 +187,9 @@ public HRESULT WriteClientCharacteristicConfigurationDescriptorAsync([NativeType /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t *")] ITypedEventHandler* valueChangedHandler, EventRegistrationToken* valueChangedEventCookie) + public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* valueChangedHandler, EventRegistrationToken* valueChangedEventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), valueChangedHandler, valueChangedEventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IGattCharacteristic*)Unsafe.AsPointer(ref this), valueChangedHandler, valueChangedEventCookie); } /// @@ -204,7 +204,7 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("Use GetDescriptorsForUuidAsync instead of GetDescriptors. For more information, see MSDN.")] - HRESULT GetDescriptors(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** value); + HRESULT GetDescriptors(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_CharacteristicProperties([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties *")] GattCharacteristicProperties* value); @@ -225,13 +225,13 @@ public interface Interface : IInspectable.Interface HRESULT get_AttributeHandle([NativeTypeName("UINT16 *")] ushort* value); [VtblIndex(13)] - HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView** value); + HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView>** value); [VtblIndex(14)] - HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value); + HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value); [VtblIndex(15)] - HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value); + HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value); [VtblIndex(16)] HRESULT WriteValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **")] IAsyncOperation** asyncOp); @@ -240,13 +240,13 @@ public interface Interface : IInspectable.Interface HRESULT WriteValueWithOptionAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption")] GattWriteOption writeOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **")] IAsyncOperation** asyncOp); [VtblIndex(18)] - HRESULT ReadClientCharacteristicConfigurationDescriptorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadClientCharacteristicConfigurationDescriptorResult_t **")] IAsyncOperation** asyncOp); + HRESULT ReadClientCharacteristicConfigurationDescriptorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadClientCharacteristicConfigurationDescriptorResult_t **")] IAsyncOperation>** asyncOp); [VtblIndex(19)] HRESULT WriteClientCharacteristicConfigurationDescriptorAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue")] GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **")] IAsyncOperation** asyncOp); [VtblIndex(20)] - HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t *")] ITypedEventHandler* valueChangedHandler, EventRegistrationToken* valueChangedEventCookie); + HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* valueChangedHandler, EventRegistrationToken* valueChangedEventCookie); [VtblIndex(21)] HRESULT remove_ValueChanged(EventRegistrationToken valueChangedEventCookie); @@ -275,7 +275,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **) __attribute__((stdcall))")] [Obsolete("Use GetDescriptorsForUuidAsync instead of GetDescriptors. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetDescriptors; + public delegate* unmanaged[MemberFunction]>**, int> GetDescriptors; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CharacteristicProperties; @@ -296,13 +296,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AttributeHandle; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PresentationFormats; + public delegate* unmanaged[MemberFunction]>**, int> get_PresentationFormats; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadValueAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadValueAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadValueWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadValueWithCacheModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> WriteValueAsync; @@ -311,13 +311,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> WriteValueWithOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadClientCharacteristicConfigurationDescriptorResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadClientCharacteristicConfigurationDescriptorAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadClientCharacteristicConfigurationDescriptorAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> WriteClientCharacteristicConfigurationDescriptorAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattValueChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ValueChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ValueChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ValueChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic2.cs index 009f739813..0c4c1ebd07 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic2.cs @@ -83,9 +83,9 @@ public HRESULT get_Service([NativeTypeName("ABI::Windows::Devices::Bluetooth::Ge [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("Use GetDescriptorsAsync instead of GetAllDescriptors. For more information, see MSDN.")] - public HRESULT GetAllDescriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** descriptors) + public HRESULT GetAllDescriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** descriptors) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGattCharacteristic2*)Unsafe.AsPointer(ref this), descriptors); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGattCharacteristic2*)Unsafe.AsPointer(ref this), descriptors); } public interface Interface : IInspectable.Interface @@ -95,7 +95,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(7)] [Obsolete("Use GetDescriptorsAsync instead of GetAllDescriptors. For more information, see MSDN.")] - HRESULT GetAllDescriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** descriptors); + HRESULT GetAllDescriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** descriptors); } public partial struct Vtbl @@ -124,6 +124,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **) __attribute__((stdcall))")] [Obsolete("Use GetDescriptorsAsync instead of GetAllDescriptors. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetAllDescriptors; + public delegate* unmanaged[MemberFunction]>**, int> GetAllDescriptors; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic3.cs index 57a317f8d3..c4b88399f9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristic3.cs @@ -74,81 +74,81 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDescriptorsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation) + public HRESULT GetDescriptorsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDescriptorsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation) + public HRESULT GetDescriptorsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetDescriptorsForUuidAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation) + public HRESULT GetDescriptorsForUuidAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), descriptorUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), descriptorUuid, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetDescriptorsForUuidWithCacheModeAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation) + public HRESULT GetDescriptorsForUuidWithCacheModeAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), descriptorUuid, cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), descriptorUuid, cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation) + public HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), value, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), value, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT WriteValueWithResultAndOptionAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption")] GattWriteOption writeOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation) + public HRESULT WriteValueWithResultAndOptionAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption")] GattWriteOption writeOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), value, writeOption, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), value, writeOption, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT WriteClientCharacteristicConfigurationDescriptorWithResultAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue")] GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation) + public HRESULT WriteClientCharacteristicConfigurationDescriptorWithResultAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue")] GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), clientCharacteristicConfigurationDescriptorValue, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IGattCharacteristic3*)Unsafe.AsPointer(ref this), clientCharacteristicConfigurationDescriptorValue, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDescriptorsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation); + HRESULT GetDescriptorsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetDescriptorsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation); + HRESULT GetDescriptorsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT GetDescriptorsForUuidAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation); + HRESULT GetDescriptorsForUuidAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT GetDescriptorsForUuidWithCacheModeAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation** operation); + HRESULT GetDescriptorsForUuidWithCacheModeAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation); + HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT WriteValueWithResultAndOptionAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption")] GattWriteOption writeOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation); + HRESULT WriteValueWithResultAndOptionAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption")] GattWriteOption writeOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT WriteClientCharacteristicConfigurationDescriptorWithResultAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue")] GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation); + HRESULT WriteClientCharacteristicConfigurationDescriptorWithResultAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue")] GattClientCharacteristicConfigurationDescriptorValue clientCharacteristicConfigurationDescriptorValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -173,24 +173,24 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDescriptorsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDescriptorsAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDescriptorsWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDescriptorsWithCacheModeAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDescriptorsForUuidAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDescriptorsForUuidAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptorsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDescriptorsForUuidWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDescriptorsForUuidWithCacheModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> WriteValueWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> WriteValueWithResultAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> WriteValueWithResultAndOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> WriteValueWithResultAndOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> WriteClientCharacteristicConfigurationDescriptorWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> WriteClientCharacteristicConfigurationDescriptorWithResultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristicsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristicsResult.cs index 81d4536fc4..ea28c140c0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristicsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattCharacteristicsResult.cs @@ -90,9 +90,9 @@ public HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** value) + public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattCharacteristicsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattCharacteristicsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_byte_t **")] IReference** value); [VtblIndex(8)] - HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** value); + HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ProtocolError; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Characteristics; + public delegate* unmanaged[MemberFunction]>**, int> get_Characteristics; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor.cs index 9ec82b621a..d1d0551d34 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor.cs @@ -106,17 +106,17 @@ public HRESULT get_AttributeHandle([NativeTypeName("UINT16 *")] ushort* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value) + public HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IGattDescriptor*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IGattDescriptor*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value) + public HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IGattDescriptor*)Unsafe.AsPointer(ref this), cacheMode, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IGattDescriptor*)Unsafe.AsPointer(ref this), cacheMode, value); } /// @@ -142,10 +142,10 @@ public interface Interface : IInspectable.Interface HRESULT get_AttributeHandle([NativeTypeName("UINT16 *")] ushort* value); [VtblIndex(10)] - HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value); + HRESULT ReadValueAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value); [VtblIndex(11)] - HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation** value); + HRESULT ReadValueWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **")] IAsyncOperation>** value); [VtblIndex(12)] HRESULT WriteValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **")] IAsyncOperation** action); @@ -185,10 +185,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AttributeHandle; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadValueAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadValueAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadValueWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadValueWithCacheModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCommunicationStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> WriteValueAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor2.cs index dc827d5fc3..61c97df28a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptor2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation) + public HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattDescriptor2*)Unsafe.AsPointer(ref this), value, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattDescriptor2*)Unsafe.AsPointer(ref this), value, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation); + HRESULT WriteValueWithResultAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> WriteValueWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> WriteValueWithResultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptorsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptorsResult.cs index ab1722f0a7..5b59cb79c8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptorsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDescriptorsResult.cs @@ -90,9 +90,9 @@ public HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** value) + public HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattDescriptorsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattDescriptorsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_byte_t **")] IReference** value); [VtblIndex(8)] - HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView** value); + HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ProtocolError; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDescriptor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Descriptors; + public delegate* unmanaged[MemberFunction]>**, int> get_Descriptors; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService.cs index 1a1079e66d..16ff101d97 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService.cs @@ -75,18 +75,18 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("Use GetCharacteristicsForUuidAsync instead of GetCharacteristics. For more information, see MSDN.")] - public HRESULT GetCharacteristics(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** value) + public HRESULT GetCharacteristics(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattDeviceService*)Unsafe.AsPointer(ref this), characteristicUuid, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattDeviceService*)Unsafe.AsPointer(ref this), characteristicUuid, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices. For more information, see MSDN.")] - public HRESULT GetIncludedServices(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value) + public HRESULT GetIncludedServices(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGattDeviceService*)Unsafe.AsPointer(ref this), serviceUuid, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGattDeviceService*)Unsafe.AsPointer(ref this), serviceUuid, value); } /// @@ -117,11 +117,11 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("Use GetCharacteristicsForUuidAsync instead of GetCharacteristics. For more information, see MSDN.")] - HRESULT GetCharacteristics(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** value); + HRESULT GetCharacteristics(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** value); [VtblIndex(7)] [Obsolete("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices. For more information, see MSDN.")] - HRESULT GetIncludedServices(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value); + HRESULT GetIncludedServices(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_DeviceId(HSTRING* value); @@ -156,11 +156,11 @@ public partial struct Vtbl [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **) __attribute__((stdcall))")] [Obsolete("Use GetCharacteristicsForUuidAsync instead of GetCharacteristics. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetCharacteristics; + public delegate* unmanaged[MemberFunction]>**, int> GetCharacteristics; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] [Obsolete("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetIncludedServices; + public delegate* unmanaged[MemberFunction]>**, int> GetIncludedServices; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DeviceId; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService2.cs index 6286572f2e..1e8dad777e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService2.cs @@ -84,27 +84,27 @@ public HRESULT get_Device([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBl [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("ParentServices may be altered or unavailable in future releases. For more information, see MSDN.")] - public HRESULT get_ParentServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value) + public HRESULT get_ParentServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("Use GetCharacteristicsAsync instead of GetAllCharacteristics. For more information, see MSDN.")] - public HRESULT GetAllCharacteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** characteristics) + public HRESULT GetAllCharacteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** characteristics) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), characteristics); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), characteristics); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("Use GetIncludedServicesAsync instead of GetAllIncludedServices. For more information, see MSDN.")] - public HRESULT GetAllIncludedServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** includedServices) + public HRESULT GetAllIncludedServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** includedServices) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), includedServices); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IGattDeviceService2*)Unsafe.AsPointer(ref this), includedServices); } public interface Interface : IInspectable.Interface @@ -115,15 +115,15 @@ public interface Interface : IInspectable.Interface [VtblIndex(7)] [Obsolete("ParentServices may be altered or unavailable in future releases. For more information, see MSDN.")] - HRESULT get_ParentServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value); + HRESULT get_ParentServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value); [VtblIndex(8)] [Obsolete("Use GetCharacteristicsAsync instead of GetAllCharacteristics. For more information, see MSDN.")] - HRESULT GetAllCharacteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView** characteristics); + HRESULT GetAllCharacteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **")] IVectorView>** characteristics); [VtblIndex(9)] [Obsolete("Use GetIncludedServicesAsync instead of GetAllIncludedServices. For more information, see MSDN.")] - HRESULT GetAllIncludedServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** includedServices); + HRESULT GetAllIncludedServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** includedServices); } public partial struct Vtbl @@ -153,14 +153,14 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] [Obsolete("ParentServices may be altered or unavailable in future releases. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_ParentServices; + public delegate* unmanaged[MemberFunction]>**, int> get_ParentServices; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristic_t **) __attribute__((stdcall))")] [Obsolete("Use GetCharacteristicsAsync instead of GetAllCharacteristics. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetAllCharacteristics; + public delegate* unmanaged[MemberFunction]>**, int> GetAllCharacteristics; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] [Obsolete("Use GetIncludedServicesAsync instead of GetAllIncludedServices. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> GetAllIncludedServices; + public delegate* unmanaged[MemberFunction]>**, int> GetAllIncludedServices; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService3.cs index 768ecc4e4c..3dee895d0f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceService3.cs @@ -114,65 +114,65 @@ public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Gene /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation) + public HRESULT GetCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetCharacteristicsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation) + public HRESULT GetCharacteristicsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetCharacteristicsForUuidAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation) + public HRESULT GetCharacteristicsForUuidAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), characteristicUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), characteristicUuid, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetCharacteristicsForUuidWithCacheModeAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation) + public HRESULT GetCharacteristicsForUuidWithCacheModeAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), characteristicUuid, cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), characteristicUuid, cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetIncludedServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetIncludedServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetIncludedServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetIncludedServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT GetIncludedServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetIncludedServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), serviceUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), serviceUuid, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT GetIncludedServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetIncludedServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), serviceUuid, cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IGattDeviceService3*)Unsafe.AsPointer(ref this), serviceUuid, cacheMode, operation); } public interface Interface : IInspectable.Interface @@ -193,28 +193,28 @@ public interface Interface : IInspectable.Interface HRESULT OpenAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode")] GattSharingMode sharingMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattOpenStatus_t **")] IAsyncOperation** operation); [VtblIndex(11)] - HRESULT GetCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation); + HRESULT GetCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT GetCharacteristicsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation); + HRESULT GetCharacteristicsWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation); [VtblIndex(13)] - HRESULT GetCharacteristicsForUuidAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation); + HRESULT GetCharacteristicsForUuidAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation); [VtblIndex(14)] - HRESULT GetCharacteristicsForUuidWithCacheModeAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation** operation); + HRESULT GetCharacteristicsForUuidWithCacheModeAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **")] IAsyncOperation>** operation); [VtblIndex(15)] - HRESULT GetIncludedServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetIncludedServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(16)] - HRESULT GetIncludedServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetIncludedServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(17)] - HRESULT GetIncludedServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetIncludedServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(18)] - HRESULT GetIncludedServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetIncludedServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -254,27 +254,27 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> OpenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCharacteristicsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCharacteristicsAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCharacteristicsWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCharacteristicsWithCacheModeAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCharacteristicsForUuidAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCharacteristicsForUuidAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCharacteristicsForUuidWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCharacteristicsForUuidWithCacheModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIncludedServicesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetIncludedServicesAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIncludedServicesWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetIncludedServicesWithCacheModeAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIncludedServicesForUuidAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetIncludedServicesForUuidAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIncludedServicesForUuidWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetIncludedServicesForUuidWithCacheModeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics.cs index 96da5a8857..dce72b94d5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation** asyncOp) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattDeviceServiceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattDeviceServiceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); } /// @@ -108,7 +108,7 @@ public HRESULT ConvertShortIdToUuid([NativeTypeName("UINT16")] ushort shortId, G public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation** asyncOp); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation>** asyncOp); [VtblIndex(7)] HRESULT GetDeviceSelectorFromUuid(Guid serviceUuid, HSTRING* selector); @@ -144,7 +144,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (GUID, HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelectorFromUuid; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics2.cs index f444d2ed09..29ca9167de 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServiceStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdWithSharingModeAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode")] GattSharingMode sharingMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation** operation) + public HRESULT FromIdWithSharingModeAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode")] GattSharingMode sharingMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattDeviceServiceStatics2*)Unsafe.AsPointer(ref this), deviceId, sharingMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattDeviceServiceStatics2*)Unsafe.AsPointer(ref this), deviceId, sharingMode, operation); } /// @@ -114,7 +114,7 @@ public HRESULT GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode([Native public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdWithSharingModeAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode")] GattSharingMode sharingMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation** operation); + HRESULT FromIdWithSharingModeAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode")] GattSharingMode sharingMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT GetDeviceSelectorForBluetoothDeviceId([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *")] IBluetoothDeviceId* bluetoothDeviceId, HSTRING* result); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdWithSharingModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdWithSharingModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *, HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelectorForBluetoothDeviceId; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServicesResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServicesResult.cs index ff1b7b9f66..166d72ae3b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServicesResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattDeviceServicesResult.cs @@ -90,9 +90,9 @@ public HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value) + public HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattDeviceServicesResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattDeviceServicesResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProtocolError([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_byte_t **")] IReference** value); [VtblIndex(8)] - HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value); + HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ProtocolError; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Services; + public delegate* unmanaged[MemberFunction]>**, int> get_Services; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristic.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristic.cs index 18753c2a5a..054474cf7e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristic.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristic.cs @@ -114,17 +114,17 @@ public HRESULT get_WriteProtectionLevel([NativeTypeName("ABI::Windows::Devices:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CreateDescriptorAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters *")] IGattLocalDescriptorParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptorResult_t **")] IAsyncOperation** operation) + public HRESULT CreateDescriptorAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters *")] IGattLocalDescriptorParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptorResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), descriptorUuid, parameters, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), descriptorUuid, parameters, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_t **")] IVectorView** value) + public HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); } /// @@ -138,25 +138,25 @@ public HRESULT get_UserDescription(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView** value) + public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT get_SubscribedClients([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_t **")] IVectorView** value) + public HRESULT get_SubscribedClients([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_SubscribedClientsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SubscribedClientsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -170,9 +170,9 @@ public HRESULT remove_SubscribedClientsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -186,9 +186,9 @@ public HRESULT remove_ReadRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -202,17 +202,17 @@ public HRESULT remove_WriteRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT NotifyValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation** operation) + public HRESULT NotifyValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[22]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT NotifyValueForSubscribedClientAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient *")] IGattSubscribedClient* subscribedClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation** operation) + public HRESULT NotifyValueForSubscribedClientAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient *")] IGattSubscribedClient* subscribedClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[23]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value, subscribedClient, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[23]))((IGattLocalCharacteristic*)Unsafe.AsPointer(ref this), value, subscribedClient, operation); } public interface Interface : IInspectable.Interface @@ -233,43 +233,43 @@ public interface Interface : IInspectable.Interface HRESULT get_WriteProtectionLevel([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel *")] GattProtectionLevel* value); [VtblIndex(11)] - HRESULT CreateDescriptorAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters *")] IGattLocalDescriptorParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptorResult_t **")] IAsyncOperation** operation); + HRESULT CreateDescriptorAsync(Guid descriptorUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters *")] IGattLocalDescriptorParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptorResult_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_t **")] IVectorView** value); + HRESULT get_Descriptors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_t **")] IVectorView>** value); [VtblIndex(13)] HRESULT get_UserDescription(HSTRING* value); [VtblIndex(14)] - HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView** value); + HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVectorView>** value); [VtblIndex(15)] - HRESULT get_SubscribedClients([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_t **")] IVectorView** value); + HRESULT get_SubscribedClients([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_t **")] IVectorView>** value); [VtblIndex(16)] - HRESULT add_SubscribedClientsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SubscribedClientsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_SubscribedClientsChanged(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_ReadRequested(EventRegistrationToken token); [VtblIndex(20)] - HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(21)] HRESULT remove_WriteRequested(EventRegistrationToken token); [VtblIndex(22)] - HRESULT NotifyValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation** operation); + HRESULT NotifyValueAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation>>>** operation); [VtblIndex(23)] - HRESULT NotifyValueForSubscribedClientAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient *")] IGattSubscribedClient* subscribedClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation** operation); + HRESULT NotifyValueForSubscribedClientAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient *")] IGattSubscribedClient* subscribedClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -309,42 +309,42 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_WriteProtectionLevel; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptorResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDescriptorAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDescriptorAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Descriptors; + public delegate* unmanaged[MemberFunction]>**, int> get_Descriptors; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_UserDescription; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PresentationFormats; + public delegate* unmanaged[MemberFunction]>**, int> get_PresentationFormats; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SubscribedClients; + public delegate* unmanaged[MemberFunction]>**, int> get_SubscribedClients; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SubscribedClientsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SubscribedClientsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SubscribedClientsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_WriteRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_WriteRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_WriteRequested; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> NotifyValueAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> NotifyValueAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattClientNotificationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> NotifyValueForSubscribedClientAsync; + public delegate* unmanaged[MemberFunction]>**, int> NotifyValueForSubscribedClientAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristicParameters.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristicParameters.cs index f361efb0a8..89d8fbe5ba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristicParameters.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalCharacteristicParameters.cs @@ -154,9 +154,9 @@ public HRESULT get_UserDescription(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVector** value) + public HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IGattLocalCharacteristicParameters*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IGattLocalCharacteristicParameters*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -192,7 +192,7 @@ public interface Interface : IInspectable.Interface HRESULT get_UserDescription(HSTRING* value); [VtblIndex(16)] - HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVector** value); + HRESULT get_PresentationFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **")] IVector>** value); } public partial struct Vtbl @@ -247,6 +247,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UserDescription; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattPresentationFormat_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PresentationFormats; + public delegate* unmanaged[MemberFunction]>**, int> get_PresentationFormats; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalDescriptor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalDescriptor.cs index 147ce88251..9a9c964285 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalDescriptor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalDescriptor.cs @@ -106,9 +106,9 @@ public HRESULT get_WriteProtectionLevel([NativeTypeName("ABI::Windows::Devices:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGattLocalDescriptor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGattLocalDescriptor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_ReadRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IGattLocalDescriptor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IGattLocalDescriptor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -150,13 +150,13 @@ public interface Interface : IInspectable.Interface HRESULT get_WriteProtectionLevel([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel *")] GattProtectionLevel* value); [VtblIndex(10)] - HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadRequested(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_WriteRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_WriteRequested(EventRegistrationToken token); @@ -196,13 +196,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_WriteProtectionLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalDescriptor_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_WriteRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_WriteRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_WriteRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalService.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalService.cs index 70598d1d1e..399200d0b6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalService.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattLocalService.cs @@ -82,17 +82,17 @@ public HRESULT get_Uuid(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateCharacteristicAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters *")] IGattLocalCharacteristicParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristicResult_t **")] IAsyncOperation** operation) + public HRESULT CreateCharacteristicAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters *")] IGattLocalCharacteristicParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristicResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGattLocalService*)Unsafe.AsPointer(ref this), characteristicUuid, parameters, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGattLocalService*)Unsafe.AsPointer(ref this), characteristicUuid, parameters, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_t **")] IVectorView** value) + public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattLocalService*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattLocalService*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Uuid(Guid* value); [VtblIndex(7)] - HRESULT CreateCharacteristicAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters *")] IGattLocalCharacteristicParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristicResult_t **")] IAsyncOperation** operation); + HRESULT CreateCharacteristicAsync(Guid characteristicUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters *")] IGattLocalCharacteristicParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristicResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_t **")] IVectorView** value); + HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_t **")] IVectorView>** value); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Uuid; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristicResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateCharacteristicAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateCharacteristicAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattLocalCharacteristic_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Characteristics; + public delegate* unmanaged[MemberFunction]>**, int> get_Characteristics; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequest.cs index 4e925c2444..cb05d60ee4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequest.cs @@ -98,9 +98,9 @@ public HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Bluetooth::Gene /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IGattReadRequest*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IGattReadRequest*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,7 +139,7 @@ public interface Interface : IInspectable.Interface HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState *")] GattRequestState* value); [VtblIndex(9)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_StateChanged(EventRegistrationToken token); @@ -182,7 +182,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_State; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequestedEventArgs.cs index e6970b19be..53b5ec8007 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReadRequestedEventArgs.cs @@ -90,9 +90,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_t **")] IAsyncOperation** operation) + public HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattReadRequestedEventArgs*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattReadRequestedEventArgs*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral **")] IDeferral** value); [VtblIndex(8)] - HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_t **")] IAsyncOperation** operation); + HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattReadRequest_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRequestAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRequestAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReliableWriteTransaction2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReliableWriteTransaction2.cs index 935bf28380..9fe25411c5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReliableWriteTransaction2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattReliableWriteTransaction2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CommitWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation) + public HRESULT CommitWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattReliableWriteTransaction2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattReliableWriteTransaction2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CommitWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation** operation); + HRESULT CommitWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CommitWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> CommitWithResultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProvider.cs index 1241864131..9fff16ce08 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProvider.cs @@ -90,9 +90,9 @@ public HRESULT get_AdvertisementStatus([NativeTypeName("ABI::Windows::Devices::B /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_AdvertisementStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProvider_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderAdvertisementStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AdvertisementStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProvider_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderAdvertisementStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IGattServiceProvider*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IGattServiceProvider*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -136,7 +136,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AdvertisementStatus([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus *")] GattServiceProviderAdvertisementStatus* value); [VtblIndex(8)] - HRESULT add_AdvertisementStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProvider_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderAdvertisementStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AdvertisementStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProvider_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderAdvertisementStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_AdvertisementStatusChanged(EventRegistrationToken token); @@ -179,7 +179,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AdvertisementStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProvider_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderAdvertisementStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AdvertisementStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AdvertisementStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AdvertisementStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProviderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProviderStatics.cs index b3d89fd02b..08ce0516dd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProviderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattServiceProviderStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderResult_t **")] IAsyncOperation** operation) + public HRESULT CreateAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattServiceProviderStatics*)Unsafe.AsPointer(ref this), serviceUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattServiceProviderStatics*)Unsafe.AsPointer(ref this), serviceUuid, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderResult_t **")] IAsyncOperation** operation); + HRESULT CreateAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattServiceProviderResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSession.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSession.cs index 43e1c19234..497705cbe6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSession.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSession.cs @@ -122,9 +122,9 @@ public HRESULT get_SessionStatus([NativeTypeName("ABI::Windows::Devices::Bluetoo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_MaxPduSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_MaxPduSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IGattSession*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IGattSession*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_MaxPduSizeChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_SessionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSessionStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SessionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSessionStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IGattSession*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IGattSession*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -172,13 +172,13 @@ public interface Interface : IInspectable.Interface HRESULT get_SessionStatus([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus *")] GattSessionStatus* value); [VtblIndex(12)] - HRESULT add_MaxPduSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_MaxPduSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_MaxPduSizeChanged(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_SessionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSessionStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SessionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSessionStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_SessionStatusChanged(EventRegistrationToken token); @@ -224,13 +224,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SessionStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MaxPduSizeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MaxPduSizeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MaxPduSizeChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSessionStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SessionStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SessionStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SessionStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSessionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSessionStatics.cs index c3bf4de2f8..986530534c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSessionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSessionStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromDeviceIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *")] IBluetoothDeviceId* deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_t **")] IAsyncOperation** operation) + public HRESULT FromDeviceIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *")] IBluetoothDeviceId* deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGattSessionStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGattSessionStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromDeviceIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *")] IBluetoothDeviceId* deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_t **")] IAsyncOperation** operation); + HRESULT FromDeviceIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *")] IBluetoothDeviceId* deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::IBluetoothDeviceId *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSession_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromDeviceIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromDeviceIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSubscribedClient.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSubscribedClient.cs index ae3d12e849..4deea859db 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSubscribedClient.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattSubscribedClient.cs @@ -90,9 +90,9 @@ public HRESULT get_MaxNotificationSize([NativeTypeName("UINT16 *")] ushort* valu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_MaxNotificationSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_MaxNotificationSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IGattSubscribedClient*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IGattSubscribedClient*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MaxNotificationSize([NativeTypeName("UINT16 *")] ushort* value); [VtblIndex(8)] - HRESULT add_MaxNotificationSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_MaxNotificationSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_MaxNotificationSizeChanged(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MaxNotificationSize; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattSubscribedClient_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MaxNotificationSizeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MaxNotificationSizeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MaxNotificationSizeChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequest.cs index bed78afcad..6251cd23fe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequest.cs @@ -106,9 +106,9 @@ public HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Bluetooth::Gene /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGattWriteRequest*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGattWriteRequest*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -150,7 +150,7 @@ public interface Interface : IInspectable.Interface HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState *")] GattRequestState* value); [VtblIndex(10)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_StateChanged(EventRegistrationToken token); @@ -196,7 +196,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_State; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattRequestStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequestedEventArgs.cs index 19c19f1424..b011b92bbf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattWriteRequestedEventArgs.cs @@ -90,9 +90,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_t **")] IAsyncOperation** operation) + public HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGattWriteRequestedEventArgs*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IGattWriteRequestedEventArgs*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral **")] IDeferral** value); [VtblIndex(8)] - HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_t **")] IAsyncOperation** operation); + HRESULT GetRequestAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattWriteRequest_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRequestAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRequestAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceService.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceService.cs index 27118cd18a..39a780e6d3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceService.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceService.cs @@ -114,17 +114,17 @@ public HRESULT get_MaxProtectionLevel([NativeTypeName("ABI::Windows::Networking: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetSdpRawAttributesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncOp) + public HRESULT GetSdpRawAttributesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>>>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IRfcommDeviceService*)Unsafe.AsPointer(ref this), asyncOp); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[11]))((IRfcommDeviceService*)Unsafe.AsPointer(ref this), asyncOp); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetSdpRawAttributesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncOp) + public HRESULT GetSdpRawAttributesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>>>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IRfcommDeviceService*)Unsafe.AsPointer(ref this), cacheMode, asyncOp); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[12]))((IRfcommDeviceService*)Unsafe.AsPointer(ref this), cacheMode, asyncOp); } public interface Interface : IInspectable.Interface @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT get_MaxProtectionLevel([NativeTypeName("ABI::Windows::Networking::Sockets::SocketProtectionLevel *")] SocketProtectionLevel* value); [VtblIndex(11)] - HRESULT GetSdpRawAttributesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncOp); + HRESULT GetSdpRawAttributesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>>>** asyncOp); [VtblIndex(12)] - HRESULT GetSdpRawAttributesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncOp); + HRESULT GetSdpRawAttributesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>>>** asyncOp); } public partial struct Vtbl @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MaxProtectionLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSdpRawAttributesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSdpRawAttributesAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSdpRawAttributesWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSdpRawAttributesWithCacheModeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServiceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServiceStatics.cs index c33d2c7db8..de16b2cbd2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServiceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServiceStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IAsyncOperation** asyncOp) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRfcommDeviceServiceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRfcommDeviceServiceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); } /// @@ -90,7 +90,7 @@ public HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Bluetoo public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IAsyncOperation** asyncOp); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IAsyncOperation>** asyncOp); [VtblIndex(7)] HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, HSTRING* selector); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *, HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServicesResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServicesResult.cs index a5a462c32d..fcd2cb5264 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServicesResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommDeviceServicesResult.cs @@ -82,9 +82,9 @@ public HRESULT get_Error([NativeTypeName("ABI::Windows::Devices::Bluetooth::Blue /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView** services) + public HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView>** services) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IRfcommDeviceServicesResult*)Unsafe.AsPointer(ref this), services); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IRfcommDeviceServicesResult*)Unsafe.AsPointer(ref this), services); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Error([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothError *")] BluetoothError* value); [VtblIndex(7)] - HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView** services); + HRESULT get_Services([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView>** services); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Error; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Services; + public delegate* unmanaged[MemberFunction]>**, int> get_Services; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProvider.cs index 6c2ebc8e86..af34dd87b6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProvider.cs @@ -82,9 +82,9 @@ public HRESULT get_ServiceId([NativeTypeName("ABI::Windows::Devices::Bluetooth:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_SdpRawAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IMap** value) + public HRESULT get_SdpRawAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IRfcommServiceProvider*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IRfcommServiceProvider*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServiceId([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId **")] IRfcommServiceId** value); [VtblIndex(7)] - HRESULT get_SdpRawAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IMap** value); + HRESULT get_SdpRawAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **")] IMap>** value); [VtblIndex(8)] HRESULT StartAdvertising([NativeTypeName("ABI::Windows::Networking::Sockets::IStreamSocketListener *")] IStreamSocketListener* listener); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ServiceId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_UINT32_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SdpRawAttributes; + public delegate* unmanaged[MemberFunction]>**, int> get_SdpRawAttributes; [NativeTypeName("HRESULT (ABI::Windows::Networking::Sockets::IStreamSocketListener *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] StartAdvertising; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProviderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProviderStatics.cs index ce83af42d6..8cb29a95fc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProviderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.rfcomm/IRfcommServiceProviderStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommServiceProvider_t **")] IAsyncOperation** asyncOp) + public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommServiceProvider_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRfcommServiceProviderStatics*)Unsafe.AsPointer(ref this), serviceId, asyncOp); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRfcommServiceProviderStatics*)Unsafe.AsPointer(ref this), serviceId, asyncOp); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommServiceProvider_t **")] IAsyncOperation** asyncOp); + HRESULT CreateAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommServiceProvider_t **")] IAsyncOperation>** asyncOp); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommServiceProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapter.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapter.cs index ca9957dcfd..ff2f734609 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapter.cs @@ -130,9 +130,9 @@ public HRESULT get_IsAdvertisementOffloadSupported([NativeTypeName("boolean *")] /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetRadioAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation** operation) + public HRESULT GetRadioAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IBluetoothAdapter*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IBluetoothAdapter*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -159,7 +159,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsAdvertisementOffloadSupported([NativeTypeName("boolean *")] byte* value); [VtblIndex(13)] - HRESULT GetRadioAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation** operation); + HRESULT GetRadioAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -205,6 +205,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsAdvertisementOffloadSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRadioAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRadioAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapterStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapterStatics.cs index 1d7804623b..4129d09444 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapterStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothAdapterStatics.cs @@ -82,17 +82,17 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBluetoothAdapterStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBluetoothAdapterStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothAdapterStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothAdapterStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothAdapter_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice.cs index 2185239610..17c250ae8c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice.cs @@ -106,18 +106,18 @@ public HRESULT get_ClassOfDevice([NativeTypeName("ABI::Windows::Devices::Bluetoo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_SdpRecords([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVectorView** value) + public HRESULT get_SdpRecords([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] [Obsolete("Use GetRfcommServicesAsync instead of RfcommServices. For more info, see MSDN.")] - public HRESULT get_RfcommServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView** value) + public HRESULT get_RfcommServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), value); } /// @@ -139,9 +139,9 @@ public HRESULT get_BluetoothAddress([NativeTypeName("UINT64 *")] ulong* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -155,9 +155,9 @@ public HRESULT remove_NameChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_SdpRecordsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SdpRecordsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -171,9 +171,9 @@ public HRESULT remove_SdpRecordsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IBluetoothDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -199,11 +199,11 @@ public interface Interface : IInspectable.Interface HRESULT get_ClassOfDevice([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothClassOfDevice **")] IBluetoothClassOfDevice** value); [VtblIndex(10)] - HRESULT get_SdpRecords([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVectorView** value); + HRESULT get_SdpRecords([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVectorView>** value); [VtblIndex(11)] [Obsolete("Use GetRfcommServicesAsync instead of RfcommServices. For more info, see MSDN.")] - HRESULT get_RfcommServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView** value); + HRESULT get_RfcommServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **")] IVectorView>** value); [VtblIndex(12)] HRESULT get_ConnectionStatus([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothConnectionStatus *")] BluetoothConnectionStatus* value); @@ -212,19 +212,19 @@ public interface Interface : IInspectable.Interface HRESULT get_BluetoothAddress([NativeTypeName("UINT64 *")] ulong* value); [VtblIndex(14)] - HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_NameChanged(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_SdpRecordsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SdpRecordsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_SdpRecordsChanged(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_ConnectionStatusChanged(EventRegistrationToken token); @@ -264,11 +264,11 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ClassOfDevice; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SdpRecords; + public delegate* unmanaged[MemberFunction]>**, int> get_SdpRecords; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceService_t **) __attribute__((stdcall))")] [Obsolete("Use GetRfcommServicesAsync instead of RfcommServices. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_RfcommServices; + public delegate* unmanaged[MemberFunction]>**, int> get_RfcommServices; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothConnectionStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ConnectionStatus; @@ -277,19 +277,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_BluetoothAddress; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NameChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NameChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NameChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SdpRecordsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SdpRecordsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SdpRecordsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice3.cs index f9f02d5ecb..3ba01d64fa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDevice3.cs @@ -90,33 +90,33 @@ public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetRfcommServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetRfcommServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetRfcommServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetRfcommServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetRfcommServicesForIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetRfcommServicesForIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), serviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), serviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetRfcommServicesForIdWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetRfcommServicesForIdWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), serviceId, cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IBluetoothDevice3*)Unsafe.AsPointer(ref this), serviceId, cacheMode, operation); } public interface Interface : IInspectable.Interface @@ -128,16 +128,16 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceAccessStatus_t **")] IAsyncOperation** value); [VtblIndex(8)] - HRESULT GetRfcommServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetRfcommServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT GetRfcommServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetRfcommServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT GetRfcommServicesForIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetRfcommServicesForIdAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT GetRfcommServicesForIdWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetRfcommServicesForIdWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *")] IRfcommServiceId* serviceId, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -168,15 +168,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRfcommServicesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRfcommServicesAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRfcommServicesWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRfcommServicesWithCacheModeAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRfcommServicesForIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRfcommServicesForIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId *, ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CRfcomm__CRfcommDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRfcommServicesForIdWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRfcommServicesForIdWithCacheModeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDeviceStatics.cs index 77565b4f04..39bfdda09a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothDeviceStatics.cs @@ -74,25 +74,25 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation) + public HRESULT FromHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), hostName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), hostName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong address, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation) + public HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong address, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), address, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothDeviceStatics*)Unsafe.AsPointer(ref this), address, operation); } /// @@ -106,13 +106,13 @@ public HRESULT GetDeviceSelector(HSTRING* deviceSelector) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT FromHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation); + HRESULT FromHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong address, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation** operation); + HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong address, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **")] IAsyncOperation>** operation); [VtblIndex(9)] HRESULT GetDeviceSelector(HSTRING* deviceSelector); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromHostNameAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromHostNameAsync; [NativeTypeName("HRESULT (UINT64, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromBluetoothAddressAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromBluetoothAddressAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice.cs index f09bfc9c46..5e3fbaabfc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice.cs @@ -91,9 +91,9 @@ public HRESULT get_Name(HSTRING* value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("Use GetGattServicesAsync instead of GattServices. For more information, see MSDN.")] - public HRESULT get_GattServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value) + public HRESULT get_GattServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), value); } /// @@ -124,9 +124,9 @@ public HRESULT GetGattService(Guid serviceUuid, [NativeTypeName("ABI::Windows::D /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -140,9 +140,9 @@ public HRESULT remove_NameChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_GattServicesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_GattServicesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -156,9 +156,9 @@ public HRESULT remove_GattServicesChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBluetoothLEDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -179,7 +179,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(8)] [Obsolete("Use GetGattServicesAsync instead of GattServices. For more information, see MSDN.")] - HRESULT get_GattServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView** value); + HRESULT get_GattServices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **")] IVectorView>** value); [VtblIndex(9)] HRESULT get_ConnectionStatus([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothConnectionStatus *")] BluetoothConnectionStatus* value); @@ -192,19 +192,19 @@ public interface Interface : IInspectable.Interface HRESULT GetGattService(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService **")] IGattDeviceService** service); [VtblIndex(12)] - HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_NameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_NameChanged(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_GattServicesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_GattServicesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_GattServicesChanged(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ConnectionStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_ConnectionStatusChanged(EventRegistrationToken token); @@ -239,7 +239,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceService_t **) __attribute__((stdcall))")] [Obsolete("Use GetGattServicesAsync instead of GattServices. For more information, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_GattServices; + public delegate* unmanaged[MemberFunction]>**, int> get_GattServices; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothConnectionStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ConnectionStatus; @@ -252,19 +252,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetGattService; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NameChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NameChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NameChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_GattServicesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_GattServicesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_GattServicesChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice3.cs index d00b51d569..6519f8b1a0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice3.cs @@ -90,33 +90,33 @@ public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetGattServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetGattServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetGattServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetGattServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), cacheMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetGattServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetGattServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), serviceUuid, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), serviceUuid, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetGattServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation) + public HRESULT GetGattServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), serviceUuid, cacheMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IBluetoothLEDevice3*)Unsafe.AsPointer(ref this), serviceUuid, cacheMode, operation); } public interface Interface : IInspectable.Interface @@ -128,16 +128,16 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceAccessStatus_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT GetGattServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetGattServicesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT GetGattServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetGattServicesWithCacheModeAsync([NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT GetGattServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetGattServicesForUuidAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT GetGattServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation** operation); + HRESULT GetGattServicesForUuidWithCacheModeAsync(Guid serviceUuid, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothCacheMode")] BluetoothCacheMode cacheMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -168,15 +168,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGattServicesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGattServicesAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGattServicesWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGattServicesWithCacheModeAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGattServicesForUuidAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGattServicesForUuidAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Devices::Bluetooth::BluetoothCacheMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CGenericAttributeProfile__CGattDeviceServicesResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGattServicesForUuidWithCacheModeAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGattServicesForUuidWithCacheModeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice6.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice6.cs index 72bbecc54d..aa2b5b5e48 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice6.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDevice6.cs @@ -98,9 +98,9 @@ public HRESULT RequestPreferredConnectionParameters([NativeTypeName("ABI::Window /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_ConnectionParametersChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ConnectionParametersChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IBluetoothLEDevice6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IBluetoothLEDevice6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_ConnectionParametersChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ConnectionPhyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ConnectionPhyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IBluetoothLEDevice6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IBluetoothLEDevice6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,13 +139,13 @@ public interface Interface : IInspectable.Interface HRESULT RequestPreferredConnectionParameters([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParameters *")] IBluetoothLEPreferredConnectionParameters* preferredConnectionParameters, [NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothLEPreferredConnectionParametersRequest **")] IBluetoothLEPreferredConnectionParametersRequest** result); [VtblIndex(9)] - HRESULT add_ConnectionParametersChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ConnectionParametersChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_ConnectionParametersChanged(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_ConnectionPhyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ConnectionPhyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ConnectionPhyChanged(EventRegistrationToken token); @@ -182,13 +182,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RequestPreferredConnectionParameters; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionParametersChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionParametersChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionParametersChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CBluetooth__CBluetoothLEDevice_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionPhyChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionPhyChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionPhyChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics.cs index 598337f1fb..332537f180 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBluetoothLEDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBluetoothLEDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation) + public HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBluetoothLEDeviceStatics*)Unsafe.AsPointer(ref this), bluetoothAddress, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBluetoothLEDeviceStatics*)Unsafe.AsPointer(ref this), bluetoothAddress, operation); } /// @@ -98,10 +98,10 @@ public HRESULT GetDeviceSelector(HSTRING* result) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation); + HRESULT FromBluetoothAddressAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT GetDeviceSelector(HSTRING* result); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (UINT64, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromBluetoothAddressAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromBluetoothAddressAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics2.cs index 5030e0cf69..a0b392f4d8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth/IBluetoothLEDeviceStatics2.cs @@ -122,9 +122,9 @@ public HRESULT GetDeviceSelectorFromAppearance([NativeTypeName("ABI::Windows::De /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT FromBluetoothAddressWithBluetoothAddressTypeAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothAddressType")] BluetoothAddressType bluetoothAddressType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation) + public HRESULT FromBluetoothAddressWithBluetoothAddressTypeAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothAddressType")] BluetoothAddressType bluetoothAddressType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IBluetoothLEDeviceStatics2*)Unsafe.AsPointer(ref this), bluetoothAddress, bluetoothAddressType, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IBluetoothLEDeviceStatics2*)Unsafe.AsPointer(ref this), bluetoothAddress, bluetoothAddressType, operation); } public interface Interface : IInspectable.Interface @@ -148,7 +148,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorFromAppearance([NativeTypeName("ABI::Windows::Devices::Bluetooth::IBluetoothLEAppearance *")] IBluetoothLEAppearance* appearance, HSTRING* deviceSelector); [VtblIndex(12)] - HRESULT FromBluetoothAddressWithBluetoothAddressTypeAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothAddressType")] BluetoothAddressType bluetoothAddressType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation** operation); + HRESULT FromBluetoothAddressWithBluetoothAddressTypeAsync([NativeTypeName("UINT64")] ulong bluetoothAddress, [NativeTypeName("ABI::Windows::Devices::Bluetooth::BluetoothAddressType")] BluetoothAddressType bluetoothAddressType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -191,6 +191,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelectorFromAppearance; [NativeTypeName("HRESULT (UINT64, ABI::Windows::Devices::Bluetooth::BluetoothAddressType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CBluetooth__CBluetoothLEDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromBluetoothAddressWithBluetoothAddressTypeAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromBluetoothAddressWithBluetoothAddressTypeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceAccessInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceAccessInformation.cs index ecc9aa5d4e..19e4ae81eb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceAccessInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceAccessInformation.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AccessChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceAccessInformation_Windows__CDevices__CEnumeration__CDeviceAccessChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_AccessChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceAccessInformation_Windows__CDevices__CEnumeration__CDeviceAccessChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDeviceAccessInformation*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDeviceAccessInformation*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -98,7 +98,7 @@ public HRESULT get_CurrentStatus([NativeTypeName("ABI::Windows::Devices::Enumera public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AccessChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceAccessInformation_Windows__CDevices__CEnumeration__CDeviceAccessChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_AccessChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceAccessInformation_Windows__CDevices__CEnumeration__CDeviceAccessChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_AccessChanged(EventRegistrationToken cookie); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceAccessInformation_Windows__CDevices__CEnumeration__CDeviceAccessChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AccessChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AccessChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AccessChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformation.cs index ac86b8073d..24df87be2c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformation.cs @@ -114,9 +114,9 @@ public HRESULT get_EnclosureLocation([NativeTypeName("ABI::Windows::Devices::Enu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IDeviceInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IDeviceInformation*)Unsafe.AsPointer(ref this), value); } /// @@ -161,7 +161,7 @@ public interface Interface : IInspectable.Interface HRESULT get_EnclosureLocation([NativeTypeName("ABI::Windows::Devices::Enumeration::IEnclosureLocation **")] IEnclosureLocation** value); [VtblIndex(11)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); [VtblIndex(12)] HRESULT Update([NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate *")] IDeviceInformationUpdate* updateInfo); @@ -210,7 +210,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_EnclosureLocation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Update; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationCustomPairing.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationCustomPairing.cs index d8dcbffbcf..9a7acf1ff9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationCustomPairing.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationCustomPairing.cs @@ -74,33 +74,33 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PairAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, minProtectionLevel, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, minProtectionLevel, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, minProtectionLevel, devicePairingSettings, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), pairingKindsSupported, minProtectionLevel, devicePairingSettings, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PairingRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceInformationCustomPairing_Windows__CDevices__CEnumeration__CDevicePairingRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PairingRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceInformationCustomPairing_Windows__CDevices__CEnumeration__CDevicePairingRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDeviceInformationCustomPairing*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,16 +114,16 @@ public HRESULT remove_PairingRequested(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PairAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingKinds")] DevicePairingKinds pairingKindsSupported, [NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT add_PairingRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceInformationCustomPairing_Windows__CDevices__CEnumeration__CDevicePairingRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PairingRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceInformationCustomPairing_Windows__CDevices__CEnumeration__CDevicePairingRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PairingRequested(EventRegistrationToken token); @@ -151,16 +151,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::DevicePairingKinds, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::DevicePairingKinds, ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairWithProtectionLevelAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairWithProtectionLevelAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::DevicePairingKinds, ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel, ABI::Windows::Devices::Enumeration::IDevicePairingSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairWithProtectionLevelAndSettingsAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairWithProtectionLevelAndSettingsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceInformationCustomPairing_Windows__CDevices__CEnumeration__CDevicePairingRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PairingRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PairingRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PairingRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing.cs index 0f5920226d..a2769d7475 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing.cs @@ -90,17 +90,17 @@ public HRESULT get_CanPair([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT PairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDeviceInformationPairing*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDeviceInformationPairing*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDeviceInformationPairing*)Unsafe.AsPointer(ref this), minProtectionLevel, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IDeviceInformationPairing*)Unsafe.AsPointer(ref this), minProtectionLevel, result); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_CanPair([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT PairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairWithProtectionLevelAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CanPair; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairWithProtectionLevelAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairWithProtectionLevelAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing2.cs index c5a6275d69..b0850a4fa6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationPairing2.cs @@ -90,17 +90,17 @@ public HRESULT get_Custom([NativeTypeName("ABI::Windows::Devices::Enumeration::I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result) + public HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDeviceInformationPairing2*)Unsafe.AsPointer(ref this), minProtectionLevel, devicePairingSettings, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDeviceInformationPairing2*)Unsafe.AsPointer(ref this), minProtectionLevel, devicePairingSettings, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT UnpairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceUnpairingResult_t **")] IAsyncOperation** result) + public HRESULT UnpairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceUnpairingResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDeviceInformationPairing2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IDeviceInformationPairing2*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Custom([NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformationCustomPairing **")] IDeviceInformationCustomPairing** value); [VtblIndex(8)] - HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation** result); + HRESULT PairWithProtectionLevelAndSettingsAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel")] DevicePairingProtectionLevel minProtectionLevel, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePairingSettings *")] IDevicePairingSettings* devicePairingSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT UnpairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceUnpairingResult_t **")] IAsyncOperation** result); + HRESULT UnpairAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceUnpairingResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Custom; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::DevicePairingProtectionLevel, ABI::Windows::Devices::Enumeration::IDevicePairingSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDevicePairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PairWithProtectionLevelAndSettingsAsync; + public delegate* unmanaged[MemberFunction]>**, int> PairWithProtectionLevelAndSettingsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceUnpairingResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UnpairAsync; + public delegate* unmanaged[MemberFunction]>**, int> UnpairAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics.cs index 15bf9d7d07..930b6cc4ab 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateFromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp) + public HRESULT CreateFromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDeviceInformationStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDeviceInformationStatics*)Unsafe.AsPointer(ref this), deviceId, asyncOp); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromIdAsyncAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp) + public HRESULT CreateFromIdAsyncAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[7]))((IDeviceInformationStatics*)Unsafe.AsPointer(ref this), deviceId, additionalProperties, asyncOp); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[7]))((IDeviceInformationStatics*)Unsafe.AsPointer(ref this), deviceId, additionalProperties, asyncOp); } /// @@ -154,10 +154,10 @@ public HRESULT CreateWatcherAqsFilterAndAdditionalProperties(HSTRING aqsFilter, public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateFromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp); + HRESULT CreateFromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp); [VtblIndex(7)] - HRESULT CreateFromIdAsyncAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp); + HRESULT CreateFromIdAsyncAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp); [VtblIndex(8)] HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationCollection_t **")] IAsyncOperation** asyncOp); @@ -206,10 +206,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromIdAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> CreateFromIdAsyncAdditionalProperties; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> CreateFromIdAsyncAdditionalProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationCollection_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics2.cs index c91b93351a..52cc281fef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetAqsFilterFromDeviceClass([NativeTypeName("ABI::Windows::Device /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromIdAsyncWithKindAndAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceInformationKind")] DeviceInformationKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp) + public HRESULT CreateFromIdAsyncWithKindAndAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceInformationKind")] DeviceInformationKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp) { - return ((delegate* unmanaged[MemberFunction]*, DeviceInformationKind, IAsyncOperation**, int>)(lpVtbl[7]))((IDeviceInformationStatics2*)Unsafe.AsPointer(ref this), deviceId, additionalProperties, kind, asyncOp); + return ((delegate* unmanaged[MemberFunction]*, DeviceInformationKind, IAsyncOperation>**, int>)(lpVtbl[7]))((IDeviceInformationStatics2*)Unsafe.AsPointer(ref this), deviceId, additionalProperties, kind, asyncOp); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT GetAqsFilterFromDeviceClass([NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceClass")] DeviceClass deviceClass, HSTRING* aqsFilter); [VtblIndex(7)] - HRESULT CreateFromIdAsyncWithKindAndAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceInformationKind")] DeviceInformationKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** asyncOp); + HRESULT CreateFromIdAsyncWithKindAndAdditionalProperties(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceInformationKind")] DeviceInformationKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** asyncOp); [VtblIndex(8)] HRESULT FindAllAsyncWithKindAqsFilterAndAdditionalProperties(HSTRING aqsFilter, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* additionalProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::DeviceInformationKind")] DeviceInformationKind kind, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationCollection_t **")] IAsyncOperation** asyncOp); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetAqsFilterFromDeviceClass; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Devices::Enumeration::DeviceInformationKind, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, DeviceInformationKind, IAsyncOperation**, int> CreateFromIdAsyncWithKindAndAdditionalProperties; + public delegate* unmanaged[MemberFunction]*, DeviceInformationKind, IAsyncOperation>**, int> CreateFromIdAsyncWithKindAndAdditionalProperties; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Devices::Enumeration::DeviceInformationKind, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationCollection_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]*, DeviceInformationKind, IAsyncOperation**, int> FindAllAsyncWithKindAqsFilterAndAdditionalProperties; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationUpdate.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationUpdate.cs index b16642ec89..a1f5ece1f5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationUpdate.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceInformationUpdate.cs @@ -82,9 +82,9 @@ public HRESULT get_Id(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDeviceInformationUpdate*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDeviceInformationUpdate*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id(HSTRING* value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDevicePicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDevicePicker.cs index acf8cf049b..03ed351773 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDevicePicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDevicePicker.cs @@ -98,9 +98,9 @@ public HRESULT get_RequestedProperties([NativeTypeName("ABI::Windows::Foundation /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_DeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceSelectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceSelectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_DeviceSelected(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_DisconnectButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceDisconnectButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DisconnectButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceDisconnectButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_DisconnectButtonClicked(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_DevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IDevicePicker*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,17 +162,17 @@ public HRESULT ShowWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT PickSingleDeviceAsync([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** operation) + public HRESULT PickSingleDeviceAsync([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IDevicePicker*)Unsafe.AsPointer(ref this), selection, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IDevicePicker*)Unsafe.AsPointer(ref this), selection, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT PickSingleDeviceAsyncWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement placement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** operation) + public HRESULT PickSingleDeviceAsyncWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement placement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IDevicePicker*)Unsafe.AsPointer(ref this), selection, placement, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IDevicePicker*)Unsafe.AsPointer(ref this), selection, placement, operation); } /// @@ -203,19 +203,19 @@ public interface Interface : IInspectable.Interface HRESULT get_RequestedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(9)] - HRESULT add_DeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceSelectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceSelectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_DeviceSelected(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_DisconnectButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceDisconnectButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DisconnectButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceDisconnectButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_DisconnectButtonClicked(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_DevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_DevicePickerDismissed(EventRegistrationToken token); @@ -227,10 +227,10 @@ public interface Interface : IInspectable.Interface HRESULT ShowWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement placement); [VtblIndex(17)] - HRESULT PickSingleDeviceAsync([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** operation); + HRESULT PickSingleDeviceAsync([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** operation); [VtblIndex(18)] - HRESULT PickSingleDeviceAsyncWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement placement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation** operation); + HRESULT PickSingleDeviceAsyncWithPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement placement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **")] IAsyncOperation>** operation); [VtblIndex(19)] HRESULT Hide(); @@ -270,19 +270,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_RequestedProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceSelectedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DeviceSelected; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DeviceSelected; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DeviceSelected; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_Windows__CDevices__CEnumeration__CDeviceDisconnectButtonClickedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DisconnectButtonClicked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DisconnectButtonClicked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DisconnectButtonClicked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDevicePicker_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DevicePickerDismissed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DevicePickerDismissed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DevicePickerDismissed; @@ -294,10 +294,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ShowWithPlacement; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Rect, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleDeviceAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleDeviceAsyncWithPlacement; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleDeviceAsyncWithPlacement; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Hide; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcher.cs index 39d6b71d89..571a639753 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcher.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IDeviceWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,31 +178,31 @@ public HRESULT Stop() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -239,31 +239,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcherTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcherTriggerDetails.cs index 6e667529c2..87b13acc06 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcherTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.enumeration/IDeviceWatcherTriggerDetails.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_DeviceWatcherEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CEnumeration__CDeviceWatcherEvent_t **")] IVectorView** value) + public HRESULT get_DeviceWatcherEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CEnumeration__CDeviceWatcherEvent_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDeviceWatcherTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDeviceWatcherTriggerDetails*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_DeviceWatcherEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CEnumeration__CDeviceWatcherEvent_t **")] IVectorView** value); + HRESULT get_DeviceWatcherEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CEnumeration__CDeviceWatcherEvent_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CEnumeration__CDeviceWatcherEvent_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DeviceWatcherEvents; + public delegate* unmanaged[MemberFunction]>**, int> get_DeviceWatcherEvents; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocator.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocator.cs index 586a267674..123d0b20d9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocator.cs @@ -130,25 +130,25 @@ public HRESULT get_LocationStatus([NativeTypeName("ABI::Windows::Devices::Geoloc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetGeopositionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** value) + public HRESULT GetGeopositionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IGeolocator*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IGeolocator*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetGeopositionAsyncWithAgeAndTimeout([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan maximumAge, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timeout, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** value) + public HRESULT GetGeopositionAsyncWithAgeAndTimeout([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan maximumAge, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timeout, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IGeolocator*)Unsafe.AsPointer(ref this), maximumAge, timeout, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IGeolocator*)Unsafe.AsPointer(ref this), maximumAge, timeout, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CPositionChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CPositionChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IGeolocator*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IGeolocator*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_PositionChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IGeolocator*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IGeolocator*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -199,19 +199,19 @@ public interface Interface : IInspectable.Interface HRESULT get_LocationStatus([NativeTypeName("ABI::Windows::Devices::Geolocation::PositionStatus *")] PositionStatus* value); [VtblIndex(13)] - HRESULT GetGeopositionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** value); + HRESULT GetGeopositionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>** value); [VtblIndex(14)] - HRESULT GetGeopositionAsyncWithAgeAndTimeout([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan maximumAge, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timeout, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** value); + HRESULT GetGeopositionAsyncWithAgeAndTimeout([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan maximumAge, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timeout, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>** value); [VtblIndex(15)] - HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CPositionChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CPositionChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_PositionChanged(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_StatusChanged(EventRegistrationToken token); @@ -260,19 +260,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_LocationStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGeopositionAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGeopositionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeoposition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGeopositionAsyncWithAgeAndTimeout; + public delegate* unmanaged[MemberFunction]>**, int> GetGeopositionAsyncWithAgeAndTimeout; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CPositionChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PositionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PositionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PositionChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeolocator_Windows__CDevices__CGeolocation__CStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocatorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocatorStatics.cs index e3de305b8f..9cd9e7c26f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocatorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeolocatorStatics.cs @@ -82,17 +82,17 @@ public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetGeopositionHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** result) + public HRESULT GetGeopositionHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGeolocatorStatics*)Unsafe.AsPointer(ref this), startTime, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IGeolocatorStatics*)Unsafe.AsPointer(ref this), startTime, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetGeopositionHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** result) + public HRESULT GetGeopositionHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IGeolocatorStatics*)Unsafe.AsPointer(ref this), startTime, duration, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IGeolocatorStatics*)Unsafe.AsPointer(ref this), startTime, duration, result); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeolocationAccessStatus_t **")] IAsyncOperation** result); [VtblIndex(7)] - HRESULT GetGeopositionHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** result); + HRESULT GetGeopositionHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>>>** result); [VtblIndex(8)] - HRESULT GetGeopositionHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation** result); + HRESULT GetGeopositionHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGeopositionHistoryAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetGeopositionHistoryAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGeolocation__CGeoposition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGeopositionHistoryWithDurationAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetGeopositionHistoryWithDurationAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitor.cs index e65f7cfbb7..601d8358b3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitor.cs @@ -98,9 +98,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_VisitStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeovisitMonitor_Windows__CDevices__CGeolocation__CGeovisitStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VisitStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeovisitMonitor_Windows__CDevices__CGeolocation__CGeovisitStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IGeovisitMonitor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IGeovisitMonitor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(9)] - HRESULT add_VisitStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeovisitMonitor_Windows__CDevices__CGeolocation__CGeovisitStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VisitStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeovisitMonitor_Windows__CDevices__CGeolocation__CGeovisitStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_VisitStateChanged(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGeolocation__CGeovisitMonitor_Windows__CDevices__CGeolocation__CGeovisitStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VisitStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VisitStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VisitStateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitorStatics.cs index d142635fc9..5df3c99895 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitMonitorStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetLastReportAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IAsyncOperation** value) + public HRESULT GetLastReportAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGeovisitMonitorStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGeovisitMonitorStatics*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetLastReportAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IAsyncOperation** value); + HRESULT GetLastReportAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeovisit_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetLastReportAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetLastReportAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitTriggerDetails.cs index 8818e37063..571c25b6d1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisitTriggerDetails.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IVectorView** values) + public HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IVectorView>** values) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGeovisitTriggerDetails*)Unsafe.AsPointer(ref this), values); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGeovisitTriggerDetails*)Unsafe.AsPointer(ref this), values); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IVectorView** values); + HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGeolocation__CGeovisit_t **")] IVectorView>** values); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGeolocation__CGeovisit_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadReports; + public delegate* unmanaged[MemberFunction]>**, int> ReadReports; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioPinProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioPinProvider.cs index c1910c84b6..bde33920a9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioPinProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioPinProvider.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CProvider__CIGpioPinProvider_Windows__CDevices__CGpio__CProvider__CGpioPinProviderValueChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CProvider__CIGpioPinProvider_Windows__CDevices__CGpio__CProvider__CGpioPinProviderValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGpioPinProvider*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGpioPinProvider*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,7 +162,7 @@ public HRESULT Read([NativeTypeName("ABI::Windows::Devices::Gpio::Provider::Prov public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CProvider__CIGpioPinProvider_Windows__CDevices__CGpio__CProvider__CGpioPinProviderValueChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CProvider__CIGpioPinProvider_Windows__CDevices__CGpio__CProvider__CGpioPinProviderValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ValueChanged(EventRegistrationToken token); @@ -217,7 +217,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CProvider__CIGpioPinProvider_Windows__CDevices__CGpio__CProvider__CGpioPinProviderValueChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ValueChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ValueChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ValueChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioProvider.cs index cab071f1d1..29bff79db7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio.provider/IGpioProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGpio__CProvider__CIGpioControllerProvider_t **")] IVectorView** result) + public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGpio__CProvider__CIGpioControllerProvider_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGpioProvider*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGpioProvider*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGpio__CProvider__CIGpioControllerProvider_t **")] IVectorView** result); + HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGpio__CProvider__CIGpioControllerProvider_t **")] IVectorView>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CGpio__CProvider__CIGpioControllerProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllers; + public delegate* unmanaged[MemberFunction]>**, int> GetControllers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioControllerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioControllerStatics2.cs index 8f01a583f6..6879cfa269 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioControllerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioControllerStatics2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Gpio::Provider::IGpioProvider *")] IGpioProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Gpio::Provider::IGpioProvider *")] IGpioProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGpioControllerStatics2*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IGpioControllerStatics2*)Unsafe.AsPointer(ref this), provider, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGpioControllerStatics2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGpioControllerStatics2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Gpio::Provider::IGpioProvider *")] IGpioProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Gpio::Provider::IGpioProvider *")] IGpioProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGpio__CGpioController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Gpio::Provider::IGpioProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CGpio__CGpioController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGpio__CGpioController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioPin.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioPin.cs index bc5471252c..914b3c95bc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioPin.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/IGpioPin.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CGpioPin_Windows__CDevices__CGpio__CGpioPinValueChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CGpioPin_Windows__CDevices__CGpio__CGpioPinValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGpioPin*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGpioPin*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,7 +162,7 @@ public HRESULT Read([NativeTypeName("ABI::Windows::Devices::Gpio::GpioPinValue * public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CGpioPin_Windows__CDevices__CGpio__CGpioPinValueChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ValueChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CGpioPin_Windows__CDevices__CGpio__CGpioPinValueChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ValueChanged(EventRegistrationToken token); @@ -217,7 +217,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CGpio__CGpioPin_Windows__CDevices__CGpio__CGpioPinValueChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ValueChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ValueChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ValueChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/ISimpleHapticsController.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/ISimpleHapticsController.cs index 8f39bee753..0f88384e1a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/ISimpleHapticsController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/ISimpleHapticsController.cs @@ -82,9 +82,9 @@ public HRESULT get_Id(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_SupportedFeedback([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsControllerFeedback_t **")] IVectorView** value) + public HRESULT get_SupportedFeedback([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsControllerFeedback_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISimpleHapticsController*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISimpleHapticsController*)Unsafe.AsPointer(ref this), value); } /// @@ -165,7 +165,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id(HSTRING* value); [VtblIndex(7)] - HRESULT get_SupportedFeedback([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsControllerFeedback_t **")] IVectorView** value); + HRESULT get_SupportedFeedback([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsControllerFeedback_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_IsIntensitySupported([NativeTypeName("boolean *")] byte* value); @@ -220,7 +220,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CHaptics__CSimpleHapticsControllerFeedback_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedFeedback; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedFeedback; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IsIntensitySupported; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/IVibrationDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/IVibrationDeviceStatics.cs index 9f8477e18f..5cafb7a491 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/IVibrationDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.haptics/IVibrationDeviceStatics.cs @@ -90,25 +90,25 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation) + public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IVibrationDeviceStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -120,13 +120,13 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation** operation); + HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CHaptics__CVibrationDevice_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -157,12 +157,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CHaptics__CVibrationDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CHaptics__CVibrationDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c.provider/II2cProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c.provider/II2cProvider.cs index 3618121a61..7e0beaf9d2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c.provider/II2cProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c.provider/II2cProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CProvider__CII2cControllerProvider_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CProvider__CII2cControllerProvider_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((II2cProvider*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((II2cProvider*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CProvider__CII2cControllerProvider_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CProvider__CII2cControllerProvider_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CProvider__CII2cControllerProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cControllerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cControllerStatics.cs index b0416cbb56..738f139e24 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cControllerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cControllerStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::I2c::Provider::II2cProvider *")] II2cProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::I2c::Provider::II2cProvider *")] II2cProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((II2cControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((II2cControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((II2cControllerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((II2cControllerStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::I2c::Provider::II2cProvider *")] II2cProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::I2c::Provider::II2cProvider *")] II2cProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::I2c::Provider::II2cProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CI2c__CI2cController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cDeviceStatics.cs index 42df9dddec..45cb15470b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.i2c/II2cDeviceStatics.cs @@ -90,9 +90,9 @@ public HRESULT GetDeviceSelectorFromFriendlyName(HSTRING friendlyName, HSTRING* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::I2c::II2cConnectionSettings *")] II2cConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::I2c::II2cConnectionSettings *")] II2cConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((II2cDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, settings, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((II2cDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, settings, operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorFromFriendlyName(HSTRING friendlyName, HSTRING* value); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::I2c::II2cConnectionSettings *")] II2cConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Devices::I2c::II2cConnectionSettings *")] II2cConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cDevice_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelectorFromFriendlyName; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::I2c::II2cConnectionSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CI2c__CI2cDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IMouseDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IMouseDevice.cs index 5f9e45111f..50d0008dba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IMouseDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IMouseDevice.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_MouseMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CMouseDevice_Windows__CDevices__CInput__CMouseEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_MouseMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CMouseDevice_Windows__CDevices__CInput__CMouseEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMouseDevice*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMouseDevice*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_MouseMoved(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_MouseMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CMouseDevice_Windows__CDevices__CInput__CMouseEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_MouseMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CMouseDevice_Windows__CDevices__CInput__CMouseEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_MouseMoved(EventRegistrationToken cookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CMouseDevice_Windows__CDevices__CInput__CMouseEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MouseMoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MouseMoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MouseMoved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenButtonListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenButtonListener.cs index 87360199d9..1db0f90c0e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenButtonListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenButtonListener.cs @@ -82,9 +82,9 @@ public HRESULT IsSupported([NativeTypeName("boolean *")] byte* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_IsSupportedChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_TailButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TailButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_TailButtonClicked(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_TailButtonDoubleClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonDoubleClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TailButtonDoubleClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonDoubleClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_TailButtonDoubleClicked(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_TailButtonLongPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonLongPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TailButtonLongPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonLongPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPenButtonListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -149,25 +149,25 @@ public interface Interface : IInspectable.Interface HRESULT IsSupported([NativeTypeName("boolean *")] byte* result); [VtblIndex(7)] - HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_IsSupportedChanged(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_TailButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TailButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_TailButtonClicked(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_TailButtonDoubleClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonDoubleClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TailButtonDoubleClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonDoubleClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_TailButtonDoubleClicked(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_TailButtonLongPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonLongPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TailButtonLongPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonLongPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_TailButtonLongPressed(EventRegistrationToken token); @@ -198,25 +198,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsSupportedChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsSupportedChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsSupportedChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonClickedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TailButtonClicked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TailButtonClicked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TailButtonClicked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonDoubleClickedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TailButtonDoubleClicked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TailButtonDoubleClicked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TailButtonDoubleClicked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenButtonListener_Windows__CDevices__CInput__CPenTailButtonLongPressedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TailButtonLongPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TailButtonLongPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TailButtonLongPressed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenDockListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenDockListener.cs index 130344c35e..0006fbbbae 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenDockListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPenDockListener.cs @@ -82,9 +82,9 @@ public HRESULT IsSupported([NativeTypeName("boolean *")] byte* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_IsSupportedChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Docked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenDockedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Docked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenDockedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Docked(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Undocked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenUndockedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Undocked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenUndockedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPenDockListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -133,19 +133,19 @@ public interface Interface : IInspectable.Interface HRESULT IsSupported([NativeTypeName("boolean *")] byte* result); [VtblIndex(7)] - HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_IsSupportedChanged(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_Docked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenDockedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Docked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenDockedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Docked(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Undocked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenUndockedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Undocked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenUndockedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Undocked(EventRegistrationToken token); @@ -176,19 +176,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsSupportedChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsSupportedChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsSupportedChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenDockedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Docked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Docked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Docked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CInput__CPenDockListener_Windows__CDevices__CInput__CPenUndockedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Undocked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Undocked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Undocked; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPointerDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPointerDeviceStatics.cs index 77891ae25c..ae7b01a941 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPointerDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.input/IPointerDeviceStatics.cs @@ -82,9 +82,9 @@ public HRESULT GetPointerDevice([NativeTypeName("UINT32")] uint pointerId, [Nati /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetPointerDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_t **")] IVectorView** pointerDevices) + public HRESULT GetPointerDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_t **")] IVectorView>** pointerDevices) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPointerDeviceStatics*)Unsafe.AsPointer(ref this), pointerDevices); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPointerDeviceStatics*)Unsafe.AsPointer(ref this), pointerDevices); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetPointerDevice([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::Devices::Input::IPointerDevice **")] IPointerDevice** pointerDevice); [VtblIndex(7)] - HRESULT GetPointerDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_t **")] IVectorView** pointerDevices); + HRESULT GetPointerDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_t **")] IVectorView>** pointerDevices); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetPointerDevice; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CInput__CPointerDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPointerDevices; + public delegate* unmanaged[MemberFunction]>**, int> GetPointerDevices; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBattery.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBattery.cs index ea741fd50e..10977f7155 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBattery.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBattery.cs @@ -90,9 +90,9 @@ public HRESULT GetReport([NativeTypeName("ABI::Windows::Devices::Power::IBattery /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ReportUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPower__CBattery_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReportUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPower__CBattery_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IBattery*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IBattery*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT GetReport([NativeTypeName("ABI::Windows::Devices::Power::IBatteryReport **")] IBatteryReport** result); [VtblIndex(8)] - HRESULT add_ReportUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPower__CBattery_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReportUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPower__CBattery_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_ReportUpdated(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetReport; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPower__CBattery_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReportUpdated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReportUpdated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReportUpdated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBatteryStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBatteryStatics.cs index 1fa71179dd..8383cffa5d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBatteryStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.power/IBatteryStatics.cs @@ -82,9 +82,9 @@ public HRESULT get_AggregateBattery([NativeTypeName("ABI::Windows::Devices::Powe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPower__CBattery_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPower__CBattery_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBatteryStatics*)Unsafe.AsPointer(ref this), deviceId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBatteryStatics*)Unsafe.AsPointer(ref this), deviceId, result); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AggregateBattery([NativeTypeName("ABI::Windows::Devices::Power::IBattery **")] IBattery** result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPower__CBattery_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPower__CBattery_t **")] IAsyncOperation>** result); [VtblIndex(8)] HRESULT GetDeviceSelector(HSTRING* result); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AggregateBattery; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPower__CBattery_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow.cs index 62bad3f621..d8b07d4a45 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow.cs @@ -106,9 +106,9 @@ public HRESULT put_IsPrintReady([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_PrintRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrintRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_PrintRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrintRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPrint3DWorkflow*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPrint3DWorkflow*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT put_IsPrintReady([NativeTypeName("boolean")] byte value); [VtblIndex(10)] - HRESULT add_PrintRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrintRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_PrintRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrintRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(11)] HRESULT remove_PrintRequested(EventRegistrationToken eventCookie); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsPrintReady; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrintRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrintRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrintRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrintRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow2.cs index 111285ccb2..19b746a02e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrint3DWorkflow2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PrinterChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrinterChangedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_PrinterChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrinterChangedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPrint3DWorkflow2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPrint3DWorkflow2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_PrinterChanged(EventRegistrationToken eventCookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PrinterChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrinterChangedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_PrinterChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrinterChangedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(7)] HRESULT remove_PrinterChanged(EventRegistrationToken eventCookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflow_Windows__CDevices__CPrinters__CExtensions__CPrint3DWorkflowPrinterChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrinterChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrinterChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrinterChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfiguration.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfiguration.cs index 36d7d077af..11708b6092 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfiguration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfiguration.cs @@ -82,9 +82,9 @@ public HRESULT get_PrinterExtensionContext(IInspectable** context) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_SaveRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfiguration_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfigurationSaveRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_SaveRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfiguration_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfigurationSaveRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPrintTaskConfiguration*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPrintTaskConfiguration*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PrinterExtensionContext(IInspectable** context); [VtblIndex(7)] - HRESULT add_SaveRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfiguration_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfigurationSaveRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_SaveRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfiguration_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfigurationSaveRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(8)] HRESULT remove_SaveRequested(EventRegistrationToken eventCookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_PrinterExtensionContext; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfiguration_Windows__CDevices__CPrinters__CExtensions__CPrintTaskConfigurationSaveRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SaveRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SaveRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SaveRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeError.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeError.cs index 5d16132d54..5156f24fa2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeError.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeError.cs @@ -90,9 +90,9 @@ public HRESULT get_ExtendedError(HRESULT* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetUnsupportedValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVectorView** result) + public HRESULT GetUnsupportedValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IIppAttributeError*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IIppAttributeError*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ExtendedError(HRESULT* value); [VtblIndex(8)] - HRESULT GetUnsupportedValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVectorView** result); + HRESULT GetUnsupportedValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVectorView>** result); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ExtendedError; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPrinters__CIppAttributeValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetUnsupportedValues; + public delegate* unmanaged[MemberFunction]>**, int> GetUnsupportedValues; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValue.cs index fa9c49502c..ad8e8252f4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValue.cs @@ -106,9 +106,9 @@ public HRESULT GetEnumArray([NativeTypeName("ABI::Windows::Foundation::Collectio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector** result) + public HRESULT GetOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// @@ -122,41 +122,41 @@ public HRESULT GetDateTimeArray([NativeTypeName("ABI::Windows::Foundation::Colle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppResolution_t **")] IVector** result) + public HRESULT GetResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppResolution_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppIntegerRange_t **")] IVector** result) + public HRESULT GetRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppIntegerRange_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1___FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVector** result) + public HRESULT GetCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1___FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVector>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[14]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector** result) + public HRESULT GetTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector** result) + public HRESULT GetNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// @@ -186,9 +186,9 @@ public HRESULT GetKeywordArray([NativeTypeName("ABI::Windows::Foundation::Collec /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT GetUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector** result) + public HRESULT GetUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IIppAttributeValue*)Unsafe.AsPointer(ref this), result); } /// @@ -238,25 +238,25 @@ public interface Interface : IInspectable.Interface HRESULT GetEnumArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_int_t **")] IVector** result); [VtblIndex(10)] - HRESULT GetOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector** result); + HRESULT GetOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector>** result); [VtblIndex(11)] HRESULT GetDateTimeArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CDateTime_t **")] IVector** result); [VtblIndex(12)] - HRESULT GetResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppResolution_t **")] IVector** result); + HRESULT GetResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppResolution_t **")] IVector>** result); [VtblIndex(13)] - HRESULT GetRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppIntegerRange_t **")] IVector** result); + HRESULT GetRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppIntegerRange_t **")] IVector>** result); [VtblIndex(14)] - HRESULT GetCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1___FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVector** result); + HRESULT GetCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1___FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IVector>>>** result); [VtblIndex(15)] - HRESULT GetTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector** result); + HRESULT GetTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector>** result); [VtblIndex(16)] - HRESULT GetNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector** result); + HRESULT GetNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **")] IVector>** result); [VtblIndex(17)] HRESULT GetTextWithoutLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** result); @@ -268,7 +268,7 @@ public interface Interface : IInspectable.Interface HRESULT GetKeywordArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** result); [VtblIndex(20)] - HRESULT GetUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector** result); + HRESULT GetUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector>** result); [VtblIndex(21)] HRESULT GetUriSchemaArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** result); @@ -317,25 +317,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetEnumArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetOctetStringArray; + public delegate* unmanaged[MemberFunction]>**, int> GetOctetStringArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetDateTimeArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppResolution_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetResolutionArray; + public delegate* unmanaged[MemberFunction]>**, int> GetResolutionArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppIntegerRange_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRangeOfIntegerArray; + public delegate* unmanaged[MemberFunction]>**, int> GetRangeOfIntegerArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1___FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCollectionArray; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCollectionArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTextWithLanguageArray; + public delegate* unmanaged[MemberFunction]>**, int> GetTextWithLanguageArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetNameWithLanguageArray; + public delegate* unmanaged[MemberFunction]>**, int> GetNameWithLanguageArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetTextWithoutLanguageArray; @@ -347,7 +347,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetKeywordArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetUriArray; + public delegate* unmanaged[MemberFunction]>**, int> GetUriArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetUriSchemaArray; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs index 48ede9341d..8de5e23e4c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs @@ -154,9 +154,9 @@ public HRESULT CreateOctetString([NativeTypeName("ABI::Windows::Storage::Streams /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT CreateOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStreams__CIBuffer_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStreams__CIBuffer_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[16]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[16]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// @@ -186,9 +186,9 @@ public HRESULT CreateResolution([NativeTypeName("ABI::Windows::Devices::Printers /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT CreateResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppResolution_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppResolution_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[20]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[20]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// @@ -202,25 +202,25 @@ public HRESULT CreateRangeOfInteger([NativeTypeName("ABI::Windows::Devices::Prin /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT CreateRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppIntegerRange_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppIntegerRange_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[22]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[22]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT CreateCollection([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* memberAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateCollection([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>* memberAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[23]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), memberAttributes, result); + return ((delegate* unmanaged[MemberFunction]>>>*, IIppAttributeValue**, int>)(lpVtbl[23]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), memberAttributes, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT CreateCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* memberAttributesArray, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>>>* memberAttributesArray, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[24]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), memberAttributesArray, result); + return ((delegate* unmanaged[MemberFunction]>>>>>*, IIppAttributeValue**, int>)(lpVtbl[24]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), memberAttributesArray, result); } /// @@ -234,9 +234,9 @@ public HRESULT CreateTextWithLanguage([NativeTypeName("ABI::Windows::Devices::Pr /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT CreateTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[26]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[26]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// @@ -250,9 +250,9 @@ public HRESULT CreateNameWithLanguage([NativeTypeName("ABI::Windows::Devices::Pr /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT CreateNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[28]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[28]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// @@ -314,9 +314,9 @@ public HRESULT CreateUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeC /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] - public HRESULT CreateUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int>)(lpVtbl[36]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); + return ((delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int>)(lpVtbl[36]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), values, result); } /// @@ -416,7 +416,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateOctetString([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(16)] - HRESULT CreateOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStreams__CIBuffer_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateOctetStringArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStreams__CIBuffer_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(17)] HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); @@ -428,31 +428,31 @@ public interface Interface : IInspectable.Interface HRESULT CreateResolution([NativeTypeName("ABI::Windows::Devices::Printers::IIppResolution *")] IIppResolution* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(20)] - HRESULT CreateResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppResolution_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateResolutionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppResolution_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(21)] HRESULT CreateRangeOfInteger([NativeTypeName("ABI::Windows::Devices::Printers::IIppIntegerRange *")] IIppIntegerRange* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(22)] - HRESULT CreateRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppIntegerRange_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateRangeOfIntegerArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppIntegerRange_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(23)] - HRESULT CreateCollection([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* memberAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateCollection([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>* memberAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(24)] - HRESULT CreateCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* memberAttributesArray, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateCollectionArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>>>* memberAttributesArray, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(25)] HRESULT CreateTextWithLanguage([NativeTypeName("ABI::Windows::Devices::Printers::IIppTextWithLanguage *")] IIppTextWithLanguage* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(26)] - HRESULT CreateTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateTextWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(27)] HRESULT CreateNameWithLanguage([NativeTypeName("ABI::Windows::Devices::Printers::IIppTextWithLanguage *")] IIppTextWithLanguage* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(28)] - HRESULT CreateNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateNameWithLanguageArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(29)] HRESULT CreateTextWithoutLanguage(HSTRING value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); @@ -476,7 +476,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(36)] - HRESULT CreateUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateUriArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(37)] HRESULT CreateUriSchema(HSTRING value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); @@ -555,7 +555,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateOctetString; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CStreams__CIBuffer_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateOctetStringArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateOctetStringArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateDateTime; @@ -567,31 +567,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateResolution; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppResolution_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateResolutionArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateResolutionArray; [NativeTypeName("HRESULT (ABI::Windows::Devices::Printers::IIppIntegerRange *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateRangeOfInteger; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppIntegerRange_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateRangeOfIntegerArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateRangeOfIntegerArray; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateCollection; + public delegate* unmanaged[MemberFunction]>>>*, IIppAttributeValue**, int> CreateCollection; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateCollectionArray; + public delegate* unmanaged[MemberFunction]>>>>>*, IIppAttributeValue**, int> CreateCollectionArray; [NativeTypeName("HRESULT (ABI::Windows::Devices::Printers::IIppTextWithLanguage *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateTextWithLanguage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateTextWithLanguageArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateTextWithLanguageArray; [NativeTypeName("HRESULT (ABI::Windows::Devices::Printers::IIppTextWithLanguage *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateNameWithLanguage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CPrinters__CIppTextWithLanguage_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateNameWithLanguageArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateNameWithLanguageArray; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateTextWithoutLanguage; @@ -615,7 +615,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateUri; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateUriArray; + public delegate* unmanaged[MemberFunction]>*, IIppAttributeValue**, int> CreateUriArray; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateUriSchema; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppPrintDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppPrintDevice.cs index 614725132d..c0fdb8ad06 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppPrintDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppPrintDevice.cs @@ -98,9 +98,9 @@ public HRESULT GetPrinterAttributesAsBuffer([NativeTypeName("ABI::Windows::Found /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* attributeNames, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IMap** result) + public HRESULT GetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* attributeNames, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IMap>** result) { - return ((delegate* unmanaged[MemberFunction]*, IMap**, int>)(lpVtbl[9]))((IIppPrintDevice*)Unsafe.AsPointer(ref this), attributeNames, result); + return ((delegate* unmanaged[MemberFunction]*, IMap>**, int>)(lpVtbl[9]))((IIppPrintDevice*)Unsafe.AsPointer(ref this), attributeNames, result); } /// @@ -114,9 +114,9 @@ public HRESULT SetPrinterAttributesFromBuffer([NativeTypeName("ABI::Windows::Sto /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT SetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* printerAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppSetAttributesResult **")] IIppSetAttributesResult** result) + public HRESULT SetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>* printerAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppSetAttributesResult **")] IIppSetAttributesResult** result) { - return ((delegate* unmanaged[MemberFunction]*, IIppSetAttributesResult**, int>)(lpVtbl[11]))((IIppPrintDevice*)Unsafe.AsPointer(ref this), printerAttributes, result); + return ((delegate* unmanaged[MemberFunction]>>>*, IIppSetAttributesResult**, int>)(lpVtbl[11]))((IIppPrintDevice*)Unsafe.AsPointer(ref this), printerAttributes, result); } public interface Interface : IInspectable.Interface @@ -131,13 +131,13 @@ public interface Interface : IInspectable.Interface HRESULT GetPrinterAttributesAsBuffer([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* attributeNames, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer **")] IBuffer** result); [VtblIndex(9)] - HRESULT GetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* attributeNames, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IMap** result); + HRESULT GetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* attributeNames, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **")] IMap>** result); [VtblIndex(10)] HRESULT SetPrinterAttributesFromBuffer([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* printerAttributesBuffer, [NativeTypeName("ABI::Windows::Devices::Printers::IIppSetAttributesResult **")] IIppSetAttributesResult** result); [VtblIndex(11)] - HRESULT SetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable* printerAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppSetAttributesResult **")] IIppSetAttributesResult** result); + HRESULT SetPrinterAttributes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *")] IIterable>>>* printerAttributes, [NativeTypeName("ABI::Windows::Devices::Printers::IIppSetAttributesResult **")] IIppSetAttributesResult** result); } public partial struct Vtbl @@ -171,12 +171,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]*, IBuffer**, int> GetPrinterAttributesAsBuffer; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IMap**, int> GetPrinterAttributes; + public delegate* unmanaged[MemberFunction]*, IMap>**, int> GetPrinterAttributes; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::Printers::IIppSetAttributesResult **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetPrinterAttributesFromBuffer; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeValue_t *, ABI::Windows::Devices::Printers::IIppSetAttributesResult **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIppSetAttributesResult**, int> SetPrinterAttributes; + public delegate* unmanaged[MemberFunction]>>>*, IIppSetAttributesResult**, int> SetPrinterAttributes; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppSetAttributesResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppSetAttributesResult.cs index 27a0a6802c..5356cf6c8a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppSetAttributesResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppSetAttributesResult.cs @@ -82,9 +82,9 @@ public HRESULT get_Succeeded([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_AttributeErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeError_t **")] IMapView** value) + public HRESULT get_AttributeErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeError_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IIppSetAttributesResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IIppSetAttributesResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Succeeded([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT get_AttributeErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeError_t **")] IMapView** value); + HRESULT get_AttributeErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeError_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Succeeded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CDevices__CPrinters__CIppAttributeError_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AttributeErrors; + public delegate* unmanaged[MemberFunction]>**, int> get_AttributeErrors; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrint3DDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrint3DDeviceStatics.cs index 43ec57a9d9..9489b8c56d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrint3DDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrint3DDeviceStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPrinters__CPrint3DDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPrinters__CPrint3DDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPrint3DDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPrint3DDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// @@ -90,7 +90,7 @@ public HRESULT GetDeviceSelector(HSTRING* result) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPrinters__CPrint3DDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPrinters__CPrint3DDevice_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT GetDeviceSelector(HSTRING* result); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPrinters__CPrint3DDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrintSchema.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrintSchema.cs index 598ce79277..8d38d97ee3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrintSchema.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IPrintSchema.cs @@ -74,37 +74,37 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPrintSchema*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPrintSchema*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetCapabilitiesAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* constrainTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation) + public HRESULT GetCapabilitiesAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* constrainTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPrintSchema*)Unsafe.AsPointer(ref this), constrainTicket, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPrintSchema*)Unsafe.AsPointer(ref this), constrainTicket, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT MergeAndValidateWithDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* deltaTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation) + public HRESULT MergeAndValidateWithDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* deltaTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPrintSchema*)Unsafe.AsPointer(ref this), deltaTicket, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IPrintSchema*)Unsafe.AsPointer(ref this), deltaTicket, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation); + HRESULT GetDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetCapabilitiesAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* constrainTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation); + HRESULT GetCapabilitiesAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* constrainTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT MergeAndValidateWithDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* deltaTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation); + HRESULT MergeAndValidateWithDefaultPrintTicketAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *")] IRandomAccessStreamWithContentType* deltaTicket, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultPrintTicketAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultPrintTicketAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCapabilitiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCapabilitiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> MergeAndValidateWithDefaultPrintTicketAsync; + public delegate* unmanaged[MemberFunction]>**, int> MergeAndValidateWithDefaultPrintTicketAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm.provider/IPwmProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm.provider/IPwmProvider.cs index 405bb677e0..a15dbe509a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm.provider/IPwmProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm.provider/IPwmProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPwm__CProvider__CIPwmControllerProvider_t **")] IVectorView** result) + public HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPwm__CProvider__CIPwmControllerProvider_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPwmProvider*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPwmProvider*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPwm__CProvider__CIPwmControllerProvider_t **")] IVectorView** result); + HRESULT GetControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPwm__CProvider__CIPwmControllerProvider_t **")] IVectorView>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CPwm__CProvider__CIPwmControllerProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllers; + public delegate* unmanaged[MemberFunction]>**, int> GetControllers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics.cs index efb4a53feb..077bbe4853 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Pwm::Provider::IPwmProvider *")] IPwmProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Pwm::Provider::IPwmProvider *")] IPwmProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPwmControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IPwmControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Pwm::Provider::IPwmProvider *")] IPwmProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Pwm::Provider::IPwmProvider *")] IPwmProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Pwm::Provider::IPwmProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CPwm__CPwmController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics2.cs index 704274fb52..1fd7b4494a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPwmControllerStatics2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPwmControllerStatics2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics3.cs index e2d3917853..dbbd7519fb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.pwm/IPwmControllerStatics3.cs @@ -90,9 +90,9 @@ public HRESULT GetDeviceSelectorFromFriendlyName(HSTRING friendlyName, HSTRING* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPwmControllerStatics3*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IPwmControllerStatics3*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorFromFriendlyName(HSTRING friendlyName, HSTRING* result); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelectorFromFriendlyName; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CPwm__CPwmController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IID.Manual.cs new file mode 100644 index 0000000000..88b59f0d3e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IID.Manual.cs @@ -0,0 +1,60 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IRadio + { + get + { + ReadOnlySpan data = [ + 0xDF, 0x18, 0x21, 0x25, + 0x3E, 0xB3, + 0x6A, 0x41, + 0x87, + 0x5F, + 0x1C, + 0xF3, + 0x8A, + 0xE2, + 0xD8, + 0x3E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IRadioStatics + { + get + { + ReadOnlySpan data = [ + 0x2E, 0xA1, 0xB6, 0x5F, + 0xCB, 0x67, + 0xAE, 0x46, + 0xAA, + 0xE9, + 0x65, + 0x91, + 0x9F, + 0x86, + 0xEF, + 0xF4 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadio.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadio.cs new file mode 100644 index 0000000000..b48993b070 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadio.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("252118DF-B33E-416A-875F-1CF38AE2D83E")] +[NativeTypeName("struct IRadio : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IRadio : IRadio.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRadio)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IRadio*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IRadio*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IRadio*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IRadio*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IRadio*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IRadio*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT SetStateAsync([NativeTypeName("ABI::Windows::Devices::Radios::RadioState")] RadioState value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **")] IAsyncOperation** retval) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRadio*)Unsafe.AsPointer(ref this), value, retval); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CRadios__CRadio_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie) + { + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IRadio*)Unsafe.AsPointer(ref this), handler, eventCookie); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT remove_StateChanged(EventRegistrationToken eventCookie) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IRadio*)Unsafe.AsPointer(ref this), eventCookie); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Radios::RadioState *")] RadioState* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IRadio*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_Name(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IRadio*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_Kind([NativeTypeName("ABI::Windows::Devices::Radios::RadioKind *")] RadioKind* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IRadio*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT SetStateAsync([NativeTypeName("ABI::Windows::Devices::Radios::RadioState")] RadioState value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **")] IAsyncOperation** retval); + + [VtblIndex(7)] + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CRadios__CRadio_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie); + + [VtblIndex(8)] + HRESULT remove_StateChanged(EventRegistrationToken eventCookie); + + [VtblIndex(9)] + HRESULT get_State([NativeTypeName("ABI::Windows::Devices::Radios::RadioState *")] RadioState* value); + + [VtblIndex(10)] + HRESULT get_Name(HSTRING* value); + + [VtblIndex(11)] + HRESULT get_Kind([NativeTypeName("ABI::Windows::Devices::Radios::RadioKind *")] RadioKind* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Devices::Radios::RadioState, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> SetStateAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CRadios__CRadio_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; + + [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] remove_StateChanged; + + [NativeTypeName("HRESULT (ABI::Windows::Devices::Radios::RadioState *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_State; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Name; + + [NativeTypeName("HRESULT (ABI::Windows::Devices::Radios::RadioKind *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Kind; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStatics.cs new file mode 100644 index 0000000000..8815458ea3 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStatics.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5FB6A12E-67CB-46AE-AAE9-65919F86EFF4")] +[NativeTypeName("struct IRadioStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IRadioStatics : IRadioStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRadioStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IRadioStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IRadioStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IRadioStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IRadioStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IRadioStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IRadioStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetRadiosAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>>>** value) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IRadioStatics*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetDeviceSelector(HSTRING* deviceSelector) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IRadioStatics*)Unsafe.AsPointer(ref this), deviceSelector); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>** value) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IRadioStatics*)Unsafe.AsPointer(ref this), deviceId, value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **")] IAsyncOperation** value) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IRadioStatics*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetRadiosAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>>>** value); + + [VtblIndex(7)] + HRESULT GetDeviceSelector(HSTRING* deviceSelector); + + [VtblIndex(8)] + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **")] IAsyncOperation>** value); + + [VtblIndex(9)] + HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **")] IAsyncOperation** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CRadios__CRadio_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> GetRadiosAsync; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetDeviceSelector; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadio_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CRadios__CRadioAccessStatus_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioAccessStatus.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioAccessStatus.cs new file mode 100644 index 0000000000..edfcdc649d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioAccessStatus.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum RadioAccessStatus +{ + /// + RadioAccessStatus_Unspecified = 0, + + /// + RadioAccessStatus_Allowed = 1, + + /// + RadioAccessStatus_DeniedByUser = 2, + + /// + RadioAccessStatus_DeniedBySystem = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioKind.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioKind.cs new file mode 100644 index 0000000000..99c7b8ec3e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioKind.cs @@ -0,0 +1,25 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum RadioKind +{ + /// + RadioKind_Other = 0, + + /// + RadioKind_WiFi = 1, + + /// + RadioKind_MobileBroadband = 2, + + /// + RadioKind_Bluetooth = 3, + + /// + RadioKind_FM = 4, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioState.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioState.cs new file mode 100644 index 0000000000..f9bed6cf8f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/RadioState.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum RadioState +{ + /// + RadioState_Unknown = 0, + + /// + RadioState_On = 1, + + /// + RadioState_Off = 2, + + /// + RadioState_Disabled = 3, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/WinRT.cs new file mode 100644 index 0000000000..5af55d9e6e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.radios/WinRT.cs @@ -0,0 +1,18 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[30]")] + public const string InterfaceName_Windows_Devices_Radios_IRadio = "Windows.Devices.Radios.IRadio"; + + [NativeTypeName("const WCHAR[37]")] + public const string InterfaceName_Windows_Devices_Radios_IRadioStatics = "Windows.Devices.Radios.IRadioStatics"; + + [NativeTypeName("const WCHAR[29]")] + public const string RuntimeClass_Windows_Devices_Radios_Radio = "Windows.Devices.Radios.Radio"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometer.cs index cea2178a25..e66321c4ba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometer.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAccelerometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAccelerometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_ReadingChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_Shaken([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerShakenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Shaken([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerShakenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAccelerometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAccelerometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -150,13 +150,13 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_Shaken([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerShakenEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Shaken([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerShakenEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_Shaken(EventRegistrationToken token); @@ -196,13 +196,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAccelerometer_Windows__CDevices__CSensors__CAccelerometerShakenEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Shaken; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Shaken; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Shaken; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading2.cs index 984d505b63..21c81c68bb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAccelerometerReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAccelerometerReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerStatics3.cs index 4b6393ce60..7c696e6d85 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerStatics3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CAccelerometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CAccelerometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAccelerometerStatics3*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAccelerometerStatics3*)Unsafe.AsPointer(ref this), deviceId, operation); } /// @@ -90,7 +90,7 @@ public HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Sensors public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CAccelerometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CAccelerometer_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Sensors::AccelerometerReadingType")] AccelerometerReadingType readingType, HSTRING* result); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CAccelerometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::AccelerometerReadingType, HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensor.cs index ef0eb76221..6ad0332e08 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensor.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result) + public HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IActivitySensor*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IActivitySensor*)Unsafe.AsPointer(ref this), result); } /// @@ -122,9 +122,9 @@ public HRESULT get_MinimumReportInterval([NativeTypeName("UINT32 *")] uint* valu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CActivitySensor_Windows__CDevices__CSensors__CActivitySensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CActivitySensor_Windows__CDevices__CSensors__CActivitySensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IActivitySensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IActivitySensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,7 +138,7 @@ public HRESULT remove_ReadingChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result); + HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT get_SubscribedActivities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSensors__CActivityType_t **")] IVector** value); @@ -156,7 +156,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MinimumReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(12)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CActivitySensor_Windows__CDevices__CSensors__CActivitySensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CActivitySensor_Windows__CDevices__CSensors__CActivitySensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -184,7 +184,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensorReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentReadingAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCurrentReadingAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSensors__CActivityType_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_SubscribedActivities; @@ -202,7 +202,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MinimumReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CActivitySensor_Windows__CDevices__CSensors__CActivitySensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs index 26d100cb78..05fad1c59f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation** result) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), result); } /// @@ -90,43 +90,43 @@ public HRESULT GetDeviceSelector(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), deviceId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), deviceId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result) + public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), fromTime, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), fromTime, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result) + public HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), fromTime, duration, result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IActivitySensorStatics*)Unsafe.AsPointer(ref this), fromTime, duration, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation** result); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT GetDeviceSelector(HSTRING* value); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result); + HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>>>** result); [VtblIndex(10)] - HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation** result); + HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -151,18 +151,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CActivitySensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSystemHistoryAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSystemHistoryAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSystemHistoryWithDurationAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSystemHistoryWithDurationAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorTriggerDetails.cs index 1f3a244058..4fc3bc5d20 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorTriggerDetails.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReadingChangeReport_t **")] IVectorView** value) + public HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReadingChangeReport_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IActivitySensorTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IActivitySensorTriggerDetails*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReadingChangeReport_t **")] IVectorView** value); + HRESULT ReadReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReadingChangeReport_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CActivitySensorReadingChangeReport_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadReports; + public delegate* unmanaged[MemberFunction]>**, int> ReadReports; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeter.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeter.cs index 980e275e06..5e6dc3644d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeter.cs @@ -114,9 +114,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAltimeter_Windows__CDevices__CSensors__CAltimeterReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAltimeter_Windows__CDevices__CSensors__CAltimeterReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAltimeter*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAltimeter*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(11)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAltimeter_Windows__CDevices__CSensors__CAltimeterReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAltimeter_Windows__CDevices__CSensors__CAltimeterReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CAltimeter_Windows__CDevices__CSensors__CAltimeterReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading2.cs index 61d0dc8086..a79777ede6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAltimeterReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAltimeterReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometer.cs index 3352deefd7..e3affb6921 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometer.cs @@ -114,9 +114,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CBarometer_Windows__CDevices__CSensors__CBarometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CBarometer_Windows__CDevices__CSensors__CBarometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IBarometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IBarometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(11)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CBarometer_Windows__CDevices__CSensors__CBarometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CBarometer_Windows__CDevices__CSensors__CBarometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CBarometer_Windows__CDevices__CSensors__CBarometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading2.cs index 7b6f3cd311..5abd9e1bc5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBarometerReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBarometerReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerStatics2.cs index 2c78d5bde4..3d559ace88 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CBarometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CBarometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBarometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBarometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); } /// @@ -90,7 +90,7 @@ public HRESULT GetDeviceSelector(HSTRING* result) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CBarometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CBarometer_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT GetDeviceSelector(HSTRING* result); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CBarometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompass.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompass.cs index 32b8952f08..1d10137161 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompass.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompass.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CCompass_Windows__CDevices__CSensors__CCompassReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CCompass_Windows__CDevices__CSensors__CCompassReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICompass*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICompass*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CCompass_Windows__CDevices__CSensors__CCompassReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CCompass_Windows__CDevices__CSensors__CCompassReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CCompass_Windows__CDevices__CSensors__CCompassReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading2.cs index ccbe910278..605ed2c995 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICompassReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICompassReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassStatics2.cs index 39ff49cc2f..a764724f7c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CCompass_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CCompass_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICompassStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICompassStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CCompass_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CCompass_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CCompass_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometer.cs index 691a8086c7..3bb2974671 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometer.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CGyrometer_Windows__CDevices__CSensors__CGyrometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CGyrometer_Windows__CDevices__CSensors__CGyrometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGyrometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IGyrometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CGyrometer_Windows__CDevices__CSensors__CGyrometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CGyrometer_Windows__CDevices__CSensors__CGyrometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CGyrometer_Windows__CDevices__CSensors__CGyrometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading2.cs index cff5758e6e..06fa59c666 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGyrometerReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGyrometerReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerStatics2.cs index d89955f007..b8552b5bcd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CGyrometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CGyrometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IGyrometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IGyrometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CGyrometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CGyrometer_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CGyrometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs index d9f798db64..7543b0a7a7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs @@ -90,9 +90,9 @@ public HRESULT get_AngleInDegrees(double* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHingeAngleReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IHingeAngleReading*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AngleInDegrees(double* value); [VtblIndex(8)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AngleInDegrees; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensor.cs index d6c6ee17cb..6edb034d50 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensor.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleReading_t **")] IAsyncOperation** value) + public HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleReading_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHingeAngleSensor*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHingeAngleSensor*)Unsafe.AsPointer(ref this), value); } /// @@ -114,9 +114,9 @@ public HRESULT put_ReportThresholdInDegrees(double value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHingeAngleSensor_Windows__CDevices__CSensors__CHingeAngleSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHingeAngleSensor_Windows__CDevices__CSensors__CHingeAngleSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IHingeAngleSensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IHingeAngleSensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,7 +130,7 @@ public HRESULT remove_ReadingChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleReading_t **")] IAsyncOperation** value); + HRESULT GetCurrentReadingAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleReading_t **")] IAsyncOperation>** value); [VtblIndex(7)] HRESULT get_DeviceId(HSTRING* value); @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT put_ReportThresholdInDegrees(double value); [VtblIndex(11)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHingeAngleSensor_Windows__CDevices__CSensors__CHingeAngleSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHingeAngleSensor_Windows__CDevices__CSensors__CHingeAngleSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentReadingAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCurrentReadingAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DeviceId; @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_ReportThresholdInDegrees; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHingeAngleSensor_Windows__CDevices__CSensors__CHingeAngleSensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensorStatics.cs index 7cfff41aca..045355e597 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleSensorStatics.cs @@ -82,25 +82,25 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetRelatedToAdjacentPanelsAsync(HSTRING firstPanelId, HSTRING secondPanelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result) + public HRESULT GetRelatedToAdjacentPanelsAsync(HSTRING firstPanelId, HSTRING secondPanelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), firstPanelId, secondPanelId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), firstPanelId, secondPanelId, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), deviceId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IHingeAngleSensorStatics*)Unsafe.AsPointer(ref this), deviceId, result); } public interface Interface : IInspectable.Interface @@ -109,13 +109,13 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT GetRelatedToAdjacentPanelsAsync(HSTRING firstPanelId, HSTRING secondPanelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result); + HRESULT GetRelatedToAdjacentPanelsAsync(HSTRING firstPanelId, HSTRING secondPanelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -143,12 +143,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRelatedToAdjacentPanelsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetRelatedToAdjacentPanelsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHingeAngleSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensor.cs index 39796a1827..4540f3edca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensor.cs @@ -106,9 +106,9 @@ public HRESULT GetCurrentReading([NativeTypeName("ABI::Windows::Devices::Sensors /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHumanPresenceSensor_Windows__CDevices__CSensors__CHumanPresenceSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHumanPresenceSensor_Windows__CDevices__CSensors__CHumanPresenceSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IHumanPresenceSensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IHumanPresenceSensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT GetCurrentReading([NativeTypeName("ABI::Windows::Devices::Sensors::IHumanPresenceSensorReading **")] IHumanPresenceSensorReading** result); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHumanPresenceSensor_Windows__CDevices__CSensors__CHumanPresenceSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHumanPresenceSensor_Windows__CDevices__CSensors__CHumanPresenceSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetCurrentReading; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CHumanPresenceSensor_Windows__CDevices__CSensors__CHumanPresenceSensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading2.cs index 075027f29d..f321fbb5e9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHumanPresenceSensorReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHumanPresenceSensorReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorStatics.cs index 5da3116383..cff518c8bb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorStatics.cs @@ -82,17 +82,17 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IHumanPresenceSensorStatics*)Unsafe.AsPointer(ref this), sensorId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IHumanPresenceSensorStatics*)Unsafe.AsPointer(ref this), sensorId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHumanPresenceSensorStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IHumanPresenceSensorStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSettingsStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSettingsStatics.cs index 2187437bc0..b5ad690529 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSettingsStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSettingsStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentSettingsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSettings_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentSettingsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSettings_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), operation); } /// @@ -106,9 +106,9 @@ public HRESULT UpdateSettings([NativeTypeName("ABI::Windows::Devices::Sensors::I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetSupportedFeaturesForSensorIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceFeatures_t **")] IAsyncOperation** operation) + public HRESULT GetSupportedFeaturesForSensorIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceFeatures_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), sensorId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), sensorId, operation); } /// @@ -130,9 +130,9 @@ public HRESULT GetSupportedLockOnLeaveTimeouts([NativeTypeName("ABI::Windows::Fo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_SettingsChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SettingsChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IHumanPresenceSettingsStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,7 +146,7 @@ public HRESULT remove_SettingsChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentSettingsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSettings_t **")] IAsyncOperation** operation); + HRESULT GetCurrentSettingsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSettings_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT GetCurrentSettings([NativeTypeName("ABI::Windows::Devices::Sensors::IHumanPresenceSettings **")] IHumanPresenceSettings** result); @@ -158,7 +158,7 @@ public interface Interface : IInspectable.Interface HRESULT UpdateSettings([NativeTypeName("ABI::Windows::Devices::Sensors::IHumanPresenceSettings *")] IHumanPresenceSettings* settings); [VtblIndex(10)] - HRESULT GetSupportedFeaturesForSensorIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceFeatures_t **")] IAsyncOperation** operation); + HRESULT GetSupportedFeaturesForSensorIdAsync(HSTRING sensorId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceFeatures_t **")] IAsyncOperation>** operation); [VtblIndex(11)] HRESULT GetSupportedFeaturesForSensorId(HSTRING sensorId, [NativeTypeName("ABI::Windows::Devices::Sensors::IHumanPresenceFeatures **")] IHumanPresenceFeatures** result); @@ -167,7 +167,7 @@ public interface Interface : IInspectable.Interface HRESULT GetSupportedLockOnLeaveTimeouts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CTimeSpan_t **")] IVectorView** result); [VtblIndex(13)] - HRESULT add_SettingsChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SettingsChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_SettingsChanged(EventRegistrationToken token); @@ -195,7 +195,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceSettings_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentSettingsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetCurrentSettingsAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::IHumanPresenceSettings **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetCurrentSettings; @@ -207,7 +207,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] UpdateSettings; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CHumanPresenceFeatures_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSupportedFeaturesForSensorIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetSupportedFeaturesForSensorIdAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Sensors::IHumanPresenceFeatures **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetSupportedFeaturesForSensorId; @@ -216,7 +216,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetSupportedLockOnLeaveTimeouts; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SettingsChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_SettingsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SettingsChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometer.cs index 73eb5c2d51..4f9268a383 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometer.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CInclinometer_Windows__CDevices__CSensors__CInclinometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CInclinometer_Windows__CDevices__CSensors__CInclinometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IInclinometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IInclinometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CInclinometer_Windows__CDevices__CSensors__CInclinometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CInclinometer_Windows__CDevices__CSensors__CInclinometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CInclinometer_Windows__CDevices__CSensors__CInclinometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading2.cs index 12af2e7127..45a5069ae7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IInclinometerReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IInclinometerReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerStatics4.cs index 973f69b94c..e8a2c253be 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerStatics4.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Sensors /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CInclinometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CInclinometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IInclinometerStatics4*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IInclinometerStatics4*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector([NativeTypeName("ABI::Windows::Devices::Sensors::SensorReadingType")] SensorReadingType readingType, HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CInclinometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CInclinometer_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CInclinometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensor.cs index 46bb95adb3..28998bc217 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensor.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CLightSensor_Windows__CDevices__CSensors__CLightSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CLightSensor_Windows__CDevices__CSensors__CLightSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ILightSensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ILightSensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CLightSensor_Windows__CDevices__CSensors__CLightSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CLightSensor_Windows__CDevices__CSensors__CLightSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CLightSensor_Windows__CDevices__CSensors__CLightSensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading2.cs index b048289c8f..f2dc392645 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ILightSensorReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ILightSensorReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorStatics2.cs index 919a87a04e..15b053c81c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CLightSensor_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CLightSensor_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ILightSensorStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ILightSensorStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CLightSensor_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CLightSensor_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CLightSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometer.cs index ea4be6c36f..9a1e8c5c0c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometer.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CMagnetometer_Windows__CDevices__CSensors__CMagnetometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CMagnetometer_Windows__CDevices__CSensors__CMagnetometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMagnetometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMagnetometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CMagnetometer_Windows__CDevices__CSensors__CMagnetometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CMagnetometer_Windows__CDevices__CSensors__CMagnetometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CMagnetometer_Windows__CDevices__CSensors__CMagnetometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading2.cs index 36f3c837e4..acd7ac95e4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMagnetometerReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMagnetometerReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerStatics2.cs index 4d690fa61d..9a5054958f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CMagnetometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CMagnetometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMagnetometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMagnetometerStatics2*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CMagnetometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CMagnetometer_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CMagnetometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensor.cs index d0f35be8d3..cc16c341aa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensor.cs @@ -106,9 +106,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__COrientationSensor_Windows__CDevices__CSensors__COrientationSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__COrientationSensor_Windows__CDevices__CSensors__COrientationSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IOrientationSensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IOrientationSensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__COrientationSensor_Windows__CDevices__CSensors__COrientationSensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__COrientationSensor_Windows__CDevices__CSensors__COrientationSensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__COrientationSensor_Windows__CDevices__CSensors__COrientationSensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading2.cs index c6aed61c92..419fe394b7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading2.cs @@ -82,9 +82,9 @@ public HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::_ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IOrientationSensorReading2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IOrientationSensorReading2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PerformanceCount([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_PerformanceCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorStatics4.cs index 14676babb3..056f2106e2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorStatics4.cs @@ -90,9 +90,9 @@ public HRESULT GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal([ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__COrientationSensor_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__COrientationSensor_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IOrientationSensorStatics4*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IOrientationSensorStatics4*)Unsafe.AsPointer(ref this), deviceId, operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal([NativeTypeName("ABI::Windows::Devices::Sensors::SensorReadingType")] SensorReadingType readingType, [NativeTypeName("ABI::Windows::Devices::Sensors::SensorOptimizationGoal")] SensorOptimizationGoal optimizationGoal, HSTRING* result); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__COrientationSensor_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__COrientationSensor_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__COrientationSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer.cs index 5205f9f18f..f1dc73af6b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer.cs @@ -114,9 +114,9 @@ public HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CPedometer_Windows__CDevices__CSensors__CPedometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CPedometer_Windows__CDevices__CSensors__CPedometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPedometer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPedometer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ReportInterval([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(11)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CPedometer_Windows__CDevices__CSensors__CPedometerReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CPedometer_Windows__CDevices__CSensors__CPedometerReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ReportInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CPedometer_Windows__CDevices__CSensors__CPedometerReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer2.cs index 2019846167..8a50baf64f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometer2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentReadings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_Windows__CDevices__CSensors__CPedometerStepKind_Windows__CDevices__CSensors__CPedometerReading_t **")] IMapView** value) + public HRESULT GetCurrentReadings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_Windows__CDevices__CSensors__CPedometerStepKind_Windows__CDevices__CSensors__CPedometerReading_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPedometer2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPedometer2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentReadings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_Windows__CDevices__CSensors__CPedometerStepKind_Windows__CDevices__CSensors__CPedometerReading_t **")] IMapView** value); + HRESULT GetCurrentReadings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_Windows__CDevices__CSensors__CPedometerStepKind_Windows__CDevices__CSensors__CPedometerReading_t **")] IMapView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_Windows__CDevices__CSensors__CPedometerStepKind_Windows__CDevices__CSensors__CPedometerReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentReadings; + public delegate* unmanaged[MemberFunction]>**, int> GetCurrentReadings; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs index 0f401a31c4..eb5da91fa2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPedometerStatics*)Unsafe.AsPointer(ref this), deviceId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPedometerStatics*)Unsafe.AsPointer(ref this), deviceId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPedometerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPedometerStatics*)Unsafe.AsPointer(ref this), operation); } /// @@ -98,35 +98,35 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation** operation) + public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPedometerStatics*)Unsafe.AsPointer(ref this), fromTime, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IPedometerStatics*)Unsafe.AsPointer(ref this), fromTime, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation** operation) + public HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IPedometerStatics*)Unsafe.AsPointer(ref this), fromTime, duration, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IPedometerStatics*)Unsafe.AsPointer(ref this), fromTime, duration, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(9)] - HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation** operation); + HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] - HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation** operation); + HRESULT GetSystemHistoryWithDurationAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime fromTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -151,18 +151,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CPedometer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSystemHistoryAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSystemHistoryAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSystemHistoryWithDurationAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetSystemHistoryWithDurationAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics2.cs index cffd8c7673..13bd60f102 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IVectorView** result) + public HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPedometerStatics2*)Unsafe.AsPointer(ref this), triggerDetails, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPedometerStatics2*)Unsafe.AsPointer(ref this), triggerDetails, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IVectorView** result); + HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **")] IVectorView>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CPedometerReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetReadingsFromTriggerDetails; + public delegate* unmanaged[MemberFunction]>**, int> GetReadingsFromTriggerDetails; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensor.cs index 02db03375d..6a7f36fdd7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensor.cs @@ -106,9 +106,9 @@ public HRESULT GetCurrentReading([NativeTypeName("ABI::Windows::Devices::Sensors /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CProximitySensor_Windows__CDevices__CSensors__CProximitySensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CProximitySensor_Windows__CDevices__CSensors__CProximitySensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IProximitySensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IProximitySensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -142,7 +142,7 @@ public interface Interface : IInspectable.Interface HRESULT GetCurrentReading([NativeTypeName("ABI::Windows::Devices::Sensors::IProximitySensorReading **")] IProximitySensorReading** value); [VtblIndex(10)] - HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CProximitySensor_Windows__CDevices__CSensors__CProximitySensorReadingChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ReadingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CProximitySensor_Windows__CDevices__CSensors__CProximitySensorReadingChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ReadingChanged(EventRegistrationToken token); @@ -185,7 +185,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetCurrentReading; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CProximitySensor_Windows__CDevices__CSensors__CProximitySensorReadingChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ReadingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ReadingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ReadingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorStatics2.cs index 18dcd531a4..a97b40b416 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CProximitySensorReading_t **")] IVectorView** result) + public HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CProximitySensorReading_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IProximitySensorStatics2*)Unsafe.AsPointer(ref this), triggerDetails, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IProximitySensorStatics2*)Unsafe.AsPointer(ref this), triggerDetails, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CProximitySensorReading_t **")] IVectorView** result); + HRESULT GetReadingsFromTriggerDetails([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *")] ISensorDataThresholdTriggerDetails* triggerDetails, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CProximitySensorReading_t **")] IVectorView>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails *, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSensors__CProximitySensorReading_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetReadingsFromTriggerDetails; + public delegate* unmanaged[MemberFunction]>**, int> GetReadingsFromTriggerDetails; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensor.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensor.cs index bd24065095..52442a7469 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensor.cs @@ -82,9 +82,9 @@ public HRESULT GetCurrentOrientation([NativeTypeName("ABI::Windows::Devices::Sen /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CSimpleOrientationSensor_Windows__CDevices__CSensors__CSimpleOrientationSensorOrientationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CSimpleOrientationSensor_Windows__CDevices__CSensors__CSimpleOrientationSensorOrientationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISimpleOrientationSensor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISimpleOrientationSensor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT GetCurrentOrientation([NativeTypeName("ABI::Windows::Devices::Sensors::SimpleOrientation *")] SimpleOrientation* value); [VtblIndex(7)] - HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CSimpleOrientationSensor_Windows__CDevices__CSensors__CSimpleOrientationSensorOrientationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CSimpleOrientationSensor_Windows__CDevices__CSensors__CSimpleOrientationSensorOrientationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_OrientationChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetCurrentOrientation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSensors__CSimpleOrientationSensor_Windows__CDevices__CSensors__CSimpleOrientationSensorOrientationChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OrientationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OrientationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OrientationChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorStatics2.cs index 1d20033137..d819bc5753 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorStatics2.cs @@ -82,9 +82,9 @@ public HRESULT GetDeviceSelector(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CSimpleOrientationSensor_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CSimpleOrientationSensor_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISimpleOrientationSensorStatics2*)Unsafe.AsPointer(ref this), deviceId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISimpleOrientationSensorStatics2*)Unsafe.AsPointer(ref this), deviceId, result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* value); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CSimpleOrientationSensor_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CSimpleOrientationSensor_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelector; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSensors__CSimpleOrientationSensor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCard.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCard.cs index bec5831847..a00718ec4b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCard.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCard.cs @@ -90,9 +90,9 @@ public HRESULT GetStatusAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsy /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAnswerToResetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** result) + public HRESULT GetAnswerToResetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmartCard*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmartCard*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetStatusAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardStatus_t **")] IAsyncOperation** result); [VtblIndex(8)] - HRESULT GetAnswerToResetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** result); + HRESULT GetAnswerToResetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetStatusAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAnswerToResetAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAnswerToResetAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroup.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroup.cs index b07a794425..c4d39a752c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroup.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroup.cs @@ -90,9 +90,9 @@ public HRESULT put_DisplayName(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_AppletIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector** value) + public HRESULT get_AppletIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmartCardAppletIdGroup*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmartCardAppletIdGroup*)Unsafe.AsPointer(ref this), value); } /// @@ -152,7 +152,7 @@ public interface Interface : IInspectable.Interface HRESULT put_DisplayName(HSTRING value); [VtblIndex(8)] - HRESULT get_AppletIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector** value); + HRESULT get_AppletIds([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **")] IVector>** value); [VtblIndex(9)] HRESULT get_SmartCardEmulationCategory([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory *")] SmartCardEmulationCategory* value); @@ -201,7 +201,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_DisplayName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AppletIds; + public delegate* unmanaged[MemberFunction]>**, int> get_AppletIds; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SmartCardEmulationCategory; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupFactory.cs index d1b5cd0c11..a57acedb1b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupFactory.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT Create(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t *")] IVector* appletIds, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory")] SmartCardEmulationCategory emulationCategory, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationType")] SmartCardEmulationType emulationType, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup **")] ISmartCardAppletIdGroup** result) + public HRESULT Create(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t *")] IVector>* appletIds, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory")] SmartCardEmulationCategory emulationCategory, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationType")] SmartCardEmulationType emulationType, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup **")] ISmartCardAppletIdGroup** result) { - return ((delegate* unmanaged[MemberFunction]*, SmartCardEmulationCategory, SmartCardEmulationType, ISmartCardAppletIdGroup**, int>)(lpVtbl[6]))((ISmartCardAppletIdGroupFactory*)Unsafe.AsPointer(ref this), displayName, appletIds, emulationCategory, emulationType, result); + return ((delegate* unmanaged[MemberFunction]>*, SmartCardEmulationCategory, SmartCardEmulationType, ISmartCardAppletIdGroup**, int>)(lpVtbl[6]))((ISmartCardAppletIdGroupFactory*)Unsafe.AsPointer(ref this), displayName, appletIds, emulationCategory, emulationType, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT Create(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t *")] IVector* appletIds, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory")] SmartCardEmulationCategory emulationCategory, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationType")] SmartCardEmulationType emulationType, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup **")] ISmartCardAppletIdGroup** result); + HRESULT Create(HSTRING displayName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t *")] IVector>* appletIds, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory")] SmartCardEmulationCategory emulationCategory, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardEmulationType")] SmartCardEmulationType emulationType, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup **")] ISmartCardAppletIdGroup** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CStreams__CIBuffer_t *, ABI::Windows::Devices::SmartCards::SmartCardEmulationCategory, ABI::Windows::Devices::SmartCards::SmartCardEmulationType, ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, SmartCardEmulationCategory, SmartCardEmulationType, ISmartCardAppletIdGroup**, int> Create; + public delegate* unmanaged[MemberFunction]>*, SmartCardEmulationCategory, SmartCardEmulationType, ISmartCardAppletIdGroup**, int> Create; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupRegistration.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupRegistration.cs index c186d54139..2a1f70ffc4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupRegistration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardAppletIdGroupRegistration.cs @@ -106,9 +106,9 @@ public HRESULT get_Id(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT SetAutomaticResponseApdusAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardAutomaticResponseApdu_t *")] IIterable* apdus, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + public HRESULT SetAutomaticResponseApdusAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardAutomaticResponseApdu_t *")] IIterable>* apdus, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[10]))((ISmartCardAppletIdGroupRegistration*)Unsafe.AsPointer(ref this), apdus, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[10]))((ISmartCardAppletIdGroupRegistration*)Unsafe.AsPointer(ref this), apdus, result); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id(Guid* value); [VtblIndex(10)] - HRESULT SetAutomaticResponseApdusAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardAutomaticResponseApdu_t *")] IIterable* apdus, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + HRESULT SetAutomaticResponseApdusAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardAutomaticResponseApdu_t *")] IIterable>* apdus, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardAutomaticResponseApdu_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetAutomaticResponseApdusAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> SetAutomaticResponseApdusAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnect.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnect.cs index 7b34bc0179..f18124f30e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnect.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ConnectAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardConnection_t **")] IAsyncOperation** result) + public HRESULT ConnectAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardConnection_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardConnect*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardConnect*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ConnectAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardConnection_t **")] IAsyncOperation** result); + HRESULT ConnectAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardConnection_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardConnection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ConnectAsync; + public delegate* unmanaged[MemberFunction]>**, int> ConnectAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnection.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnection.cs index ae30ea843a..8b2af0108c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardConnection.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT TransmitAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** result) + public HRESULT TransmitAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardConnection*)Unsafe.AsPointer(ref this), command, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardConnection*)Unsafe.AsPointer(ref this), command, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT TransmitAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** result); + HRESULT TransmitAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TransmitAsync; + public delegate* unmanaged[MemberFunction]>**, int> TransmitAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator.cs index 78e4bd8818..c648720066 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator.cs @@ -130,9 +130,9 @@ public HRESULT CreateCryptogramMaterialStorageKeyAsync([NativeTypeName("ABI::Win /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT RequestCryptogramMaterialStorageKeyInfoAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType")] CryptographicPublicKeyBlobType format, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyInfo_t **")] IAsyncOperation** result) + public HRESULT RequestCryptogramMaterialStorageKeyInfoAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType")] CryptographicPublicKeyBlobType format, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((ISmartCardCryptogramGenerator*)Unsafe.AsPointer(ref this), promptingBehavior, storageKeyName, format, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((ISmartCardCryptogramGenerator*)Unsafe.AsPointer(ref this), promptingBehavior, storageKeyName, format, result); } /// @@ -146,9 +146,9 @@ public HRESULT ImportCryptogramMaterialPackageAsync([NativeTypeName("ABI::Window /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT TryProvePossessionOfCryptogramMaterialPackageAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat")] SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, HSTRING materialPackageName, HSTRING materialName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* challenge, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPossessionProof_t **")] IAsyncOperation** result) + public HRESULT TryProvePossessionOfCryptogramMaterialPackageAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat")] SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, HSTRING materialPackageName, HSTRING materialName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* challenge, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPossessionProof_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((ISmartCardCryptogramGenerator*)Unsafe.AsPointer(ref this), promptingBehavior, responseFormat, materialPackageName, materialName, challenge, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((ISmartCardCryptogramGenerator*)Unsafe.AsPointer(ref this), promptingBehavior, responseFormat, materialPackageName, materialName, challenge, result); } /// @@ -191,13 +191,13 @@ public interface Interface : IInspectable.Interface HRESULT CreateCryptogramMaterialStorageKeyAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm")] SmartCardCryptogramStorageKeyAlgorithm algorithm, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities")] SmartCardCryptogramStorageKeyCapabilities capabilities, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); [VtblIndex(13)] - HRESULT RequestCryptogramMaterialStorageKeyInfoAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType")] CryptographicPublicKeyBlobType format, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyInfo_t **")] IAsyncOperation** result); + HRESULT RequestCryptogramMaterialStorageKeyInfoAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType")] CryptographicPublicKeyBlobType format, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyInfo_t **")] IAsyncOperation>** result); [VtblIndex(14)] HRESULT ImportCryptogramMaterialPackageAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat")] SmartCardCryptogramMaterialPackageFormat format, HSTRING storageKeyName, HSTRING materialPackageName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* cryptogramMaterialPackage, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); [VtblIndex(15)] - HRESULT TryProvePossessionOfCryptogramMaterialPackageAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat")] SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, HSTRING materialPackageName, HSTRING materialName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* challenge, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPossessionProof_t **")] IAsyncOperation** result); + HRESULT TryProvePossessionOfCryptogramMaterialPackageAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat")] SmartCardCryptogramMaterialPackageConfirmationResponseFormat responseFormat, HSTRING materialPackageName, HSTRING materialName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* challenge, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPossessionProof_t **")] IAsyncOperation>** result); [VtblIndex(16)] HRESULT RequestUnlockCryptogramMaterialForUseAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); @@ -249,13 +249,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> CreateCryptogramMaterialStorageKeyAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior, HSTRING, ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestCryptogramMaterialStorageKeyInfoAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestCryptogramMaterialStorageKeyInfoAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat, HSTRING, HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ImportCryptogramMaterialPackageAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior, ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat, HSTRING, HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPossessionProof_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryProvePossessionOfCryptogramMaterialPackageAsync; + public delegate* unmanaged[MemberFunction]>**, int> TryProvePossessionOfCryptogramMaterialPackageAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestUnlockCryptogramMaterialForUseAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator2.cs index f52a740a90..beda148dba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGenerator2.cs @@ -74,59 +74,59 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ValidateRequestApduAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* apduToValidate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) + public HRESULT ValidateRequestApduAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* apduToValidate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), promptingBehavior, apduToValidate, cryptogramPlacementSteps, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int>)(lpVtbl[6]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), promptingBehavior, apduToValidate, cryptogramPlacementSteps, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetAllCryptogramStorageKeyCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_t **")] IAsyncOperation** result) + public HRESULT GetAllCryptogramStorageKeyCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAllCryptogramMaterialPackageCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation** result) + public HRESULT GetAllCryptogramMaterialPackageCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation** result) + public HRESULT GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), storageKeyName, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), storageKeyName, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetAllCryptogramMaterialCharacteristicsAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING materialPackageName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_t **")] IAsyncOperation** result) + public HRESULT GetAllCryptogramMaterialCharacteristicsAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING materialPackageName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), promptingBehavior, materialPackageName, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((ISmartCardCryptogramGenerator2*)Unsafe.AsPointer(ref this), promptingBehavior, materialPackageName, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ValidateRequestApduAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* apduToValidate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); + HRESULT ValidateRequestApduAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* apduToValidate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); [VtblIndex(7)] - HRESULT GetAllCryptogramStorageKeyCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_t **")] IAsyncOperation** result); + HRESULT GetAllCryptogramStorageKeyCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT GetAllCryptogramMaterialPackageCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation** result); + HRESULT GetAllCryptogramMaterialPackageCharacteristicsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation** result); + HRESULT GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(HSTRING storageKeyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT GetAllCryptogramMaterialCharacteristicsAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING materialPackageName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_t **")] IAsyncOperation** result); + HRESULT GetAllCryptogramMaterialCharacteristicsAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior")] SmartCardUnlockPromptingBehavior promptingBehavior, HSTRING materialPackageName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -151,18 +151,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> ValidateRequestApduAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int> ValidateRequestApduAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllCryptogramStorageKeyCharacteristicsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAllCryptogramStorageKeyCharacteristicsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllCryptogramMaterialPackageCharacteristicsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAllCryptogramMaterialPackageCharacteristicsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllCryptogramMaterialCharacteristicsAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAllCryptogramMaterialCharacteristicsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGeneratorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGeneratorStatics.cs index d56a22d412..80003ab26b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGeneratorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGeneratorStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetSmartCardCryptogramGeneratorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGenerator_t **")] IAsyncOperation** result) + public HRESULT GetSmartCardCryptogramGeneratorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGenerator_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardCryptogramGeneratorStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardCryptogramGeneratorStatics*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetSmartCardCryptogramGeneratorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGenerator_t **")] IAsyncOperation** result); + HRESULT GetSmartCardCryptogramGeneratorAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGenerator_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGenerator_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSmartCardCryptogramGeneratorAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetSmartCardCryptogramGeneratorAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult.cs index 8ce4f3406b..d568d56139 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult.cs @@ -82,9 +82,9 @@ public HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::Smart /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialCharacteristics_t **")] IVectorView** value) + public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialCharacteristics_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus *")] SmartCardCryptogramGeneratorOperationStatus* value); [VtblIndex(7)] - HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialCharacteristics_t **")] IVectorView** value); + HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialCharacteristics_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OperationStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialCharacteristics_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Characteristics; + public delegate* unmanaged[MemberFunction]>**, int> get_Characteristics; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult.cs index 53ee52950d..73c7cf9c29 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult.cs @@ -82,9 +82,9 @@ public HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::Smart /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPackageCharacteristics_t **")] IVectorView** value) + public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPackageCharacteristics_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus *")] SmartCardCryptogramGeneratorOperationStatus* value); [VtblIndex(7)] - HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPackageCharacteristics_t **")] IVectorView** value); + HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPackageCharacteristics_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OperationStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramMaterialPackageCharacteristics_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Characteristics; + public delegate* unmanaged[MemberFunction]>**, int> get_Characteristics; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult.cs index 5b2def701e..23f61c630b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult.cs @@ -82,9 +82,9 @@ public HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::Smart /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyCharacteristics_t **")] IVectorView** value) + public HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyCharacteristics_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OperationStatus([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus *")] SmartCardCryptogramGeneratorOperationStatus* value); [VtblIndex(7)] - HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyCharacteristics_t **")] IVectorView** value); + HRESULT get_Characteristics([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyCharacteristics_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OperationStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramStorageKeyCharacteristics_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Characteristics; + public delegate* unmanaged[MemberFunction]>**, int> get_Characteristics; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulator2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulator2.cs index d09bd60575..f3d83d65bf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulator2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulator2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ApduReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorApduReceivedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_ApduReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorApduReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISmartCardEmulator2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISmartCardEmulator2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_ApduReceived(EventRegistrationToken value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ConnectionDeactivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorConnectionDeactivatedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_ConnectionDeactivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorConnectionDeactivatedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISmartCardEmulator2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISmartCardEmulator2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -122,13 +122,13 @@ public HRESULT IsHostCardEmulationSupported([NativeTypeName("boolean *")] byte* public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ApduReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorApduReceivedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_ApduReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorApduReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ApduReceived(EventRegistrationToken value); [VtblIndex(8)] - HRESULT add_ConnectionDeactivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorConnectionDeactivatedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_ConnectionDeactivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorConnectionDeactivatedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_ConnectionDeactivated(EventRegistrationToken value); @@ -162,13 +162,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorApduReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ApduReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ApduReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ApduReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardEmulator_Windows__CDevices__CSmartCards__CSmartCardEmulatorConnectionDeactivatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionDeactivated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionDeactivated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionDeactivated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorApduReceivedEventArgsWithCryptograms.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorApduReceivedEventArgsWithCryptograms.cs index 7c2af478b2..5b2f67230d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorApduReceivedEventArgsWithCryptograms.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorApduReceivedEventArgsWithCryptograms.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT TryRespondWithCryptogramsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) + public HRESULT TryRespondWithCryptogramsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((ISmartCardEmulatorApduReceivedEventArgsWithCryptograms*)Unsafe.AsPointer(ref this), responseTemplate, cryptogramPlacementSteps, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int>)(lpVtbl[6]))((ISmartCardEmulatorApduReceivedEventArgsWithCryptograms*)Unsafe.AsPointer(ref this), responseTemplate, cryptogramPlacementSteps, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT TryRespondWithCryptogramsAndStateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* nextState, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) + public HRESULT TryRespondWithCryptogramsAndStateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* nextState, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, IReference*, IAsyncOperation**, int>)(lpVtbl[7]))((ISmartCardEmulatorApduReceivedEventArgsWithCryptograms*)Unsafe.AsPointer(ref this), responseTemplate, cryptogramPlacementSteps, nextState, result); + return ((delegate* unmanaged[MemberFunction]>*, IReference*, IAsyncOperation**, int>)(lpVtbl[7]))((ISmartCardEmulatorApduReceivedEventArgsWithCryptograms*)Unsafe.AsPointer(ref this), responseTemplate, cryptogramPlacementSteps, nextState, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT TryRespondWithCryptogramsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); + HRESULT TryRespondWithCryptogramsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); [VtblIndex(7)] - HRESULT TryRespondWithCryptogramsAndStateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* nextState, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); + HRESULT TryRespondWithCryptogramsAndStateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* responseTemplate, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *")] IIterable>* cryptogramPlacementSteps, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* nextState, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **")] IAsyncOperation** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> TryRespondWithCryptogramsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int> TryRespondWithCryptogramsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramPlacementStep_t *, ABI::Windows::Foundation::__FIReference_1_UINT32_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardCryptogramGeneratorOperationStatus_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IReference*, IAsyncOperation**, int> TryRespondWithCryptogramsAndStateAsync; + public delegate* unmanaged[MemberFunction]>*, IReference*, IAsyncOperation**, int> TryRespondWithCryptogramsAndStateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics.cs index b636586aa3..60816a2a08 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardEmulator_t **")] IAsyncOperation** result) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardEmulator_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardEmulatorStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardEmulatorStatics*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardEmulator_t **")] IAsyncOperation** result); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardEmulator_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardEmulator_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics2.cs index 6c79b1c85f..c45d282837 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardEmulatorStatics2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAppletIdGroupRegistrationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation** result) + public HRESULT GetAppletIdGroupRegistrationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardEmulatorStatics2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ISmartCardEmulatorStatics2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RegisterAppletIdGroupAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup *")] ISmartCardAppletIdGroup* appletIdGroup, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation** result) + public HRESULT RegisterAppletIdGroupAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup *")] ISmartCardAppletIdGroup* appletIdGroup, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardEmulatorStatics2*)Unsafe.AsPointer(ref this), appletIdGroup, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardEmulatorStatics2*)Unsafe.AsPointer(ref this), appletIdGroup, result); } /// @@ -106,10 +106,10 @@ public HRESULT get_MaxAppletIdGroupRegistrations([NativeTypeName("UINT16 *")] us public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAppletIdGroupRegistrationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation** result); + HRESULT GetAppletIdGroupRegistrationsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation>>>** result); [VtblIndex(7)] - HRESULT RegisterAppletIdGroupAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup *")] ISmartCardAppletIdGroup* appletIdGroup, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation** result); + HRESULT RegisterAppletIdGroupAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup *")] ISmartCardAppletIdGroup* appletIdGroup, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **")] IAsyncOperation>** result); [VtblIndex(8)] HRESULT UnregisterAppletIdGroupAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration *")] ISmartCardAppletIdGroupRegistration* registration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); @@ -140,10 +140,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppletIdGroupRegistrationsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetAppletIdGroupRegistrationsAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroup *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardAppletIdGroupRegistration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RegisterAppletIdGroupAsync; + public delegate* unmanaged[MemberFunction]>**, int> RegisterAppletIdGroupAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] UnregisterAppletIdGroupAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioning.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioning.cs index 18a91461b5..3c7ca1426a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioning.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioning.cs @@ -98,9 +98,9 @@ public HRESULT GetNameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsync /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetChallengeContextAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardChallengeContext_t **")] IAsyncOperation** result) + public HRESULT GetChallengeContextAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardChallengeContext_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ISmartCardProvisioning*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((ISmartCardProvisioning*)Unsafe.AsPointer(ref this), result); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT GetNameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); [VtblIndex(9)] - HRESULT GetChallengeContextAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardChallengeContext_t **")] IAsyncOperation** result); + HRESULT GetChallengeContextAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardChallengeContext_t **")] IAsyncOperation>** result); [VtblIndex(10)] HRESULT RequestPinChangeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetNameAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardChallengeContext_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetChallengeContextAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetChallengeContextAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestPinChangeAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics.cs index 8d7fa0a589..5d29b6f5ef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics.cs @@ -74,25 +74,25 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromSmartCardAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCard *")] ISmartCard* card, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result) + public HRESULT FromSmartCardAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCard *")] ISmartCard* card, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), card, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), card, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RequestVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result) + public HRESULT RequestVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT RequestVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result) + public HRESULT RequestVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, cardId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmartCardProvisioningStatics*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, cardId, result); } /// @@ -106,13 +106,13 @@ public HRESULT RequestVirtualSmartCardDeletionAsync([NativeTypeName("ABI::Window public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromSmartCardAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCard *")] ISmartCard* card, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result); + HRESULT FromSmartCardAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCard *")] ISmartCard* card, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT RequestVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result); + HRESULT RequestVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT RequestVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result); + HRESULT RequestVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result); [VtblIndex(9)] HRESULT RequestVirtualSmartCardDeletionAsync([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCard *")] ISmartCard* card, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::ISmartCard *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromSmartCardAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromSmartCardAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestVirtualSmartCardCreationAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestVirtualSmartCardCreationAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *, GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestVirtualSmartCardCreationAsyncWithCardId; + public delegate* unmanaged[MemberFunction]>**, int> RequestVirtualSmartCardCreationAsyncWithCardId; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::ISmartCard *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestVirtualSmartCardDeletionAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics2.cs index 6fe4c8038e..62249465b4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardProvisioningStatics2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestAttestedVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result) + public HRESULT RequestAttestedVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmartCardProvisioningStatics2*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmartCardProvisioningStatics2*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RequestAttestedVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result) + public HRESULT RequestAttestedVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmartCardProvisioningStatics2*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, cardId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmartCardProvisioningStatics2*)Unsafe.AsPointer(ref this), friendlyName, administrativeKey, pinPolicy, cardId, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestAttestedVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result); + HRESULT RequestAttestedVirtualSmartCardCreationAsync(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT RequestAttestedVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation** result); + HRESULT RequestAttestedVirtualSmartCardCreationAsyncWithCardId(HSTRING friendlyName, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* administrativeKey, [NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *")] ISmartCardPinPolicy* pinPolicy, Guid cardId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestAttestedVirtualSmartCardCreationAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestAttestedVirtualSmartCardCreationAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Devices::SmartCards::ISmartCardPinPolicy *, GUID, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardProvisioning_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestAttestedVirtualSmartCardCreationAsyncWithCardId; + public delegate* unmanaged[MemberFunction]>**, int> RequestAttestedVirtualSmartCardCreationAsyncWithCardId; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReader.cs index 9f961c7f85..97e70368d8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReader.cs @@ -106,17 +106,17 @@ public HRESULT GetStatusAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsy /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindAllCardsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCard_t **")] IAsyncOperation** result) + public HRESULT FindAllCardsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCard_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ISmartCardReader*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((ISmartCardReader*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_CardAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CardAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ISmartCardReader*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ISmartCardReader*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_CardAdded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_CardRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CardRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISmartCardReader*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISmartCardReader*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -158,16 +158,16 @@ public interface Interface : IInspectable.Interface HRESULT GetStatusAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReaderStatus_t **")] IAsyncOperation** result); [VtblIndex(10)] - HRESULT FindAllCardsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCard_t **")] IAsyncOperation** result); + HRESULT FindAllCardsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCard_t **")] IAsyncOperation>>>** result); [VtblIndex(11)] - HRESULT add_CardAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CardAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_CardAdded(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_CardRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CardRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_CardRemoved(EventRegistrationToken token); @@ -207,16 +207,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetStatusAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSmartCards__CSmartCard_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllCardsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllCardsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardAddedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CardAdded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CardAdded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CardAdded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSmartCards__CSmartCardReader_Windows__CDevices__CSmartCards__CCardRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CardRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CardRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CardRemoved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReaderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReaderStatics.cs index cb5c69b8b5..1eeef0a3eb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReaderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardReaderStatics.cs @@ -90,9 +90,9 @@ public HRESULT GetDeviceSelectorWithKind([NativeTypeName("ABI::Windows::Devices: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReader_t **")] IAsyncOperation** result) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReader_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmartCardReaderStatics*)Unsafe.AsPointer(ref this), deviceId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmartCardReaderStatics*)Unsafe.AsPointer(ref this), deviceId, result); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorWithKind([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardReaderKind")] SmartCardReaderKind kind, HSTRING* selector); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReader_t **")] IAsyncOperation** result); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReader_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeviceSelectorWithKind; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSmartCards__CSmartCardReader_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDevice2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDevice2.cs index e78b674f26..f1d63100a6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDevice2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDevice2.cs @@ -138,17 +138,17 @@ public HRESULT CalculateLength([NativeTypeName("ABI::Windows::Devices::Sms::ISms /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT SendMessageAndGetResultAsync([NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageBase *")] ISmsMessageBase* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsSendMessageResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT SendMessageAndGetResultAsync([NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageBase *")] ISmsMessageBase* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsSendMessageResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((ISmsDevice2*)Unsafe.AsPointer(ref this), message, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((ISmsDevice2*)Unsafe.AsPointer(ref this), message, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_DeviceStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsDevice2_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_DeviceStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsDevice2_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISmsDevice2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISmsDevice2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -186,10 +186,10 @@ public interface Interface : IInspectable.Interface HRESULT CalculateLength([NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageBase *")] ISmsMessageBase* message, [NativeTypeName("ABI::Windows::Devices::Sms::SmsEncodedLength *")] SmsEncodedLength* value); [VtblIndex(14)] - HRESULT SendMessageAndGetResultAsync([NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageBase *")] ISmsMessageBase* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsSendMessageResult_t **")] IAsyncOperation** asyncInfo); + HRESULT SendMessageAndGetResultAsync([NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageBase *")] ISmsMessageBase* message, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsSendMessageResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(15)] - HRESULT add_DeviceStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsDevice2_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_DeviceStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsDevice2_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(16)] HRESULT remove_DeviceStatusChanged(EventRegistrationToken eventCookie); @@ -241,10 +241,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CalculateLength; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sms::ISmsMessageBase *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsSendMessageResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendMessageAndGetResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> SendMessageAndGetResultAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsDevice2_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DeviceStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DeviceStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DeviceStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceMessageStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceMessageStore.cs index 33c8be87c4..c72bc1840d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceMessageStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceMessageStore.cs @@ -94,18 +94,18 @@ public HRESULT DeleteMessagesAsync([NativeTypeName("ABI::Windows::Devices::Sms:: [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - public HRESULT GetMessageAsync([NativeTypeName("UINT32")] uint messageId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CISmsMessage_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetMessageAsync([NativeTypeName("UINT32")] uint messageId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CISmsMessage_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmsDeviceMessageStore*)Unsafe.AsPointer(ref this), messageId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmsDeviceMessageStore*)Unsafe.AsPointer(ref this), messageId, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - public HRESULT GetMessagesAsync([NativeTypeName("ABI::Windows::Devices::Sms::SmsMessageFilter")] SmsMessageFilter messageFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2___FIVectorView_1_Windows__CDevices__CSms__CISmsMessage_int_t **")] IAsyncOperationWithProgress** asyncInfo) + public HRESULT GetMessagesAsync([NativeTypeName("ABI::Windows::Devices::Sms::SmsMessageFilter")] SmsMessageFilter messageFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2___FIVectorView_1_Windows__CDevices__CSms__CISmsMessage_int_t **")] IAsyncOperationWithProgress>>, int>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ISmsDeviceMessageStore*)Unsafe.AsPointer(ref this), messageFilter, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>, int>**, int>)(lpVtbl[9]))((ISmsDeviceMessageStore*)Unsafe.AsPointer(ref this), messageFilter, asyncInfo); } /// @@ -129,11 +129,11 @@ public interface Interface : IInspectable.Interface [VtblIndex(8)] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - HRESULT GetMessageAsync([NativeTypeName("UINT32")] uint messageId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CISmsMessage_t **")] IAsyncOperation** asyncInfo); + HRESULT GetMessageAsync([NativeTypeName("UINT32")] uint messageId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CISmsMessage_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(9)] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - HRESULT GetMessagesAsync([NativeTypeName("ABI::Windows::Devices::Sms::SmsMessageFilter")] SmsMessageFilter messageFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2___FIVectorView_1_Windows__CDevices__CSms__CISmsMessage_int_t **")] IAsyncOperationWithProgress** asyncInfo); + HRESULT GetMessagesAsync([NativeTypeName("ABI::Windows::Devices::Sms::SmsMessageFilter")] SmsMessageFilter messageFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2___FIVectorView_1_Windows__CDevices__CSms__CISmsMessage_int_t **")] IAsyncOperationWithProgress>>, int>** asyncInfo); [VtblIndex(10)] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] @@ -171,11 +171,11 @@ public partial struct Vtbl [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CISmsMessage_t **) __attribute__((stdcall))")] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]**, int> GetMessageAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetMessageAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sms::SmsMessageFilter, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2___FIVectorView_1_Windows__CDevices__CSms__CISmsMessage_int_t **) __attribute__((stdcall))")] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]**, int> GetMessagesAsync; + public delegate* unmanaged[MemberFunction]>>, int>**, int> GetMessagesAsync; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] [Obsolete("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics.cs index 454493bd37..0b70d67916 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics.cs @@ -85,18 +85,18 @@ public HRESULT GetDeviceSelector(HSTRING* phstrDeviceClassSelector) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo) + public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmsDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmsDeviceStatics*)Unsafe.AsPointer(ref this), deviceId, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISmsDeviceStatics*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISmsDeviceStatics*)Unsafe.AsPointer(ref this), asyncInfo); } public interface Interface : IInspectable.Interface @@ -107,11 +107,11 @@ public interface Interface : IInspectable.Interface [VtblIndex(7)] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo); + HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(8)] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -141,10 +141,10 @@ public partial struct Vtbl [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **) __attribute__((stdcall))")] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **) __attribute__((stdcall))")] [Obsolete("ISmsDeviceStatics may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics2.cs index 28610f015f..9412f1c2f1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsDeviceStatics2.cs @@ -76,16 +76,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.")] - public HRESULT FromNetworkAccountIdAsync(HSTRING networkAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo) + public HRESULT FromNetworkAccountIdAsync(HSTRING networkAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmsDeviceStatics2*)Unsafe.AsPointer(ref this), networkAccountId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmsDeviceStatics2*)Unsafe.AsPointer(ref this), networkAccountId, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.")] - HRESULT FromNetworkAccountIdAsync(HSTRING networkAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation** asyncInfo); + HRESULT FromNetworkAccountIdAsync(HSTRING networkAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -111,6 +111,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSms__CSmsDevice_t **) __attribute__((stdcall))")] [Obsolete("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.")] - public delegate* unmanaged[MemberFunction]**, int> FromNetworkAccountIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromNetworkAccountIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsFilterRules.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsFilterRules.cs index f0cc56c215..e57a8adfd8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsFilterRules.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsFilterRules.cs @@ -82,9 +82,9 @@ public HRESULT get_ActionType([NativeTypeName("ABI::Windows::Devices::Sms::SmsFi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Rules([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSms__CSmsFilterRule_t **")] IVector** value) + public HRESULT get_Rules([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSms__CSmsFilterRule_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISmsFilterRules*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISmsFilterRules*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ActionType([NativeTypeName("ABI::Windows::Devices::Sms::SmsFilterActionType *")] SmsFilterActionType* value); [VtblIndex(7)] - HRESULT get_Rules([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSms__CSmsFilterRule_t **")] IVector** value); + HRESULT get_Rules([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSms__CSmsFilterRule_t **")] IVector>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ActionType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CDevices__CSms__CSmsFilterRule_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Rules; + public delegate* unmanaged[MemberFunction]>**, int> get_Rules; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistration.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistration.cs index c9d5764216..7a26c791a5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistration.cs @@ -90,9 +90,9 @@ public HRESULT Unregister() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsMessageRegistration_Windows__CDevices__CSms__CSmsMessageReceivedTriggerDetails_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsMessageRegistration_Windows__CDevices__CSms__CSmsMessageReceivedTriggerDetails_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISmsMessageRegistration*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISmsMessageRegistration*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT Unregister(); [VtblIndex(8)] - HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsMessageRegistration_Windows__CDevices__CSms__CSmsMessageReceivedTriggerDetails_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsMessageRegistration_Windows__CDevices__CSms__CSmsMessageReceivedTriggerDetails_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(9)] HRESULT remove_MessageReceived(EventRegistrationToken eventCookie); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Unregister; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CDevices__CSms__CSmsMessageRegistration_Windows__CDevices__CSms__CSmsMessageReceivedTriggerDetails_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MessageReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MessageReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistrationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistrationStatics.cs index 03f4f6b5d0..2784f52158 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistrationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsMessageRegistrationStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AllRegistrations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CSmsMessageRegistration_t **")] IVectorView** value) + public HRESULT get_AllRegistrations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CSmsMessageRegistration_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISmsMessageRegistrationStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISmsMessageRegistrationStatics*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT Register(HSTRING id, [NativeTypeName("ABI::Windows::Devices::Sms: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AllRegistrations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CSmsMessageRegistration_t **")] IVectorView** value); + HRESULT get_AllRegistrations([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CSmsMessageRegistration_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT Register(HSTRING id, [NativeTypeName("ABI::Windows::Devices::Sms::ISmsFilterRules *")] ISmsFilterRules* filterRules, [NativeTypeName("ABI::Windows::Devices::Sms::ISmsMessageRegistration **")] ISmsMessageRegistration** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CSmsMessageRegistration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllRegistrations; + public delegate* unmanaged[MemberFunction]>**, int> get_AllRegistrations; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Sms::ISmsFilterRules *, ABI::Windows::Devices::Sms::ISmsMessageRegistration **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Register; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs index c4a077b0d5..b6a1780529 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs @@ -184,9 +184,9 @@ public HRESULT put_Encoding([NativeTypeName("ABI::Windows::Devices::Sms::SmsEnco [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - public HRESULT ToBinaryMessages([NativeTypeName("ABI::Windows::Devices::Sms::SmsDataFormat")] SmsDataFormat format, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CISmsBinaryMessage_t **")] IVectorView** messages) + public HRESULT ToBinaryMessages([NativeTypeName("ABI::Windows::Devices::Sms::SmsDataFormat")] SmsDataFormat format, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CISmsBinaryMessage_t **")] IVectorView>** messages) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((ISmsTextMessage*)Unsafe.AsPointer(ref this), format, messages); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((ISmsTextMessage*)Unsafe.AsPointer(ref this), format, messages); } public interface Interface : IInspectable.Interface @@ -241,7 +241,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(18)] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - HRESULT ToBinaryMessages([NativeTypeName("ABI::Windows::Devices::Sms::SmsDataFormat")] SmsDataFormat format, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CISmsBinaryMessage_t **")] IVectorView** messages); + HRESULT ToBinaryMessages([NativeTypeName("ABI::Windows::Devices::Sms::SmsDataFormat")] SmsDataFormat format, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CISmsBinaryMessage_t **")] IVectorView>** messages); } public partial struct Vtbl @@ -315,6 +315,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Devices::Sms::SmsDataFormat, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CDevices__CSms__CISmsBinaryMessage_t **) __attribute__((stdcall))")] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - public delegate* unmanaged[MemberFunction]**, int> ToBinaryMessages; + public delegate* unmanaged[MemberFunction]>**, int> ToBinaryMessages; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi.provider/ISpiProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi.provider/ISpiProvider.cs index bb8d5b73a0..7fb58b6c02 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi.provider/ISpiProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi.provider/ISpiProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CProvider__CISpiControllerProvider_t **")] IAsyncOperation** result) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CProvider__CISpiControllerProvider_t **")] IAsyncOperation>>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpiProvider*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ISpiProvider*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CProvider__CISpiControllerProvider_t **")] IAsyncOperation** result); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CProvider__CISpiControllerProvider_t **")] IAsyncOperation>>>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CProvider__CISpiControllerProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiControllerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiControllerStatics.cs index c44a687885..100872d8c6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiControllerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiControllerStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation** operation) + public HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpiControllerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISpiControllerStatics*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Spi::Provider::ISpiProvider *")] ISpiProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation** operation) + public HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Spi::Provider::ISpiProvider *")] ISpiProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISpiControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((ISpiControllerStatics*)Unsafe.AsPointer(ref this), provider, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation** operation); + HRESULT GetDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Spi::Provider::ISpiProvider *")] ISpiProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation** operation); + HRESULT GetControllersAsync([NativeTypeName("ABI::Windows::Devices::Spi::Provider::ISpiProvider *")] ISpiProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CSpiController_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDefaultAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Spi::Provider::ISpiProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CDevices__CSpi__CSpiController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetControllersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetControllersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiDeviceStatics.cs index b29e98767d..0c1982fdf6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.spi/ISpiDeviceStatics.cs @@ -98,9 +98,9 @@ public HRESULT GetBusInfo(HSTRING busId, [NativeTypeName("ABI::Windows::Devices: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FromIdAsync(HSTRING busId, [NativeTypeName("ABI::Windows::Devices::Spi::ISpiConnectionSettings *")] ISpiConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING busId, [NativeTypeName("ABI::Windows::Devices::Spi::ISpiConnectionSettings *")] ISpiConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ISpiDeviceStatics*)Unsafe.AsPointer(ref this), busId, settings, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((ISpiDeviceStatics*)Unsafe.AsPointer(ref this), busId, settings, operation); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT GetBusInfo(HSTRING busId, [NativeTypeName("ABI::Windows::Devices::Spi::ISpiBusInfo **")] ISpiBusInfo** busInfo); [VtblIndex(9)] - HRESULT FromIdAsync(HSTRING busId, [NativeTypeName("ABI::Windows::Devices::Spi::ISpiConnectionSettings *")] ISpiConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING busId, [NativeTypeName("ABI::Windows::Devices::Spi::ISpiConnectionSettings *")] ISpiConnectionSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiDevice_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetBusInfo; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Devices::Spi::ISpiConnectionSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CSpi__CSpiDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IMemoryBufferReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IMemoryBufferReference.cs index 38989d2c9b..88e33bfefd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IMemoryBufferReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IMemoryBufferReference.cs @@ -82,9 +82,9 @@ public HRESULT get_Capacity([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CFoundation__CIMemoryBufferReference_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CFoundation__CIMemoryBufferReference_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMemoryBufferReference*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMemoryBufferReference*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Capacity([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(7)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CFoundation__CIMemoryBufferReference_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CFoundation__CIMemoryBufferReference_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_Closed(EventRegistrationToken cookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Capacity; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CFoundation__CIMemoryBufferReference_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.globalization/IJapanesePhoneticAnalyzerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.globalization/IJapanesePhoneticAnalyzerStatics.cs index fb8546020f..405141592f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.globalization/IJapanesePhoneticAnalyzerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.globalization/IJapanesePhoneticAnalyzerStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetWords(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView** result) + public HRESULT GetWords(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IJapanesePhoneticAnalyzerStatics*)Unsafe.AsPointer(ref this), input, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IJapanesePhoneticAnalyzerStatics*)Unsafe.AsPointer(ref this), input, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetWordsWithMonoRubyOption(HSTRING input, [NativeTypeName("boolean")] byte monoRuby, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView** result) + public HRESULT GetWordsWithMonoRubyOption(HSTRING input, [NativeTypeName("boolean")] byte monoRuby, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IJapanesePhoneticAnalyzerStatics*)Unsafe.AsPointer(ref this), input, monoRuby, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IJapanesePhoneticAnalyzerStatics*)Unsafe.AsPointer(ref this), input, monoRuby, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetWords(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView** result); + HRESULT GetWords(HSTRING input, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView>** result); [VtblIndex(7)] - HRESULT GetWordsWithMonoRubyOption(HSTRING input, [NativeTypeName("boolean")] byte monoRuby, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView** result); + HRESULT GetWordsWithMonoRubyOption(HSTRING input, [NativeTypeName("boolean")] byte monoRuby, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **")] IVectorView>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetWords; + public delegate* unmanaged[MemberFunction]>**, int> GetWords; [NativeTypeName("HRESULT (HSTRING, boolean, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CJapanesePhoneme_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetWordsWithMonoRubyOption; + public delegate* unmanaged[MemberFunction]>**, int> GetWordsWithMonoRubyOption; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display.core/IHdmiDisplayInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display.core/IHdmiDisplayInformation.cs index e8bbcf9818..18fc590f8a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display.core/IHdmiDisplayInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display.core/IHdmiDisplayInformation.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetSupportedDisplayModes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayMode_t **")] IVectorView** result) + public HRESULT GetSupportedDisplayModes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayMode_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHdmiDisplayInformation*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHdmiDisplayInformation*)Unsafe.AsPointer(ref this), result); } /// @@ -122,9 +122,9 @@ public HRESULT RequestSetCurrentDisplayModeWithHdrAndMetadataAsync([NativeTypeNa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_DisplayModesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayInformation_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_DisplayModesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IHdmiDisplayInformation*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IHdmiDisplayInformation*)Unsafe.AsPointer(ref this), value, token); } /// @@ -138,7 +138,7 @@ public HRESULT remove_DisplayModesChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetSupportedDisplayModes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayMode_t **")] IVectorView** result); + HRESULT GetSupportedDisplayModes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayMode_t **")] IVectorView>** result); [VtblIndex(7)] HRESULT GetCurrentDisplayMode([NativeTypeName("ABI::Windows::Graphics::Display::Core::IHdmiDisplayMode **")] IHdmiDisplayMode** result); @@ -156,7 +156,7 @@ public interface Interface : IInspectable.Interface HRESULT RequestSetCurrentDisplayModeWithHdrAndMetadataAsync([NativeTypeName("ABI::Windows::Graphics::Display::Core::IHdmiDisplayMode *")] IHdmiDisplayMode* mode, [NativeTypeName("ABI::Windows::Graphics::Display::Core::HdmiDisplayHdrOption")] HdmiDisplayHdrOption hdrOption, [NativeTypeName("ABI::Windows::Graphics::Display::Core::HdmiDisplayHdr2086Metadata")] HdmiDisplayHdr2086Metadata hdrMetadata, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(12)] - HRESULT add_DisplayModesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayInformation_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_DisplayModesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_DisplayModesChanged(EventRegistrationToken token); @@ -184,7 +184,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayMode_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSupportedDisplayModes; + public delegate* unmanaged[MemberFunction]>**, int> GetSupportedDisplayModes; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Display::Core::IHdmiDisplayMode **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetCurrentDisplayMode; @@ -202,7 +202,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestSetCurrentDisplayModeWithHdrAndMetadataAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CCore__CHdmiDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DisplayModesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DisplayModesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DisplayModesChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IBrightnessOverride.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IBrightnessOverride.cs index d39b73201f..c86afe22af 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IBrightnessOverride.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IBrightnessOverride.cs @@ -138,9 +138,9 @@ public HRESULT StopOverride() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -154,9 +154,9 @@ public HRESULT remove_IsSupportedChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -170,9 +170,9 @@ public HRESULT remove_IsOverrideActiveChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_BrightnessLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BrightnessLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IBrightnessOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -210,19 +210,19 @@ public interface Interface : IInspectable.Interface HRESULT StopOverride(); [VtblIndex(14)] - HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsSupportedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_IsSupportedChanged(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_IsOverrideActiveChanged(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_BrightnessLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BrightnessLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_BrightnessLevelChanged(EventRegistrationToken token); @@ -274,19 +274,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StopOverride; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsSupportedChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsSupportedChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsSupportedChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsOverrideActiveChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsOverrideActiveChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsOverrideActiveChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CBrightnessOverride_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BrightnessLevelChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BrightnessLevelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BrightnessLevelChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayEnhancementOverride.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayEnhancementOverride.cs index aadfec95cb..b1fbd0562a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayEnhancementOverride.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayEnhancementOverride.cs @@ -146,9 +146,9 @@ public HRESULT StopOverride() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_CanOverrideChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CanOverrideChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_CanOverrideChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,9 +178,9 @@ public HRESULT remove_IsOverrideActiveChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_DisplayEnhancementOverrideCapabilitiesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_Windows__CGraphics__CDisplay__CDisplayEnhancementOverrideCapabilitiesChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DisplayEnhancementOverrideCapabilitiesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_Windows__CGraphics__CDisplay__CDisplayEnhancementOverrideCapabilitiesChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IDisplayEnhancementOverride*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -221,19 +221,19 @@ public interface Interface : IInspectable.Interface HRESULT StopOverride(); [VtblIndex(15)] - HRESULT add_CanOverrideChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CanOverrideChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_CanOverrideChanged(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsOverrideActiveChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_IsOverrideActiveChanged(EventRegistrationToken token); [VtblIndex(19)] - HRESULT add_DisplayEnhancementOverrideCapabilitiesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_Windows__CGraphics__CDisplay__CDisplayEnhancementOverrideCapabilitiesChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DisplayEnhancementOverrideCapabilitiesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_Windows__CGraphics__CDisplay__CDisplayEnhancementOverrideCapabilitiesChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_DisplayEnhancementOverrideCapabilitiesChanged(EventRegistrationToken token); @@ -288,19 +288,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StopOverride; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CanOverrideChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CanOverrideChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CanOverrideChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsOverrideActiveChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsOverrideActiveChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsOverrideActiveChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayEnhancementOverride_Windows__CGraphics__CDisplay__CDisplayEnhancementOverrideCapabilitiesChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DisplayEnhancementOverrideCapabilitiesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DisplayEnhancementOverrideCapabilitiesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DisplayEnhancementOverrideCapabilitiesChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation.cs index 42b8af575f..c8df191ee9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation.cs @@ -90,9 +90,9 @@ public HRESULT get_NativeOrientation([NativeTypeName("ABI::Windows::Graphics::Di /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT get_RawDpiY(float* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_DpiChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DpiChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT get_StereoEnabled([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_StereoEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StereoEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,17 +178,17 @@ public HRESULT remove_StereoEnabledChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IDisplayInformation*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IDisplayInformation*)Unsafe.AsPointer(ref this), asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_ColorProfileChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ColorProfileChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IDisplayInformation*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -208,7 +208,7 @@ public interface Interface : IInspectable.Interface HRESULT get_NativeOrientation([NativeTypeName("ABI::Windows::Graphics::Display::DisplayOrientations *")] DisplayOrientations* value); [VtblIndex(8)] - HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OrientationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_OrientationChanged(EventRegistrationToken token); @@ -226,7 +226,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RawDpiY(float* value); [VtblIndex(14)] - HRESULT add_DpiChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DpiChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_DpiChanged(EventRegistrationToken token); @@ -235,16 +235,16 @@ public interface Interface : IInspectable.Interface HRESULT get_StereoEnabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(17)] - HRESULT add_StereoEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StereoEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_StereoEnabledChanged(EventRegistrationToken token); [VtblIndex(19)] - HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo); + HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(20)] - HRESULT add_ColorProfileChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ColorProfileChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(21)] HRESULT remove_ColorProfileChanged(EventRegistrationToken token); @@ -278,7 +278,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_NativeOrientation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OrientationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OrientationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OrientationChanged; @@ -296,7 +296,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RawDpiY; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DpiChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DpiChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DpiChanged; @@ -305,16 +305,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_StereoEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StereoEnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StereoEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StereoEnabledChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetColorProfileAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetColorProfileAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ColorProfileChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ColorProfileChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ColorProfileChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation5.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation5.cs index 9d9daba9cb..725487a2ed 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformation5.cs @@ -82,9 +82,9 @@ public HRESULT GetAdvancedColorInfo([NativeTypeName("ABI::Windows::Graphics::Dis /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_AdvancedColorInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AdvancedColorInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IDisplayInformation5*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IDisplayInformation5*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT GetAdvancedColorInfo([NativeTypeName("ABI::Windows::Graphics::Display::IAdvancedColorInfo **")] IAdvancedColorInfo** value); [VtblIndex(7)] - HRESULT add_AdvancedColorInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AdvancedColorInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_AdvancedColorInfoChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetAdvancedColorInfo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AdvancedColorInfoChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AdvancedColorInfoChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AdvancedColorInfoChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformationStatics.cs index 835130e715..79ae465fba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayInformationStatics.cs @@ -98,9 +98,9 @@ public HRESULT put_AutoRotationPreferences([NativeTypeName("ABI::Windows::Graphi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_DisplayContentsInvalidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DisplayContentsInvalidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDisplayInformationStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDisplayInformationStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT put_AutoRotationPreferences([NativeTypeName("ABI::Windows::Graphics::Display::DisplayOrientations")] DisplayOrientations value); [VtblIndex(9)] - HRESULT add_DisplayContentsInvalidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DisplayContentsInvalidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_DisplayContentsInvalidated(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_AutoRotationPreferences; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CDisplay__CDisplayInformation_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DisplayContentsInvalidated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DisplayContentsInvalidated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DisplayContentsInvalidated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayPropertiesStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayPropertiesStatics.cs index e152928e7f..2d10ebcaf0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayPropertiesStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.display/IDisplayPropertiesStatics.cs @@ -193,9 +193,9 @@ public HRESULT remove_StereoEnabledChanged(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] [Obsolete("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.")] - public HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IDisplayPropertiesStatics*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IDisplayPropertiesStatics*)Unsafe.AsPointer(ref this), asyncInfo); } /// @@ -290,7 +290,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(19)] [Obsolete("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.")] - HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo); + HRESULT GetColorProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(20)] [Obsolete("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.")] @@ -384,7 +384,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] [Obsolete("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.")] - public delegate* unmanaged[MemberFunction]**, int> GetColorProfileAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetColorProfileAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Display::IDisplayPropertiesEventHandler *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoder.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoder.cs index dc90c7da2f..428c55c149 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoder.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoder.cs @@ -106,9 +106,9 @@ public HRESULT GetPreviewAsync([NativeTypeName("ABI::Windows::Foundation::__FIAs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetFrameAsync([NativeTypeName("UINT32")] uint frameIndex, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapFrame_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetFrameAsync([NativeTypeName("UINT32")] uint frameIndex, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapFrame_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IBitmapDecoder*)Unsafe.AsPointer(ref this), frameIndex, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IBitmapDecoder*)Unsafe.AsPointer(ref this), frameIndex, asyncInfo); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT GetPreviewAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation** asyncInfo); [VtblIndex(10)] - HRESULT GetFrameAsync([NativeTypeName("UINT32")] uint frameIndex, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapFrame_t **")] IAsyncOperation** asyncInfo); + HRESULT GetFrameAsync([NativeTypeName("UINT32")] uint frameIndex, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapFrame_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetPreviewAsync; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapFrame_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFrameAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFrameAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoderStatics.cs index 173bf7791e..d0f3b7e95c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapDecoderStatics.cs @@ -130,25 +130,25 @@ public HRESULT get_IcoDecoderId(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetDecoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView** decoderInformationEnumerator) + public HRESULT GetDecoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView>** decoderInformationEnumerator) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), decoderInformationEnumerator); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), decoderInformationEnumerator); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), stream, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), stream, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT CreateWithIdAsync(Guid decoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateWithIdAsync(Guid decoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), decoderId, stream, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IBitmapDecoderStatics*)Unsafe.AsPointer(ref this), decoderId, stream, asyncInfo); } public interface Interface : IInspectable.Interface @@ -175,13 +175,13 @@ public interface Interface : IInspectable.Interface HRESULT get_IcoDecoderId(Guid* value); [VtblIndex(13)] - HRESULT GetDecoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView** decoderInformationEnumerator); + HRESULT GetDecoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView>** decoderInformationEnumerator); [VtblIndex(14)] - HRESULT CreateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(15)] - HRESULT CreateWithIdAsync(Guid decoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateWithIdAsync(Guid decoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -227,12 +227,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IcoDecoderId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDecoderInformationEnumerator; + public delegate* unmanaged[MemberFunction]>**, int> GetDecoderInformationEnumerator; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapDecoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateWithIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateWithIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoder.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoder.cs index e70d1e80d7..04647be76e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoder.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoder.cs @@ -170,9 +170,9 @@ public HRESULT GoToNextFrameAsync([NativeTypeName("ABI::Windows::Foundation::IAs /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT GoToNextFrameWithEncodingOptionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) + public HRESULT GoToNextFrameWithEncodingOptionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[18]))((IBitmapEncoder*)Unsafe.AsPointer(ref this), encodingOptions, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int>)(lpVtbl[18]))((IBitmapEncoder*)Unsafe.AsPointer(ref this), encodingOptions, asyncInfo); } /// @@ -222,7 +222,7 @@ public interface Interface : IInspectable.Interface HRESULT GoToNextFrameAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(18)] - HRESULT GoToNextFrameWithEncodingOptionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); + HRESULT GoToNextFrameWithEncodingOptionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(19)] HRESULT FlushAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -286,7 +286,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GoToNextFrameAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> GoToNextFrameWithEncodingOptionsAsync; + public delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int> GoToNextFrameWithEncodingOptionsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] FlushAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoderStatics.cs index 9920e61711..df34376962 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapEncoderStatics.cs @@ -122,41 +122,41 @@ public HRESULT get_JpegXREncoderId(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetEncoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView** encoderInformationEnumerator) + public HRESULT GetEncoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView>** encoderInformationEnumerator) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderInformationEnumerator); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderInformationEnumerator); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT CreateAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderId, stream, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderId, stream, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT CreateWithEncodingOptionsAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateWithEncodingOptionsAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[14]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderId, stream, encodingOptions, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>>*, IAsyncOperation>**, int>)(lpVtbl[14]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), encoderId, stream, encodingOptions, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT CreateForTranscodingAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateForTranscodingAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), stream, bitmapDecoder, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), stream, bitmapDecoder, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT CreateForInPlacePropertyEncodingAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo) + public HRESULT CreateForInPlacePropertyEncodingAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), bitmapDecoder, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IBitmapEncoderStatics*)Unsafe.AsPointer(ref this), bitmapDecoder, asyncInfo); } public interface Interface : IInspectable.Interface @@ -180,19 +180,19 @@ public interface Interface : IInspectable.Interface HRESULT get_JpegXREncoderId(Guid* value); [VtblIndex(12)] - HRESULT GetEncoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView** encoderInformationEnumerator); + HRESULT GetEncoderInformationEnumerator([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **")] IVectorView>** encoderInformationEnumerator); [VtblIndex(13)] - HRESULT CreateAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(14)] - HRESULT CreateWithEncodingOptionsAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateWithEncodingOptionsAsync(Guid encoderId, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* encodingOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(15)] - HRESULT CreateForTranscodingAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateForTranscodingAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(16)] - HRESULT CreateForInPlacePropertyEncodingAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation** asyncInfo); + HRESULT CreateForInPlacePropertyEncodingAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapDecoder *")] IBitmapDecoder* bitmapDecoder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -235,18 +235,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_JpegXREncoderId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapCodecInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEncoderInformationEnumerator; + public delegate* unmanaged[MemberFunction]>**, int> GetEncoderInformationEnumerator; [NativeTypeName("HRESULT (GUID, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; [NativeTypeName("HRESULT (GUID, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> CreateWithEncodingOptionsAsync; + public delegate* unmanaged[MemberFunction]>>>*, IAsyncOperation>**, int> CreateWithEncodingOptionsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Graphics::Imaging::IBitmapDecoder *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateForTranscodingAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateForTranscodingAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::IBitmapDecoder *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CBitmapEncoder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateForInPlacePropertyEncodingAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateForInPlacePropertyEncodingAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrame.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrame.cs index 78e863eb8e..0dd6207f65 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrame.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrame.cs @@ -154,17 +154,17 @@ public HRESULT get_OrientedPixelHeight([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetPixelDataAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetPixelDataAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IBitmapFrame*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IBitmapFrame*)Unsafe.AsPointer(ref this), asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT GetPixelDataTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetPixelDataTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IBitmapFrame*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, transform, exifOrientationMode, colorManagementMode, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IBitmapFrame*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, transform, exifOrientationMode, colorManagementMode, asyncInfo); } public interface Interface : IInspectable.Interface @@ -200,10 +200,10 @@ public interface Interface : IInspectable.Interface HRESULT get_OrientedPixelHeight([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(16)] - HRESULT GetPixelDataAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation** asyncInfo); + HRESULT GetPixelDataAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(17)] - HRESULT GetPixelDataTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation** asyncInfo); + HRESULT GetPixelDataTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -258,9 +258,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OrientedPixelHeight; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPixelDataAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPixelDataAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapPixelFormat, ABI::Windows::Graphics::Imaging::BitmapAlphaMode, ABI::Windows::Graphics::Imaging::IBitmapTransform *, ABI::Windows::Graphics::Imaging::ExifOrientationMode, ABI::Windows::Graphics::Imaging::ColorManagementMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CPixelDataProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPixelDataTransformedAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPixelDataTransformedAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrameWithSoftwareBitmap.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrameWithSoftwareBitmap.cs index 92f444f86e..18d01e9334 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrameWithSoftwareBitmap.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapFrameWithSoftwareBitmap.cs @@ -74,37 +74,37 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetSoftwareBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value) + public HRESULT GetSoftwareBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetSoftwareBitmapConvertedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value) + public HRESULT GetSoftwareBitmapConvertedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetSoftwareBitmapTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value) + public HRESULT GetSoftwareBitmapTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, transform, exifOrientationMode, colorManagementMode, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBitmapFrameWithSoftwareBitmap*)Unsafe.AsPointer(ref this), pixelFormat, alphaMode, transform, exifOrientationMode, colorManagementMode, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetSoftwareBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value); + HRESULT GetSoftwareBitmapAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT GetSoftwareBitmapConvertedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value); + HRESULT GetSoftwareBitmapConvertedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value); [VtblIndex(8)] - HRESULT GetSoftwareBitmapTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value); + HRESULT GetSoftwareBitmapTransformedAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alphaMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::IBitmapTransform *")] IBitmapTransform* transform, [NativeTypeName("ABI::Windows::Graphics::Imaging::ExifOrientationMode")] ExifOrientationMode exifOrientationMode, [NativeTypeName("ABI::Windows::Graphics::Imaging::ColorManagementMode")] ColorManagementMode colorManagementMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSoftwareBitmapAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetSoftwareBitmapAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapPixelFormat, ABI::Windows::Graphics::Imaging::BitmapAlphaMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSoftwareBitmapConvertedAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetSoftwareBitmapConvertedAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapPixelFormat, ABI::Windows::Graphics::Imaging::BitmapAlphaMode, ABI::Windows::Graphics::Imaging::IBitmapTransform *, ABI::Windows::Graphics::Imaging::ExifOrientationMode, ABI::Windows::Graphics::Imaging::ColorManagementMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetSoftwareBitmapTransformedAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetSoftwareBitmapTransformedAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapProperties.cs index 4ddf507158..15b097e047 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/IBitmapProperties.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* propertiesToSet, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) + public HRESULT SetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* propertiesToSet, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[6]))((IBitmapProperties*)Unsafe.AsPointer(ref this), propertiesToSet, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int>)(lpVtbl[6]))((IBitmapProperties*)Unsafe.AsPointer(ref this), propertiesToSet, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable* propertiesToSet, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); + HRESULT SetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *")] IIterable>>>* propertiesToSet, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetPropertiesAsync; + public delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int> SetPropertiesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/ISoftwareBitmapStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/ISoftwareBitmapStatics.cs index a540880a0e..27435d4df0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/ISoftwareBitmapStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.imaging/ISoftwareBitmapStatics.cs @@ -114,17 +114,17 @@ public HRESULT CreateCopyWithAlphaFromBuffer([NativeTypeName("ABI::Windows::Stor /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CreateCopyFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value) + public HRESULT CreateCopyFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((ISoftwareBitmapStatics*)Unsafe.AsPointer(ref this), surface, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((ISoftwareBitmapStatics*)Unsafe.AsPointer(ref this), surface, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CreateCopyWithAlphaFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alpha, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value) + public HRESULT CreateCopyWithAlphaFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alpha, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ISoftwareBitmapStatics*)Unsafe.AsPointer(ref this), surface, alpha, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ISoftwareBitmapStatics*)Unsafe.AsPointer(ref this), surface, alpha, value); } public interface Interface : IInspectable.Interface @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT CreateCopyWithAlphaFromBuffer([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* source, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat format, [NativeTypeName("INT32")] int width, [NativeTypeName("INT32")] int height, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alpha, [NativeTypeName("ABI::Windows::Graphics::Imaging::ISoftwareBitmap **")] ISoftwareBitmap** value); [VtblIndex(11)] - HRESULT CreateCopyFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value); + HRESULT CreateCopyFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value); [VtblIndex(12)] - HRESULT CreateCopyWithAlphaFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alpha, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation** value); + HRESULT CreateCopyWithAlphaFromSurfaceAsync([NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *")] IDirect3DSurface* surface, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapAlphaMode")] BitmapAlphaMode alpha, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateCopyWithAlphaFromBuffer; [NativeTypeName("HRESULT (ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateCopyFromSurfaceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateCopyFromSurfaceAsync; [NativeTypeName("HRESULT (ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface *, ABI::Windows::Graphics::Imaging::BitmapAlphaMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateCopyWithAlphaFromSurfaceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateCopyWithAlphaFromSurfaceAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintManager.cs index 35334ce8ef..8f3557c225 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PrintTaskRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintManager_Windows__CGraphics__CPrinting__CPrintTaskRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_PrintTaskRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintManager_Windows__CGraphics__CPrinting__CPrintTaskRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPrintManager*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IPrintManager*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_PrintTaskRequested(EventRegistrationToken eventCookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PrintTaskRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintManager_Windows__CGraphics__CPrinting__CPrintTaskRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_PrintTaskRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintManager_Windows__CGraphics__CPrinting__CPrintTaskRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(7)] HRESULT remove_PrintTaskRequested(EventRegistrationToken eventCookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintManager_Windows__CGraphics__CPrinting__CPrintTaskRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrintTaskRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrintTaskRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrintTaskRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTask.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTask.cs index 62279a99d1..19522fff95 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTask.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTask.cs @@ -98,9 +98,9 @@ public HRESULT get_Options([NativeTypeName("ABI::Windows::Graphics::Printing::IP /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Previewing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_Previewing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Previewing(EventRegistrationToken eventCookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Submitting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_Submitting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Submitting(EventRegistrationToken eventCookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_Progressing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskProgressingEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_Progressing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskProgressingEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -146,9 +146,9 @@ public HRESULT remove_Progressing(EventRegistrationToken eventCookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskCompletedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IPrintTask*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -171,25 +171,25 @@ public interface Interface : IInspectable.Interface HRESULT get_Options([NativeTypeName("ABI::Windows::Graphics::Printing::IPrintTaskOptionsCore **")] IPrintTaskOptionsCore** value); [VtblIndex(9)] - HRESULT add_Previewing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_Previewing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(10)] HRESULT remove_Previewing(EventRegistrationToken eventCookie); [VtblIndex(11)] - HRESULT add_Submitting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_Submitting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(12)] HRESULT remove_Submitting(EventRegistrationToken eventCookie); [VtblIndex(13)] - HRESULT add_Progressing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskProgressingEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_Progressing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskProgressingEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(14)] HRESULT remove_Progressing(EventRegistrationToken eventCookie); [VtblIndex(15)] - HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskCompletedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(16)] HRESULT remove_Completed(EventRegistrationToken eventCookie); @@ -226,25 +226,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Options; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Previewing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Previewing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Previewing; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Submitting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Submitting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Submitting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskProgressingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Progressing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Progressing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Progressing; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CGraphics__CPrinting__CPrintTask_Windows__CGraphics__CPrinting__CPrintTaskCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Completed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Completed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Completed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskOptions2.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskOptions2.cs index 80295dc670..63caf03f7c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskOptions2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskOptions2.cs @@ -82,9 +82,9 @@ public HRESULT get_PageRangeOptions([NativeTypeName("ABI::Windows::Graphics::Pri /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_CustomPageRanges([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CGraphics__CPrinting__CPrintPageRange_t **")] IVector** value) + public HRESULT get_CustomPageRanges([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CGraphics__CPrinting__CPrintPageRange_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPrintTaskOptions2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPrintTaskOptions2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PageRangeOptions([NativeTypeName("ABI::Windows::Graphics::Printing::IPrintPageRangeOptions **")] IPrintPageRangeOptions** value); [VtblIndex(7)] - HRESULT get_CustomPageRanges([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CGraphics__CPrinting__CPrintPageRange_t **")] IVector** value); + HRESULT get_CustomPageRanges([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CGraphics__CPrinting__CPrintPageRange_t **")] IVector>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_PageRangeOptions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CGraphics__CPrinting__CPrintPageRange_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_CustomPageRanges; + public delegate* unmanaged[MemberFunction]>**, int> get_CustomPageRanges; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFileInputNode.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFileInputNode.cs index cc5863a6f2..3947093b18 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFileInputNode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFileInputNode.cs @@ -170,9 +170,9 @@ public HRESULT get_SourceFile([NativeTypeName("ABI::Windows::Storage::IStorageFi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_FileCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFileInputNode_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FileCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFileInputNode_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IAudioFileInputNode*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IAudioFileInputNode*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -222,7 +222,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SourceFile([NativeTypeName("ABI::Windows::Storage::IStorageFile **")] IStorageFile** value); [VtblIndex(18)] - HRESULT add_FileCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFileInputNode_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FileCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFileInputNode_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_FileCompleted(EventRegistrationToken token); @@ -286,7 +286,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SourceFile; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFileInputNode_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FileCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FileCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FileCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFrameInputNode.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFrameInputNode.cs index 213bce6fd8..cc17cafe65 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFrameInputNode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioFrameInputNode.cs @@ -114,9 +114,9 @@ public HRESULT get_QueuedSampleCount([NativeTypeName("UINT64 *")] ulong* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_AudioFrameCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CAudioFrameCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioFrameCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CAudioFrameCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAudioFrameInputNode*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAudioFrameInputNode*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_AudioFrameCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CFrameInputNodeQuantumStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CFrameInputNodeQuantumStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAudioFrameInputNode*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAudioFrameInputNode*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -161,13 +161,13 @@ public interface Interface : IInspectable.Interface HRESULT get_QueuedSampleCount([NativeTypeName("UINT64 *")] ulong* value); [VtblIndex(11)] - HRESULT add_AudioFrameCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CAudioFrameCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioFrameCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CAudioFrameCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_AudioFrameCompleted(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CFrameInputNodeQuantumStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CFrameInputNodeQuantumStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_QuantumStarted(EventRegistrationToken token); @@ -210,13 +210,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_QueuedSampleCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CAudioFrameCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioFrameCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioFrameCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioFrameCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioFrameInputNode_Windows__CMedia__CAudio__CFrameInputNodeQuantumStartedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_QuantumStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_QuantumStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_QuantumStarted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph.cs index 9be7939f35..d5d5d85e42 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph.cs @@ -90,25 +90,25 @@ public HRESULT CreateFrameInputNodeWithFormat([NativeTypeName("ABI::Windows::Med /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateDeviceInputNodeAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateDeviceInputNodeAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateDeviceInputNodeWithFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateDeviceInputNodeWithFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, encodingProperties, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, encodingProperties, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateDeviceInputNodeWithFormatOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateDeviceInputNodeWithFormatOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, encodingProperties, device, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IAudioGraph*)Unsafe.AsPointer(ref this), category, encodingProperties, device, result); } /// @@ -130,33 +130,33 @@ public HRESULT CreateFrameOutputNodeWithFormat([NativeTypeName("ABI::Windows::Me /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT CreateDeviceOutputNodeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceOutputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateDeviceOutputNodeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceOutputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAudioGraph*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IAudioGraph*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT CreateFileInputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateFileInputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT CreateFileOutputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateFileOutputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT CreateFileOutputNodeWithFileProfileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* fileEncodingProfile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateFileOutputNodeWithFileProfileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* fileEncodingProfile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, fileEncodingProfile, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IAudioGraph*)Unsafe.AsPointer(ref this), file, fileEncodingProfile, result); } /// @@ -202,9 +202,9 @@ public HRESULT ResetAllNodes() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[22]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -218,9 +218,9 @@ public HRESULT remove_QuantumStarted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_QuantumProcessed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_QuantumProcessed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -234,9 +234,9 @@ public HRESULT remove_QuantumProcessed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT add_UnrecoverableErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_Windows__CMedia__CAudio__CAudioGraphUnrecoverableErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UnrecoverableErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_Windows__CMedia__CAudio__CAudioGraphUnrecoverableErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[26]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[26]))((IAudioGraph*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -304,13 +304,13 @@ public interface Interface : IInspectable.Interface HRESULT CreateFrameInputNodeWithFormat([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Media::Audio::IAudioFrameInputNode **")] IAudioFrameInputNode** frameInputNode); [VtblIndex(8)] - HRESULT CreateDeviceInputNodeAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateDeviceInputNodeAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT CreateDeviceInputNodeWithFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateDeviceInputNodeWithFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT CreateDeviceInputNodeWithFormatOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateDeviceInputNodeWithFormatOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(11)] HRESULT CreateFrameOutputNode([NativeTypeName("ABI::Windows::Media::Audio::IAudioFrameOutputNode **")] IAudioFrameOutputNode** frameOutputNode); @@ -319,16 +319,16 @@ public interface Interface : IInspectable.Interface HRESULT CreateFrameOutputNodeWithFormat([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Media::Audio::IAudioFrameOutputNode **")] IAudioFrameOutputNode** frameOutputNode); [VtblIndex(13)] - HRESULT CreateDeviceOutputNodeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceOutputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateDeviceOutputNodeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceOutputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(14)] - HRESULT CreateFileInputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateFileInputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(15)] - HRESULT CreateFileOutputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateFileOutputNodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(16)] - HRESULT CreateFileOutputNodeWithFileProfileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* fileEncodingProfile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateFileOutputNodeWithFileProfileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* fileEncodingProfile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(17)] HRESULT CreateSubmixNode([NativeTypeName("ABI::Windows::Media::Audio::IAudioInputNode **")] IAudioInputNode** submixNode); @@ -346,19 +346,19 @@ public interface Interface : IInspectable.Interface HRESULT ResetAllNodes(); [VtblIndex(22)] - HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_QuantumStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(23)] HRESULT remove_QuantumStarted(EventRegistrationToken token); [VtblIndex(24)] - HRESULT add_QuantumProcessed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_QuantumProcessed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(25)] HRESULT remove_QuantumProcessed(EventRegistrationToken token); [VtblIndex(26)] - HRESULT add_UnrecoverableErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_Windows__CMedia__CAudio__CAudioGraphUnrecoverableErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UnrecoverableErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_Windows__CMedia__CAudio__CAudioGraphUnrecoverableErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(27)] HRESULT remove_UnrecoverableErrorOccurred(EventRegistrationToken token); @@ -410,13 +410,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFrameInputNodeWithFormat; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaCategory, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDeviceInputNodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDeviceInputNodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaCategory, ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDeviceInputNodeWithFormatAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDeviceInputNodeWithFormatAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaCategory, ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *, ABI::Windows::Devices::Enumeration::IDeviceInformation *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDeviceInputNodeWithFormatOnDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDeviceInputNodeWithFormatOnDeviceAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Audio::IAudioFrameOutputNode **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateFrameOutputNode; @@ -425,16 +425,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFrameOutputNodeWithFormat; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceOutputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDeviceOutputNodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDeviceOutputNodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileInputNodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileInputNodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileOutputNodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileOutputNodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileOutputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileOutputNodeWithFileProfileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileOutputNodeWithFileProfileAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Audio::IAudioInputNode **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateSubmixNode; @@ -452,19 +452,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ResetAllNodes; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_QuantumStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_QuantumStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_QuantumStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_QuantumProcessed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_QuantumProcessed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_QuantumProcessed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioGraph_Windows__CMedia__CAudio__CAudioGraphUnrecoverableErrorOccurredEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UnrecoverableErrorOccurred; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_UnrecoverableErrorOccurred; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UnrecoverableErrorOccurred; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph2.cs index c4a9a55f51..10357af162 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph2.cs @@ -82,17 +82,17 @@ public HRESULT CreateFrameInputNodeWithFormatAndEmitter([NativeTypeName("ABI::Wi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAudioGraph2*)Unsafe.AsPointer(ref this), category, encodingProperties, device, emitter, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAudioGraph2*)Unsafe.AsPointer(ref this), category, encodingProperties, device, emitter, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFileInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation** result) + public HRESULT CreateFileInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAudioGraph2*)Unsafe.AsPointer(ref this), file, emitter, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAudioGraph2*)Unsafe.AsPointer(ref this), file, emitter, result); } /// @@ -117,10 +117,10 @@ public interface Interface : IInspectable.Interface HRESULT CreateFrameInputNodeWithFormatAndEmitter([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Media::Audio::IAudioFrameInputNode **")] IAudioFrameInputNode** frameInputNode); [VtblIndex(7)] - HRESULT CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaCategory")] MediaCategory category, [NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT CreateFileInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation** result); + HRESULT CreateFileInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] HRESULT CreateSubmixNodeWithFormatAndEmitter([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Media::Audio::IAudioInputNode **")] IAudioInputNode** submixNode); @@ -154,10 +154,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFrameInputNodeWithFormatAndEmitter; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaCategory, ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *, ABI::Windows::Devices::Enumeration::IDeviceInformation *, ABI::Windows::Media::Audio::IAudioNodeEmitter *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioDeviceInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Media::Audio::IAudioNodeEmitter *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioFileInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileInputNodeWithEmitterAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileInputNodeWithEmitterAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *, ABI::Windows::Media::Audio::IAudioNodeEmitter *, ABI::Windows::Media::Audio::IAudioInputNode **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateSubmixNodeWithFormatAndEmitter; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph3.cs index c8c49a1157..1c1bae237a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraph3.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateMediaSourceAudioInputNodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation** operation) + public HRESULT CreateMediaSourceAudioInputNodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAudioGraph3*)Unsafe.AsPointer(ref this), mediaSource, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAudioGraph3*)Unsafe.AsPointer(ref this), mediaSource, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateMediaSourceAudioInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation** operation) + public HRESULT CreateMediaSourceAudioInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAudioGraph3*)Unsafe.AsPointer(ref this), mediaSource, emitter, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAudioGraph3*)Unsafe.AsPointer(ref this), mediaSource, emitter, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateMediaSourceAudioInputNodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation** operation); + HRESULT CreateMediaSourceAudioInputNodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT CreateMediaSourceAudioInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation** operation); + HRESULT CreateMediaSourceAudioInputNodeWithEmitterAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 *")] IMediaSource2* mediaSource, [NativeTypeName("ABI::Windows::Media::Audio::IAudioNodeEmitter *")] IAudioNodeEmitter* emitter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::IMediaSource2 *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateMediaSourceAudioInputNodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateMediaSourceAudioInputNodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::IMediaSource2 *, ABI::Windows::Media::Audio::IAudioNodeEmitter *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateMediaSourceAudioInputNodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateMediaSourceAudioInputNodeWithEmitterAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateMediaSourceAudioInputNodeWithEmitterAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraphStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraphStatics.cs index 3fefbe355a..c561e84160 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraphStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioGraphStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Media::Audio::IAudioGraphSettings *")] IAudioGraphSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioGraphResult_t **")] IAsyncOperation** result) + public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Media::Audio::IAudioGraphSettings *")] IAudioGraphSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioGraphResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAudioGraphStatics*)Unsafe.AsPointer(ref this), settings, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAudioGraphStatics*)Unsafe.AsPointer(ref this), settings, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateAsync([NativeTypeName("ABI::Windows::Media::Audio::IAudioGraphSettings *")] IAudioGraphSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioGraphResult_t **")] IAsyncOperation** result); + HRESULT CreateAsync([NativeTypeName("ABI::Windows::Media::Audio::IAudioGraphSettings *")] IAudioGraphSettings* settings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioGraphResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Audio::IAudioGraphSettings *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CCreateAudioGraphResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioInputNode.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioInputNode.cs index c5c8f5f9f8..2c1cd0780d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioInputNode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioInputNode.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_OutgoingConnections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CAudioGraphConnection_t **")] IVectorView** value) + public HRESULT get_OutgoingConnections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CAudioGraphConnection_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAudioInputNode*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAudioInputNode*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT RemoveOutgoingConnection([NativeTypeName("ABI::Windows::Media::Au public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_OutgoingConnections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CAudioGraphConnection_t **")] IVectorView** value); + HRESULT get_OutgoingConnections([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CAudioGraphConnection_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT AddOutgoingConnection([NativeTypeName("ABI::Windows::Media::Audio::IAudioNode *")] IAudioNode* destination); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CAudioGraphConnection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_OutgoingConnections; + public delegate* unmanaged[MemberFunction]>**, int> get_OutgoingConnections; [NativeTypeName("HRESULT (ABI::Windows::Media::Audio::IAudioNode *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AddOutgoingConnection; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNode.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNode.cs index 49c857ab1e..8fb0294d87 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNode.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_EffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value) + public HRESULT get_EffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAudioNode*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAudioNode*)Unsafe.AsPointer(ref this), value); } /// @@ -162,7 +162,7 @@ public HRESULT EnableEffectsByDefinition([NativeTypeName("ABI::Windows::Media::E public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_EffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value); + HRESULT get_EffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value); [VtblIndex(7)] HRESULT put_OutgoingGain(double value); @@ -217,7 +217,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_EffectDefinitions; + public delegate* unmanaged[MemberFunction]>**, int> get_EffectDefinitions; [NativeTypeName("HRESULT (DOUBLE) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_OutgoingGain; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioPlaybackConnection.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioPlaybackConnection.cs index af61b0f5f0..a13a337034 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioPlaybackConnection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioPlaybackConnection.cs @@ -114,17 +114,17 @@ public HRESULT Open([NativeTypeName("ABI::Windows::Media::Audio::IAudioPlaybackC /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CAudioPlaybackConnectionOpenResult_t **")] IAsyncOperation** operation) + public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CAudioPlaybackConnectionOpenResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IAudioPlaybackConnection*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IAudioPlaybackConnection*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioPlaybackConnection_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioPlaybackConnection_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAudioPlaybackConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAudioPlaybackConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -153,10 +153,10 @@ public interface Interface : IInspectable.Interface HRESULT Open([NativeTypeName("ABI::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult **")] IAudioPlaybackConnectionOpenResult** result); [VtblIndex(11)] - HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CAudioPlaybackConnectionOpenResult_t **")] IAsyncOperation** operation); + HRESULT OpenAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CAudioPlaybackConnectionOpenResult_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioPlaybackConnection_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioPlaybackConnection_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_StateChanged(EventRegistrationToken token); @@ -199,10 +199,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Open; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CAudioPlaybackConnectionOpenResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioPlaybackConnection_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioStateMonitor.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioStateMonitor.cs index 6fc10b4b23..56c8c3a9fb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioStateMonitor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioStateMonitor.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioStateMonitor_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioStateMonitor_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioStateMonitor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioStateMonitor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,7 +98,7 @@ public HRESULT get_SoundLevel([NativeTypeName("ABI::Windows::Media::SoundLevel * public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioStateMonitor_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioStateMonitor_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SoundLevelChanged(EventRegistrationToken token); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CAudioStateMonitor_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SoundLevelChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SoundLevelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SoundLevelChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IEqualizerEffectDefinition.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IEqualizerEffectDefinition.cs index ce20db0911..66c682ecaf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IEqualizerEffectDefinition.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IEqualizerEffectDefinition.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Bands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CEqualizerBand_t **")] IVectorView** value) + public HRESULT get_Bands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CEqualizerBand_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IEqualizerEffectDefinition*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IEqualizerEffectDefinition*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Bands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CEqualizerBand_t **")] IVectorView** value); + HRESULT get_Bands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CEqualizerBand_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CAudio__CEqualizerBand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Bands; + public delegate* unmanaged[MemberFunction]>**, int> get_Bands; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IMediaSourceAudioInputNode.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IMediaSourceAudioInputNode.cs index 9c5055a8c3..2a121d9ab9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IMediaSourceAudioInputNode.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IMediaSourceAudioInputNode.cs @@ -170,9 +170,9 @@ public HRESULT get_MediaSource([NativeTypeName("ABI::Windows::Media::Core::IMedi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_MediaSourceCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CMediaSourceAudioInputNode_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_MediaSourceCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CMediaSourceAudioInputNode_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaSourceAudioInputNode*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaSourceAudioInputNode*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -222,7 +222,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MediaSource([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 **")] IMediaSource2** value); [VtblIndex(18)] - HRESULT add_MediaSourceCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CMediaSourceAudioInputNode_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_MediaSourceCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CMediaSourceAudioInputNode_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_MediaSourceCompleted(EventRegistrationToken token); @@ -286,7 +286,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MediaSource; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CMediaSourceAudioInputNode_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MediaSourceCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MediaSourceCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MediaSourceCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/ISpatialAudioDeviceConfiguration.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/ISpatialAudioDeviceConfiguration.cs index d822e1683e..0527366c22 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/ISpatialAudioDeviceConfiguration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/ISpatialAudioDeviceConfiguration.cs @@ -114,17 +114,17 @@ public HRESULT get_DefaultSpatialAudioFormat(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT SetDefaultSpatialAudioFormatAsync(HSTRING subtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CSetDefaultSpatialAudioFormatResult_t **")] IAsyncOperation** operation) + public HRESULT SetDefaultSpatialAudioFormatAsync(HSTRING subtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CSetDefaultSpatialAudioFormatResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((ISpatialAudioDeviceConfiguration*)Unsafe.AsPointer(ref this), subtype, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((ISpatialAudioDeviceConfiguration*)Unsafe.AsPointer(ref this), subtype, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_ConfigurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CSpatialAudioDeviceConfiguration_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ConfigurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CSpatialAudioDeviceConfiguration_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((ISpatialAudioDeviceConfiguration*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((ISpatialAudioDeviceConfiguration*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -153,10 +153,10 @@ public interface Interface : IInspectable.Interface HRESULT get_DefaultSpatialAudioFormat(HSTRING* value); [VtblIndex(11)] - HRESULT SetDefaultSpatialAudioFormatAsync(HSTRING subtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CSetDefaultSpatialAudioFormatResult_t **")] IAsyncOperation** operation); + HRESULT SetDefaultSpatialAudioFormatAsync(HSTRING subtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CSetDefaultSpatialAudioFormatResult_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT add_ConfigurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CSpatialAudioDeviceConfiguration_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ConfigurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CSpatialAudioDeviceConfiguration_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_ConfigurationChanged(EventRegistrationToken token); @@ -199,10 +199,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_DefaultSpatialAudioFormat; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CAudio__CSetDefaultSpatialAudioFormatResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SetDefaultSpatialAudioFormatAsync; + public delegate* unmanaged[MemberFunction]>**, int> SetDefaultSpatialAudioFormatAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CAudio__CSpatialAudioDeviceConfiguration_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConfigurationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConfigurationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConfigurationChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.core/IVariablePhotoSequenceCapture.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.core/IVariablePhotoSequenceCapture.cs index c773fa04ff..d4ab40aa2b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.core/IVariablePhotoSequenceCapture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.core/IVariablePhotoSequenceCapture.cs @@ -98,9 +98,9 @@ public HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_Windows__CMedia__CCapture__CCore__CVariablePhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_Windows__CMedia__CCapture__CCore__CVariablePhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IVariablePhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IVariablePhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_PhotoCaptured(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IVariablePhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IVariablePhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,13 +139,13 @@ public interface Interface : IInspectable.Interface HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(9)] - HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_Windows__CMedia__CCapture__CCore__CVariablePhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_Windows__CMedia__CCapture__CCore__CVariablePhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PhotoCaptured(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -182,13 +182,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] FinishAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_Windows__CMedia__CCapture__CCore__CVariablePhotoCapturedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PhotoCaptured; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PhotoCaptured; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PhotoCaptured; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameFormat.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameFormat.cs index f9fbed87d7..449b359bec 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameFormat.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameFormat.cs @@ -98,9 +98,9 @@ public HRESULT get_FrameRate([NativeTypeName("ABI::Windows::Media::MediaProperti /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaFrameFormat*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaFrameFormat*)Unsafe.AsPointer(ref this), value); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT get_FrameRate([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaRatio **")] IMediaRatio** value); [VtblIndex(9)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value); [VtblIndex(10)] HRESULT get_VideoFormat([NativeTypeName("ABI::Windows::Media::Capture::Frames::IVideoMediaFrameFormat **")] IVideoMediaFrameFormat** value); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_FrameRate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IVideoMediaFrameFormat **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_VideoFormat; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReader.cs index c9dd5f9545..1d9e9042d4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMediaFrameArrivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMediaFrameArrivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaFrameReader*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaFrameReader*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,7 +114,7 @@ public HRESULT StopAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMediaFrameArrivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMediaFrameArrivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_FrameArrived(EventRegistrationToken token); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMediaFrameArrivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FrameArrived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FrameArrived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FrameArrived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReference.cs index 41f519b80b..4603015010 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameReference.cs @@ -106,9 +106,9 @@ public HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaFrameReference*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaFrameReference*)Unsafe.AsPointer(ref this), value); } /// @@ -150,7 +150,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(10)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value); [VtblIndex(11)] HRESULT get_BufferMediaFrame([NativeTypeName("ABI::Windows::Media::Capture::Frames::IBufferMediaFrame **")] IBufferMediaFrame** value); @@ -196,7 +196,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Duration; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IBufferMediaFrame **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_BufferMediaFrame; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSource.cs index 3611cfbfa0..8080e797a4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSource.cs @@ -90,9 +90,9 @@ public HRESULT get_Controller([NativeTypeName("ABI::Windows::Media::Capture::Fra /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_SupportedFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameFormat_t **")] IVectorView** value) + public HRESULT get_SupportedFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameFormat_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaFrameSource*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaFrameSource*)Unsafe.AsPointer(ref this), value); } /// @@ -114,9 +114,9 @@ public HRESULT SetFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::Fra /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_FormatChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FormatChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMediaFrameSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMediaFrameSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -144,7 +144,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Controller([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSourceController **")] IMediaFrameSourceController** value); [VtblIndex(8)] - HRESULT get_SupportedFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameFormat_t **")] IVectorView** value); + HRESULT get_SupportedFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameFormat_t **")] IVectorView>** value); [VtblIndex(9)] HRESULT get_CurrentFormat([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameFormat **")] IMediaFrameFormat** value); @@ -153,7 +153,7 @@ public interface Interface : IInspectable.Interface HRESULT SetFormatAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameFormat *")] IMediaFrameFormat* format, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); [VtblIndex(11)] - HRESULT add_FormatChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FormatChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_FormatChanged(EventRegistrationToken token); @@ -190,7 +190,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Controller; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameFormat_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedFormats; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedFormats; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IMediaFrameFormat **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CurrentFormat; @@ -199,7 +199,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetFormatAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FormatChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FormatChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FormatChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController.cs index 4443b1fe7e..cdfe2eea44 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetPropertyAsync(HSTRING propertyId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation** value) + public HRESULT GetPropertyAsync(HSTRING propertyId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaFrameSourceController*)Unsafe.AsPointer(ref this), propertyId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaFrameSourceController*)Unsafe.AsPointer(ref this), propertyId, value); } /// @@ -98,7 +98,7 @@ public HRESULT get_VideoDeviceController([NativeTypeName("ABI::Windows::Media::D public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetPropertyAsync(HSTRING propertyId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation** value); + HRESULT GetPropertyAsync(HSTRING propertyId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation>** value); [VtblIndex(7)] HRESULT SetPropertyAsync(HSTRING propertyId, IInspectable* propertyValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceSetPropertyStatus_t **")] IAsyncOperation** value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPropertyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPropertyAsync; [NativeTypeName("HRESULT (HSTRING, IInspectable *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceSetPropertyStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> SetPropertyAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController2.cs index a9e137cb1f..57feeba1dc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceController2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint extendedPropertyIdLength, byte* extendedPropertyId, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* maxPropertyValueSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation** operation) + public HRESULT GetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint extendedPropertyIdLength, byte* extendedPropertyId, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* maxPropertyValueSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((IMediaFrameSourceController2*)Unsafe.AsPointer(ref this), extendedPropertyIdLength, extendedPropertyId, maxPropertyValueSize, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[6]))((IMediaFrameSourceController2*)Unsafe.AsPointer(ref this), extendedPropertyIdLength, extendedPropertyId, maxPropertyValueSize, operation); } /// @@ -90,7 +90,7 @@ public HRESULT SetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint exte public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint extendedPropertyIdLength, byte* extendedPropertyId, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* maxPropertyValueSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation** operation); + HRESULT GetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint extendedPropertyIdLength, byte* extendedPropertyId, [NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t *")] IReference* maxPropertyValueSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT SetPropertyByExtendedIdAsync([NativeTypeName("UINT32")] uint extendedPropertyIdLength, byte* extendedPropertyId, [NativeTypeName("UINT32")] uint propertyValueLength, byte* propertyValue, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceSetPropertyStatus_t **")] IAsyncOperation** operation); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (UINT32, BYTE *, ABI::Windows::Foundation::__FIReference_1_UINT32_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGetPropertyResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> GetPropertyByExtendedIdAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> GetPropertyByExtendedIdAsync; [NativeTypeName("HRESULT (UINT32, BYTE *, UINT32, BYTE *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceSetPropertyStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> SetPropertyByExtendedIdAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroup.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroup.cs index 03bab11a4a..7f9463f08b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroup.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroup.cs @@ -90,9 +90,9 @@ public HRESULT get_DisplayName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_SourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView** value) + public HRESULT get_SourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaFrameSourceGroup*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaFrameSourceGroup*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_DisplayName(HSTRING* value); [VtblIndex(8)] - HRESULT get_SourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView** value); + HRESULT get_SourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_DisplayName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SourceInfos; + public delegate* unmanaged[MemberFunction]>**, int> get_SourceInfos; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroupStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroupStatics.cs index b2d87d79da..518f665d90 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroupStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceGroupStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation** value) + public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaFrameSourceGroupStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IMediaFrameSourceGroupStatics*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FromIdAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation** value) + public HRESULT FromIdAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaFrameSourceGroupStatics*)Unsafe.AsPointer(ref this), id, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaFrameSourceGroupStatics*)Unsafe.AsPointer(ref this), id, value); } /// @@ -98,10 +98,10 @@ public HRESULT GetDeviceSelector(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation** value); + HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation>>>** value); [VtblIndex(7)] - HRESULT FromIdAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation** value); + HRESULT FromIdAsync(HSTRING id, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **")] IAsyncOperation>** value); [VtblIndex(8)] HRESULT GetDeviceSelector(HSTRING* value); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceGroup_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeviceSelector; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo.cs index 683fd3b4cf..e41991915f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo.cs @@ -114,9 +114,9 @@ public HRESULT get_DeviceInformation([NativeTypeName("ABI::Windows::Devices::Enu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaFrameSourceInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaFrameSourceInfo*)Unsafe.AsPointer(ref this), value); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT get_DeviceInformation([NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation **")] IDeviceInformation** value); [VtblIndex(11)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value); [VtblIndex(12)] HRESULT get_CoordinateSystem([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialCoordinateSystem **")] ISpatialCoordinateSystem** value); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_DeviceInformation; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Perception::Spatial::ISpatialCoordinateSystem **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CoordinateSystem; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo2.cs index cd11c44d4d..a9194198c2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMediaFrameSourceInfo2.cs @@ -82,9 +82,9 @@ public HRESULT get_ProfileId(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_VideoProfileMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value) + public HRESULT get_VideoProfileMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaFrameSourceInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaFrameSourceInfo2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProfileId(HSTRING* value); [VtblIndex(7)] - HRESULT get_VideoProfileMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value); + HRESULT get_VideoProfileMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ProfileId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_VideoProfileMediaDescription; + public delegate* unmanaged[MemberFunction]>**, int> get_VideoProfileMediaDescription; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMultiSourceMediaFrameReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMultiSourceMediaFrameReader.cs index 0241175647..e2c802af08 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMultiSourceMediaFrameReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture.frames/IMultiSourceMediaFrameReader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameArrivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameArrivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMultiSourceMediaFrameReader*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMultiSourceMediaFrameReader*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,7 +114,7 @@ public HRESULT StopAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameArrivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameArrivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_FrameArrived(EventRegistrationToken token); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameArrivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FrameArrived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FrameArrived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FrameArrived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAdvancedPhotoCapture.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAdvancedPhotoCapture.cs index ff795de0a1..1b3179df45 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAdvancedPhotoCapture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAdvancedPhotoCapture.cs @@ -74,25 +74,25 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation** operation) + public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CaptureWithContextAsync(IInspectable* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation** operation) + public HRESULT CaptureWithContextAsync(IInspectable* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), context, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), context, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_OptionalReferencePhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_Windows__CMedia__CCapture__COptionalReferencePhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OptionalReferencePhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_Windows__CMedia__CCapture__COptionalReferencePhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_OptionalReferencePhotoCaptured(EventRegistrationToken toke /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_AllPhotosCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AllPhotosCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAdvancedPhotoCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,19 +130,19 @@ public HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation** operation); + HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT CaptureWithContextAsync(IInspectable* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation** operation); + HRESULT CaptureWithContextAsync(IInspectable* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT add_OptionalReferencePhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_Windows__CMedia__CCapture__COptionalReferencePhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OptionalReferencePhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_Windows__CMedia__CCapture__COptionalReferencePhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_OptionalReferencePhotoCaptured(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_AllPhotosCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AllPhotosCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_AllPhotosCaptured(EventRegistrationToken token); @@ -173,19 +173,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> CaptureAsync; [NativeTypeName("HRESULT (IInspectable *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedCapturedPhoto_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CaptureWithContextAsync; + public delegate* unmanaged[MemberFunction]>**, int> CaptureWithContextAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_Windows__CMedia__CCapture__COptionalReferencePhotoCapturedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OptionalReferencePhotoCaptured; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OptionalReferencePhotoCaptured; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OptionalReferencePhotoCaptured; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAdvancedPhotoCapture_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AllPhotosCaptured; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AllPhotosCaptured; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AllPhotosCaptured; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService.cs index 24ce7c5218..fddc5583fc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService.cs @@ -162,9 +162,9 @@ public HRESULT TerminateBroadcast([NativeTypeName("ABI::Windows::Media::Capture: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_HeartbeatRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_Windows__CMedia__CCapture__CAppBroadcastHeartbeatRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_HeartbeatRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_Windows__CMedia__CCapture__CAppBroadcastHeartbeatRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IAppBroadcastBackgroundService*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IAppBroadcastBackgroundService*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -219,7 +219,7 @@ public interface Interface : IInspectable.Interface HRESULT TerminateBroadcast([NativeTypeName("ABI::Windows::Media::Capture::AppBroadcastTerminationReason")] AppBroadcastTerminationReason reason, [NativeTypeName("UINT32")] uint providerSpecificReason); [VtblIndex(17)] - HRESULT add_HeartbeatRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_Windows__CMedia__CCapture__CAppBroadcastHeartbeatRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_HeartbeatRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_Windows__CMedia__CCapture__CAppBroadcastHeartbeatRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_HeartbeatRequested(EventRegistrationToken token); @@ -283,7 +283,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] TerminateBroadcast; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_Windows__CMedia__CCapture__CAppBroadcastHeartbeatRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HeartbeatRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_HeartbeatRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HeartbeatRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService2.cs index 37f4f86b01..95a6e89c1a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundService2.cs @@ -114,9 +114,9 @@ public HRESULT put_BroadcastChannel(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_BroadcastTitleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BroadcastTitleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_BroadcastTitleChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_BroadcastLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BroadcastLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_BroadcastLanguageChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_BroadcastChannelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BroadcastChannelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppBroadcastBackgroundService2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -177,19 +177,19 @@ public interface Interface : IInspectable.Interface HRESULT put_BroadcastChannel(HSTRING value); [VtblIndex(11)] - HRESULT add_BroadcastTitleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BroadcastTitleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_BroadcastTitleChanged(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_BroadcastLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BroadcastLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_BroadcastLanguageChanged(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_BroadcastChannelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BroadcastChannelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_BroadcastChannelChanged(EventRegistrationToken token); @@ -232,19 +232,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_BroadcastChannel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BroadcastTitleChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BroadcastTitleChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BroadcastTitleChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BroadcastLanguageChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BroadcastLanguageChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BroadcastLanguageChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundService_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BroadcastChannelChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BroadcastChannelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BroadcastChannelChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo.cs index f850093cbc..ae1cab730a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo.cs @@ -138,9 +138,9 @@ public HRESULT get_UserName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_SignInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_Windows__CMedia__CCapture__CAppBroadcastSignInStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SignInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_Windows__CMedia__CCapture__CAppBroadcastSignInStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppBroadcastBackgroundServiceSignInInfo*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppBroadcastBackgroundServiceSignInInfo*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,7 +178,7 @@ public interface Interface : IInspectable.Interface HRESULT get_UserName(HSTRING* value); [VtblIndex(14)] - HRESULT add_SignInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_Windows__CMedia__CCapture__CAppBroadcastSignInStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SignInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_Windows__CMedia__CCapture__CAppBroadcastSignInStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_SignInStateChanged(EventRegistrationToken token); @@ -230,7 +230,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UserName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_Windows__CMedia__CCapture__CAppBroadcastSignInStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SignInStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SignInStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SignInStateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo2.cs index ea56feb860..275d12777d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceSignInInfo2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_UserNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UserNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppBroadcastBackgroundServiceSignInInfo2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppBroadcastBackgroundServiceSignInInfo2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_UserNameChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_UserNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UserNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_UserNameChanged(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceSignInInfo_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UserNameChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_UserNameChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UserNameChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceStreamInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceStreamInfo.cs index e9fd3f2dd4..ac90d47c92 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceStreamInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastBackgroundServiceStreamInfo.cs @@ -138,9 +138,9 @@ public HRESULT get_BroadcastStreamReader([NativeTypeName("ABI::Windows::Media::C /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -154,9 +154,9 @@ public HRESULT remove_StreamStateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_VideoEncodingResolutionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VideoEncodingResolutionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -170,9 +170,9 @@ public HRESULT remove_VideoEncodingResolutionChanged(EventRegistrationToken toke /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_VideoEncodingBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VideoEncodingBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IAppBroadcastBackgroundServiceStreamInfo*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -210,19 +210,19 @@ public interface Interface : IInspectable.Interface HRESULT get_BroadcastStreamReader([NativeTypeName("ABI::Windows::Media::Capture::IAppBroadcastStreamReader **")] IAppBroadcastStreamReader** value); [VtblIndex(14)] - HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_StreamStateChanged(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_VideoEncodingResolutionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VideoEncodingResolutionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_VideoEncodingResolutionChanged(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_VideoEncodingBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VideoEncodingBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_VideoEncodingBitrateChanged(EventRegistrationToken token); @@ -274,19 +274,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_BroadcastStreamReader; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StreamStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StreamStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StreamStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoEncodingResolutionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoEncodingResolutionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoEncodingResolutionChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastBackgroundServiceStreamInfo_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoEncodingBitrateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoEncodingBitrateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoEncodingBitrateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPlugInManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPlugInManager.cs index c5f709e56d..10afe788f4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPlugInManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPlugInManager.cs @@ -82,9 +82,9 @@ public HRESULT get_IsBroadcastProviderAvailable([NativeTypeName("boolean *")] by /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_PlugInList([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CAppBroadcastPlugIn_t **")] IVectorView** value) + public HRESULT get_PlugInList([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CAppBroadcastPlugIn_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAppBroadcastPlugInManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAppBroadcastPlugInManager*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsBroadcastProviderAvailable([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT get_PlugInList([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CAppBroadcastPlugIn_t **")] IVectorView** value); + HRESULT get_PlugInList([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CAppBroadcastPlugIn_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_DefaultPlugIn([NativeTypeName("ABI::Windows::Media::Capture::IAppBroadcastPlugIn **")] IAppBroadcastPlugIn** value); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsBroadcastProviderAvailable; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CAppBroadcastPlugIn_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_PlugInList; + public delegate* unmanaged[MemberFunction]>**, int> get_PlugInList; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::IAppBroadcastPlugIn **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultPlugIn; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreview.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreview.cs index 9b18d1138b..6189ac3f24 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreview.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreview.cs @@ -98,9 +98,9 @@ public HRESULT get_ErrorCode([NativeTypeName("ABI::Windows::Foundation::__FIRefe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PreviewStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreview_Windows__CMedia__CCapture__CAppBroadcastPreviewStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PreviewStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreview_Windows__CMedia__CCapture__CAppBroadcastPreviewStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IAppBroadcastPreview*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IAppBroadcastPreview*)Unsafe.AsPointer(ref this), value, token); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ErrorCode([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT32_t **")] IReference** value); [VtblIndex(9)] - HRESULT add_PreviewStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreview_Windows__CMedia__CCapture__CAppBroadcastPreviewStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PreviewStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreview_Windows__CMedia__CCapture__CAppBroadcastPreviewStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PreviewStateChanged(EventRegistrationToken token); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ErrorCode; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreview_Windows__CMedia__CCapture__CAppBroadcastPreviewStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PreviewStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PreviewStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PreviewStateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamReader.cs index 116589b8be..8c7a13e093 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamReader.cs @@ -122,9 +122,9 @@ public HRESULT TryGetNextVideoFrame([NativeTypeName("ABI::Windows::Media::Captur /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreviewStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreviewStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppBroadcastPreviewStreamReader*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppBroadcastPreviewStreamReader*)Unsafe.AsPointer(ref this), value, token); } /// @@ -156,7 +156,7 @@ public interface Interface : IInspectable.Interface HRESULT TryGetNextVideoFrame([NativeTypeName("ABI::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame **")] IAppBroadcastPreviewStreamVideoFrame** frame); [VtblIndex(12)] - HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreviewStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreviewStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_VideoFrameArrived(EventRegistrationToken token); @@ -202,7 +202,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] TryGetNextVideoFrame; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastPreviewStreamReader_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoFrameArrived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoFrameArrived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoFrameArrived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastState.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastState.cs index 1cfdf88b5a..13679d4281 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastState.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastState.cs @@ -258,9 +258,9 @@ public HRESULT get_TerminationReasonPlugInSpecific([NativeTypeName("UINT32 *")] /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HRESULT add_ViewerCountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastViewerCountChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_ViewerCountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastViewerCountChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[29]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[29]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -274,9 +274,9 @@ public HRESULT remove_ViewerCountChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[31]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[31]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -290,9 +290,9 @@ public HRESULT remove_MicrophoneCaptureStateChanged(EventRegistrationToken token /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public HRESULT add_CameraCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastCameraCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_CameraCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastCameraCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[33]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[33]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -306,9 +306,9 @@ public HRESULT remove_CameraCaptureStateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public HRESULT add_PlugInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastPlugInStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PlugInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastPlugInStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[35]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[35]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -322,9 +322,9 @@ public HRESULT remove_PlugInStateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[37]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[37]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -338,9 +338,9 @@ public HRESULT remove_StreamStateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[39]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[39]))((IAppBroadcastState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -423,37 +423,37 @@ public interface Interface : IInspectable.Interface HRESULT get_TerminationReasonPlugInSpecific([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(29)] - HRESULT add_ViewerCountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastViewerCountChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_ViewerCountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastViewerCountChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(30)] HRESULT remove_ViewerCountChanged(EventRegistrationToken token); [VtblIndex(31)] - HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(32)] HRESULT remove_MicrophoneCaptureStateChanged(EventRegistrationToken token); [VtblIndex(33)] - HRESULT add_CameraCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastCameraCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_CameraCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastCameraCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(34)] HRESULT remove_CameraCaptureStateChanged(EventRegistrationToken token); [VtblIndex(35)] - HRESULT add_PlugInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastPlugInStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PlugInStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastPlugInStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(36)] HRESULT remove_PlugInStateChanged(EventRegistrationToken token); [VtblIndex(37)] - HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(38)] HRESULT remove_StreamStateChanged(EventRegistrationToken token); [VtblIndex(39)] - HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(40)] HRESULT remove_CaptureTargetClosed(EventRegistrationToken token); @@ -550,37 +550,37 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_TerminationReasonPlugInSpecific; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastViewerCountChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ViewerCountChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ViewerCountChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ViewerCountChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastMicrophoneCaptureStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MicrophoneCaptureStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MicrophoneCaptureStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MicrophoneCaptureStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastCameraCaptureStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CameraCaptureStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CameraCaptureStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CameraCaptureStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastPlugInStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlugInStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlugInStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlugInStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_Windows__CMedia__CCapture__CAppBroadcastStreamStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StreamStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StreamStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StreamStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastState_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CaptureTargetClosed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CaptureTargetClosed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CaptureTargetClosed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamReader.cs index 90f131aa5a..596897ad1b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamReader.cs @@ -146,9 +146,9 @@ public HRESULT TryGetNextVideoFrame([NativeTypeName("ABI::Windows::Media::Captur /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_AudioFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_AudioFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppBroadcastStreamReader*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppBroadcastStreamReader*)Unsafe.AsPointer(ref this), value, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_AudioFrameArrived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IAppBroadcastStreamReader*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IAppBroadcastStreamReader*)Unsafe.AsPointer(ref this), value, token); } /// @@ -205,13 +205,13 @@ public interface Interface : IInspectable.Interface HRESULT TryGetNextVideoFrame([NativeTypeName("ABI::Windows::Media::Capture::IAppBroadcastStreamVideoFrame **")] IAppBroadcastStreamVideoFrame** frame); [VtblIndex(15)] - HRESULT add_AudioFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_AudioFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_AudioFrameArrived(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_VideoFrameArrived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_VideoFrameArrived(EventRegistrationToken token); @@ -266,13 +266,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] TryGetNextVideoFrame; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioFrameArrived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioFrameArrived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioFrameArrived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppBroadcastStreamReader_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoFrameArrived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoFrameArrived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoFrameArrived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCapture.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCapture.cs index 86c6ade7e9..1708af305e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCapture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCapture.cs @@ -90,9 +90,9 @@ public HRESULT get_IsCapturingVideo([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_CapturingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CapturingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsCapturingVideo([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT add_CapturingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CapturingChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_CapturingChanged(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsCapturingVideo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCapture_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CapturingChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CapturingChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CapturingChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureMetadataWriter.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureMetadataWriter.cs index 74b4e229f4..663f94c8dc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureMetadataWriter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureMetadataWriter.cs @@ -146,9 +146,9 @@ public HRESULT get_RemainingStorageBytesAvailable([NativeTypeName("UINT64 *")] u /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_MetadataPurged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureMetadataWriter_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_MetadataPurged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureMetadataWriter_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppCaptureMetadataWriter*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppCaptureMetadataWriter*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -189,7 +189,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RemainingStorageBytesAvailable([NativeTypeName("UINT64 *")] ulong* value); [VtblIndex(15)] - HRESULT add_MetadataPurged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureMetadataWriter_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_MetadataPurged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureMetadataWriter_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_MetadataPurged(EventRegistrationToken token); @@ -244,7 +244,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RemainingStorageBytesAvailable; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureMetadataWriter_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MetadataPurged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MetadataPurged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MetadataPurged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureRecordOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureRecordOperation.cs index eaf91f8b47..5a08ffaad5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureRecordOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureRecordOperation.cs @@ -122,9 +122,9 @@ public HRESULT get_IsFileTruncated([NativeTypeName("ABI::Windows::Foundation::__ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureRecordingStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureRecordingStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_StateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_DurationGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureDurationGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_DurationGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureDurationGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); } /// @@ -154,9 +154,9 @@ public HRESULT remove_DurationGenerated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_FileGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureFileGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_FileGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureFileGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IAppCaptureRecordOperation*)Unsafe.AsPointer(ref this), value, token); } /// @@ -188,19 +188,19 @@ public interface Interface : IInspectable.Interface HRESULT get_IsFileTruncated([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_boolean_t **")] IReference** value); [VtblIndex(12)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureRecordingStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureRecordingStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_StateChanged(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_DurationGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureDurationGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_DurationGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureDurationGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_DurationGenerated(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_FileGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureFileGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_FileGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureFileGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_FileGenerated(EventRegistrationToken token); @@ -246,19 +246,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_IsFileTruncated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureRecordingStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureDurationGeneratedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DurationGenerated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DurationGenerated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DurationGenerated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureRecordOperation_Windows__CMedia__CCapture__CAppCaptureFileGeneratedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FileGenerated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FileGenerated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FileGenerated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureState.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureState.cs index 4b1e2d07b5..d5a9325162 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureState.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureState.cs @@ -130,9 +130,9 @@ public HRESULT get_MicrophoneCaptureError([NativeTypeName("UINT32 *")] uint* val /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_Windows__CMedia__CCapture__CAppCaptureMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_Windows__CMedia__CCapture__CAppCaptureMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAppCaptureState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IAppCaptureState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_MicrophoneCaptureStateChanged(EventRegistrationToken token /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppCaptureState*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IAppCaptureState*)Unsafe.AsPointer(ref this), value, token); } /// @@ -183,13 +183,13 @@ public interface Interface : IInspectable.Interface HRESULT get_MicrophoneCaptureError([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(13)] - HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_Windows__CMedia__CCapture__CAppCaptureMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MicrophoneCaptureStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_Windows__CMedia__CCapture__CAppCaptureMicrophoneCaptureStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_MicrophoneCaptureStateChanged(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_CaptureTargetClosed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_CaptureTargetClosed(EventRegistrationToken token); @@ -238,13 +238,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MicrophoneCaptureError; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_Windows__CMedia__CCapture__CAppCaptureMicrophoneCaptureStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MicrophoneCaptureStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MicrophoneCaptureStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MicrophoneCaptureStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CAppCaptureState_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CaptureTargetClosed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CaptureTargetClosed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CaptureTargetClosed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICameraCaptureUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICameraCaptureUI.cs index eaab2406c5..3368bb4308 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICameraCaptureUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICameraCaptureUI.cs @@ -90,9 +90,9 @@ public HRESULT get_VideoSettings([NativeTypeName("ABI::Windows::Media::Capture:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CaptureFileAsync([NativeTypeName("ABI::Windows::Media::Capture::CameraCaptureUIMode")] CameraCaptureUIMode mode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** asyncInfo) + public HRESULT CaptureFileAsync([NativeTypeName("ABI::Windows::Media::Capture::CameraCaptureUIMode")] CameraCaptureUIMode mode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICameraCaptureUI*)Unsafe.AsPointer(ref this), mode, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICameraCaptureUI*)Unsafe.AsPointer(ref this), mode, asyncInfo); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_VideoSettings([NativeTypeName("ABI::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings **")] ICameraCaptureUIVideoCaptureSettings** value); [VtblIndex(8)] - HRESULT CaptureFileAsync([NativeTypeName("ABI::Windows::Media::Capture::CameraCaptureUIMode")] CameraCaptureUIMode mode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** asyncInfo); + HRESULT CaptureFileAsync([NativeTypeName("ABI::Windows::Media::Capture::CameraCaptureUIMode")] CameraCaptureUIMode mode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_VideoSettings; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::CameraCaptureUIMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CaptureFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CaptureFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICapturedFrame2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICapturedFrame2.cs index ba25ec3452..76e5872480 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICapturedFrame2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ICapturedFrame2.cs @@ -82,9 +82,9 @@ public HRESULT get_ControlValues([NativeTypeName("ABI::Windows::Media::Capture:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_BitmapProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t **")] IMap** value) + public HRESULT get_BitmapProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICapturedFrame2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICapturedFrame2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ControlValues([NativeTypeName("ABI::Windows::Media::Capture::ICapturedFrameControlValues **")] ICapturedFrameControlValues** value); [VtblIndex(7)] - HRESULT get_BitmapProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t **")] IMap** value); + HRESULT get_BitmapProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t **")] IMap>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ControlValues; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_Windows__CGraphics__CImaging__CBitmapTypedValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_BitmapProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_BitmapProperties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServices.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServices.cs index d05e8abfda..fbc325ebcc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServices.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServices.cs @@ -130,9 +130,9 @@ public HRESULT get_AppCaptureServices([NativeTypeName("ABI::Windows::Media::Capt /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_CommandReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServices_Windows__CMedia__CCapture__CGameBarServicesCommandEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_CommandReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServices_Windows__CMedia__CCapture__CGameBarServicesCommandEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IGameBarServices*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IGameBarServices*)Unsafe.AsPointer(ref this), value, token); } /// @@ -167,7 +167,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AppCaptureServices([NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureServices **")] IAppCaptureServices** value); [VtblIndex(13)] - HRESULT add_CommandReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServices_Windows__CMedia__CCapture__CGameBarServicesCommandEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_CommandReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServices_Windows__CMedia__CCapture__CGameBarServicesCommandEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_CommandReceived(EventRegistrationToken token); @@ -216,7 +216,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AppCaptureServices; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServices_Windows__CMedia__CCapture__CGameBarServicesCommandEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CommandReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CommandReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CommandReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServicesManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServicesManager.cs index ab20d57306..bc9d2a05df 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServicesManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IGameBarServicesManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_GameBarServicesCreated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServicesManager_Windows__CMedia__CCapture__CGameBarServicesManagerGameBarServicesCreatedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_GameBarServicesCreated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServicesManager_Windows__CMedia__CCapture__CGameBarServicesManagerGameBarServicesCreatedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGameBarServicesManager*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IGameBarServicesManager*)Unsafe.AsPointer(ref this), value, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_GameBarServicesCreated(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_GameBarServicesCreated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServicesManager_Windows__CMedia__CCapture__CGameBarServicesManagerGameBarServicesCreatedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_GameBarServicesCreated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServicesManager_Windows__CMedia__CCapture__CGameBarServicesManagerGameBarServicesCreatedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_GameBarServicesCreated(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CGameBarServicesManager_Windows__CMedia__CCapture__CGameBarServicesManagerGameBarServicesCreatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_GameBarServicesCreated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_GameBarServicesCreated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_GameBarServicesCreated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagMediaRecording3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagMediaRecording3.cs index 9bed73f914..a1b6555076 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagMediaRecording3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagMediaRecording3.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PauseWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation** operation) + public HRESULT PauseWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ILowLagMediaRecording3*)Unsafe.AsPointer(ref this), behavior, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ILowLagMediaRecording3*)Unsafe.AsPointer(ref this), behavior, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT StopWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation** operation) + public HRESULT StopWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ILowLagMediaRecording3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ILowLagMediaRecording3*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PauseWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation** operation); + HRESULT PauseWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT StopWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation** operation); + HRESULT StopWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Devices::MediaCapturePauseBehavior, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PauseWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> PauseWithResultAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StopWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> StopWithResultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoCapture.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoCapture.cs index c38c8b183d..f9c2bf2cc7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoCapture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoCapture.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCapturedPhoto_t **")] IAsyncOperation** operation) + public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCapturedPhoto_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ILowLagPhotoCapture*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ILowLagPhotoCapture*)Unsafe.AsPointer(ref this), operation); } /// @@ -90,7 +90,7 @@ public HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCapturedPhoto_t **")] IAsyncOperation** operation); + HRESULT CaptureAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCapturedPhoto_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCapturedPhoto_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> CaptureAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] FinishAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoSequenceCapture.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoSequenceCapture.cs index eff28a4f57..8d3c578087 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoSequenceCapture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/ILowLagPhotoSequenceCapture.cs @@ -98,9 +98,9 @@ public HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncActi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_Windows__CMedia__CCapture__CPhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_Windows__CMedia__CCapture__CPhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ILowLagPhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ILowLagPhotoSequenceCapture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT FinishAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(9)] - HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_Windows__CMedia__CCapture__CPhotoCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PhotoCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_Windows__CMedia__CCapture__CPhotoCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PhotoCaptured(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] FinishAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_Windows__CMedia__CCapture__CPhotoCapturedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PhotoCaptured; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PhotoCaptured; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PhotoCaptured; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture2.cs index 2c23408181..390891d0d8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture2.cs @@ -74,81 +74,81 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PrepareLowLagRecordToStorageFileAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagRecordToStorageFileAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, file, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT PrepareLowLagRecordToStreamAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagRecordToStreamAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, stream, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, stream, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT PrepareLowLagRecordToCustomSinkAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Media::IMediaExtension *")] IMediaExtension* customMediaSink, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagRecordToCustomSinkAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Media::IMediaExtension *")] IMediaExtension* customMediaSink, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, customMediaSink, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, customMediaSink, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT PrepareLowLagRecordToCustomSinkIdAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, HSTRING customSinkActivationId, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* customSinkSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagRecordToCustomSinkIdAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, HSTRING customSinkActivationId, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* customSinkSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, customSinkActivationId, customSinkSettings, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaCapture2*)Unsafe.AsPointer(ref this), encodingProfile, customSinkActivationId, customSinkSettings, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT PrepareLowLagPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoCapture_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoCapture_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaCapture2*)Unsafe.AsPointer(ref this), type, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaCapture2*)Unsafe.AsPointer(ref this), type, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT PrepareLowLagPhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_t **")] IAsyncOperation** operation) + public HRESULT PrepareLowLagPhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaCapture2*)Unsafe.AsPointer(ref this), type, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaCapture2*)Unsafe.AsPointer(ref this), type, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT SetEncodingPropertiesAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProperties *")] IMediaEncodingProperties* mediaEncodingProperties, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t *")] IMap* encoderProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) + public HRESULT SetEncodingPropertiesAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProperties *")] IMediaEncodingProperties* mediaEncodingProperties, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t *")] IMap>* encoderProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[12]))((IMediaCapture2*)Unsafe.AsPointer(ref this), mediaStreamType, mediaEncodingProperties, encoderProperties, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[12]))((IMediaCapture2*)Unsafe.AsPointer(ref this), mediaStreamType, mediaEncodingProperties, encoderProperties, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PrepareLowLagRecordToStorageFileAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagRecordToStorageFileAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT PrepareLowLagRecordToStreamAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagRecordToStreamAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT PrepareLowLagRecordToCustomSinkAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Media::IMediaExtension *")] IMediaExtension* customMediaSink, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagRecordToCustomSinkAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, [NativeTypeName("ABI::Windows::Media::IMediaExtension *")] IMediaExtension* customMediaSink, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT PrepareLowLagRecordToCustomSinkIdAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, HSTRING customSinkActivationId, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* customSinkSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagRecordToCustomSinkIdAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* encodingProfile, HSTRING customSinkActivationId, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* customSinkSettings, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT PrepareLowLagPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoCapture_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoCapture_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT PrepareLowLagPhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_t **")] IAsyncOperation** operation); + HRESULT PrepareLowLagPhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT SetEncodingPropertiesAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProperties *")] IMediaEncodingProperties* mediaEncodingProperties, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t *")] IMap* encoderProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); + HRESULT SetEncodingPropertiesAsync([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProperties *")] IMediaEncodingProperties* mediaEncodingProperties, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t *")] IMap>* encoderProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); } public partial struct Vtbl @@ -173,24 +173,24 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagRecordToStorageFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagRecordToStorageFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagRecordToStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagRecordToStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Media::IMediaExtension *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagRecordToCustomSinkAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagRecordToCustomSinkAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, HSTRING, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagMediaRecording_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagRecordToCustomSinkIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagRecordToCustomSinkIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IImageEncodingProperties *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoCapture_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagPhotoCaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagPhotoCaptureAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IImageEncodingProperties *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CLowLagPhotoSequenceCapture_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareLowLagPhotoSequenceCaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareLowLagPhotoSequenceCaptureAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaStreamType, ABI::Windows::Media::MediaProperties::IMediaEncodingProperties *, ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetEncodingPropertiesAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> SetEncodingPropertiesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture3.cs index a42a1311fa..82c035cc5d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture3.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PrepareVariablePhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_t **")] IAsyncOperation** operation) + public HRESULT PrepareVariablePhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaCapture3*)Unsafe.AsPointer(ref this), type, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaCapture3*)Unsafe.AsPointer(ref this), type, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_FocusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureFocusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FocusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureFocusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMediaCapture3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMediaCapture3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_FocusChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PhotoConfirmationCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CPhotoConfirmationCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PhotoConfirmationCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CPhotoConfirmationCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IMediaCapture3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IMediaCapture3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,16 +114,16 @@ public HRESULT remove_PhotoConfirmationCaptured(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PrepareVariablePhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_t **")] IAsyncOperation** operation); + HRESULT PrepareVariablePhotoSequenceCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT add_FocusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureFocusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FocusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureFocusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_FocusChanged(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_PhotoConfirmationCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CPhotoConfirmationCapturedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PhotoConfirmationCaptured([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CPhotoConfirmationCapturedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PhotoConfirmationCaptured(EventRegistrationToken token); @@ -151,16 +151,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IImageEncodingProperties *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CCore__CVariablePhotoSequenceCapture_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareVariablePhotoSequenceCaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareVariablePhotoSequenceCaptureAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureFocusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FocusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FocusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FocusChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CPhotoConfirmationCapturedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PhotoConfirmationCaptured; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PhotoConfirmationCaptured; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PhotoConfirmationCaptured; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture4.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture4.cs index a8e3eae5b8..efbf251c3e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture4.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AddAudioEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IAudioEffectDefinition *")] IAudioEffectDefinition* definition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation** op) + public HRESULT AddAudioEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IAudioEffectDefinition *")] IAudioEffectDefinition* definition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation>** op) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaCapture4*)Unsafe.AsPointer(ref this), definition, op); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaCapture4*)Unsafe.AsPointer(ref this), definition, op); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT AddVideoEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IVideoEffectDefinition *")] IVideoEffectDefinition* definition, [NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation** op) + public HRESULT AddVideoEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IVideoEffectDefinition *")] IVideoEffectDefinition* definition, [NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation>** op) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCapture4*)Unsafe.AsPointer(ref this), definition, mediaStreamType, op); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCapture4*)Unsafe.AsPointer(ref this), definition, mediaStreamType, op); } /// @@ -106,9 +106,9 @@ public HRESULT ResumeRecordAsync([NativeTypeName("ABI::Windows::Foundation::IAsy /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_CameraStreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CameraStreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaCapture4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaCapture4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,25 +130,25 @@ public HRESULT get_CameraStreamState([NativeTypeName("ABI::Windows::Media::Devic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetPreviewFrameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation** operation) + public HRESULT GetPreviewFrameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IMediaCapture4*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IMediaCapture4*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetPreviewFrameCopyAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* destination, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation** operation) + public HRESULT GetPreviewFrameCopyAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* destination, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IMediaCapture4*)Unsafe.AsPointer(ref this), destination, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IMediaCapture4*)Unsafe.AsPointer(ref this), destination, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_ThermalStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ThermalStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IMediaCapture4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IMediaCapture4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -170,18 +170,18 @@ public HRESULT get_ThermalStatus([NativeTypeName("ABI::Windows::Media::Capture:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT PrepareAdvancedPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedPhotoCapture_t **")] IAsyncOperation** operation) + public HRESULT PrepareAdvancedPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedPhotoCapture_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IMediaCapture4*)Unsafe.AsPointer(ref this), encodingProperties, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IMediaCapture4*)Unsafe.AsPointer(ref this), encodingProperties, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AddAudioEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IAudioEffectDefinition *")] IAudioEffectDefinition* definition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation** op); + HRESULT AddAudioEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IAudioEffectDefinition *")] IAudioEffectDefinition* definition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation>** op); [VtblIndex(7)] - HRESULT AddVideoEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IVideoEffectDefinition *")] IVideoEffectDefinition* definition, [NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation** op); + HRESULT AddVideoEffectAsync([NativeTypeName("ABI::Windows::Media::Effects::IVideoEffectDefinition *")] IVideoEffectDefinition* definition, [NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **")] IAsyncOperation>** op); [VtblIndex(8)] HRESULT PauseRecordAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -190,7 +190,7 @@ public interface Interface : IInspectable.Interface HRESULT ResumeRecordAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(10)] - HRESULT add_CameraStreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CameraStreamStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_CameraStreamStateChanged(EventRegistrationToken token); @@ -199,13 +199,13 @@ public interface Interface : IInspectable.Interface HRESULT get_CameraStreamState([NativeTypeName("ABI::Windows::Media::Devices::CameraStreamState *")] CameraStreamState* streamState); [VtblIndex(13)] - HRESULT GetPreviewFrameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation** operation); + HRESULT GetPreviewFrameAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation>** operation); [VtblIndex(14)] - HRESULT GetPreviewFrameCopyAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* destination, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation** operation); + HRESULT GetPreviewFrameCopyAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* destination, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **")] IAsyncOperation>** operation); [VtblIndex(15)] - HRESULT add_ThermalStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ThermalStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_ThermalStatusChanged(EventRegistrationToken token); @@ -214,7 +214,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ThermalStatus([NativeTypeName("ABI::Windows::Media::Capture::MediaCaptureThermalStatus *")] MediaCaptureThermalStatus* value); [VtblIndex(18)] - HRESULT PrepareAdvancedPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedPhotoCapture_t **")] IAsyncOperation** operation); + HRESULT PrepareAdvancedPhotoCaptureAsync([NativeTypeName("ABI::Windows::Media::MediaProperties::IImageEncodingProperties *")] IImageEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedPhotoCapture_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -239,10 +239,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Effects::IAudioEffectDefinition *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AddAudioEffectAsync; + public delegate* unmanaged[MemberFunction]>**, int> AddAudioEffectAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Effects::IVideoEffectDefinition *, ABI::Windows::Media::Capture::MediaStreamType, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CIMediaExtension_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AddVideoEffectAsync; + public delegate* unmanaged[MemberFunction]>**, int> AddVideoEffectAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Devices::MediaCapturePauseBehavior, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] PauseRecordAsync; @@ -251,7 +251,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ResumeRecordAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CameraStreamStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CameraStreamStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CameraStreamStateChanged; @@ -260,13 +260,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CameraStreamState; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPreviewFrameAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPreviewFrameAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::IVideoFrame *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CVideoFrame_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPreviewFrameCopyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPreviewFrameCopyAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ThermalStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ThermalStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ThermalStatusChanged; @@ -275,6 +275,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ThermalStatus; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IImageEncodingProperties *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CAdvancedPhotoCapture_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareAdvancedPhotoCaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareAdvancedPhotoCaptureAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture5.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture5.cs index 8be3002e85..6b4fdbeb32 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture5.cs @@ -82,49 +82,49 @@ public HRESULT RemoveEffectAsync([NativeTypeName("ABI::Windows::Media::IMediaExt /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT PauseRecordWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation** operation) + public HRESULT PauseRecordWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCapture5*)Unsafe.AsPointer(ref this), behavior, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCapture5*)Unsafe.AsPointer(ref this), behavior, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT StopRecordWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation** operation) + public HRESULT StopRecordWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaCapture5*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaCapture5*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_FrameSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t **")] IMapView** value) + public HRESULT get_FrameSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaCapture5*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaCapture5*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateFrameReaderAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value) + public HRESULT CreateFrameReaderAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CreateFrameReaderWithSubtypeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value) + public HRESULT CreateFrameReaderWithSubtypeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, outputSubtype, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, outputSubtype, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CreateFrameReaderWithSubtypeAndSizeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize outputSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value) + public HRESULT CreateFrameReaderWithSubtypeAndSizeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize outputSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, outputSubtype, outputSize, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IMediaCapture5*)Unsafe.AsPointer(ref this), inputSource, outputSubtype, outputSize, value); } public interface Interface : IInspectable.Interface @@ -133,22 +133,22 @@ public interface Interface : IInspectable.Interface HRESULT RemoveEffectAsync([NativeTypeName("ABI::Windows::Media::IMediaExtension *")] IMediaExtension* effect, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(7)] - HRESULT PauseRecordWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation** operation); + HRESULT PauseRecordWithResultAsync([NativeTypeName("ABI::Windows::Media::Devices::MediaCapturePauseBehavior")] MediaCapturePauseBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT StopRecordWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation** operation); + HRESULT StopRecordWithResultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT get_FrameSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t **")] IMapView** value); + HRESULT get_FrameSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t **")] IMapView>** value); [VtblIndex(10)] - HRESULT CreateFrameReaderAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value); + HRESULT CreateFrameReaderAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value); [VtblIndex(11)] - HRESULT CreateFrameReaderWithSubtypeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value); + HRESULT CreateFrameReaderWithSubtypeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value); [VtblIndex(12)] - HRESULT CreateFrameReaderWithSubtypeAndSizeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize outputSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation** value); + HRESULT CreateFrameReaderWithSubtypeAndSizeAsync([NativeTypeName("ABI::Windows::Media::Capture::Frames::IMediaFrameSource *")] IMediaFrameSource* inputSource, HSTRING outputSubtype, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize outputSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -176,21 +176,21 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RemoveEffectAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Devices::MediaCapturePauseBehavior, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCapturePauseResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PauseRecordWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> PauseRecordWithResultAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CMediaCaptureStopResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StopRecordWithResultAsync; + public delegate* unmanaged[MemberFunction]>**, int> StopRecordWithResultAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_FrameSources; + public delegate* unmanaged[MemberFunction]>**, int> get_FrameSources; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IMediaFrameSource *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFrameReaderAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFrameReaderAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IMediaFrameSource *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFrameReaderWithSubtypeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFrameReaderWithSubtypeAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::Frames::IMediaFrameSource *, HSTRING, ABI::Windows::Graphics::Imaging::BitmapSize, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMediaFrameReader_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFrameReaderWithSubtypeAndSizeAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFrameReaderWithSubtypeAndSizeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture6.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture6.cs index 684e59cfe6..d466e6d537 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture6.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCapture6.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_CaptureDeviceExclusiveControlStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CaptureDeviceExclusiveControlStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaCapture6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaCapture6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,21 +90,21 @@ public HRESULT remove_CaptureDeviceExclusiveControlStatusChanged(EventRegistrati /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateMultiSourceFrameReaderAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t *")] IIterable* inputSources, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_t **")] IAsyncOperation** value) + public HRESULT CreateMultiSourceFrameReaderAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t *")] IIterable>* inputSources, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[8]))((IMediaCapture6*)Unsafe.AsPointer(ref this), inputSources, value); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[8]))((IMediaCapture6*)Unsafe.AsPointer(ref this), inputSources, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_CaptureDeviceExclusiveControlStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CaptureDeviceExclusiveControlStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_CaptureDeviceExclusiveControlStatusChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT CreateMultiSourceFrameReaderAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t *")] IIterable* inputSources, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_t **")] IAsyncOperation** value); + HRESULT CreateMultiSourceFrameReaderAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t *")] IIterable>* inputSources, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCapture_Windows__CMedia__CCapture__CMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CaptureDeviceExclusiveControlStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CaptureDeviceExclusiveControlStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CaptureDeviceExclusiveControlStatusChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSource_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCapture__CFrames__CMultiSourceMediaFrameReader_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> CreateMultiSourceFrameReaderAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> CreateMultiSourceFrameReaderAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureRelativePanelWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureRelativePanelWatcher.cs index a6853861d9..ec896ae667 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureRelativePanelWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureRelativePanelWatcher.cs @@ -82,9 +82,9 @@ public HRESULT get_RelativePanel([NativeTypeName("ABI::Windows::Devices::Enumera /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCaptureRelativePanelWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCaptureRelativePanelWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMediaCaptureRelativePanelWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IMediaCaptureRelativePanelWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -117,7 +117,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RelativePanel([NativeTypeName("ABI::Windows::Devices::Enumeration::Panel *")] Panel* value); [VtblIndex(7)] - HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCaptureRelativePanelWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCaptureRelativePanelWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_Changed(EventRegistrationToken token); @@ -154,7 +154,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RelativePanel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCapture__CMediaCaptureRelativePanelWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Changed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Changed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Changed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureStatics.cs index 9c533ff287..89b1fb65a5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureStatics.cs @@ -82,25 +82,25 @@ public HRESULT IsVideoProfileSupported(HSTRING videoDeviceId, [NativeTypeName("b /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value) + public HRESULT FindAllVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FindConcurrentProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value) + public HRESULT FindConcurrentProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindKnownVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Media::Capture::KnownVideoProfile")] KnownVideoProfile name, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value) + public HRESULT FindKnownVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Media::Capture::KnownVideoProfile")] KnownVideoProfile name, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, name, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaCaptureStatics*)Unsafe.AsPointer(ref this), videoDeviceId, name, value); } public interface Interface : IInspectable.Interface @@ -109,13 +109,13 @@ public interface Interface : IInspectable.Interface HRESULT IsVideoProfileSupported(HSTRING videoDeviceId, [NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT FindAllVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value); + HRESULT FindAllVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value); [VtblIndex(8)] - HRESULT FindConcurrentProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value); + HRESULT FindConcurrentProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value); [VtblIndex(9)] - HRESULT FindKnownVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Media::Capture::KnownVideoProfile")] KnownVideoProfile name, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value); + HRESULT FindKnownVideoProfiles(HSTRING videoDeviceId, [NativeTypeName("ABI::Windows::Media::Capture::KnownVideoProfile")] KnownVideoProfile name, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value); } public partial struct Vtbl @@ -143,12 +143,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsVideoProfileSupported; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllVideoProfiles; + public delegate* unmanaged[MemberFunction]>**, int> FindAllVideoProfiles; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindConcurrentProfiles; + public delegate* unmanaged[MemberFunction]>**, int> FindConcurrentProfiles; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Media::Capture::KnownVideoProfile, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindKnownVideoProfiles; + public delegate* unmanaged[MemberFunction]>**, int> FindKnownVideoProfiles; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile.cs index 03e1e42e6d..53c589fe32 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile.cs @@ -90,33 +90,33 @@ public HRESULT get_VideoDeviceId(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_SupportedPreviewMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value) + public HRESULT get_SupportedPreviewMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_SupportedRecordMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value) + public HRESULT get_SupportedRecordMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_SupportedPhotoMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value) + public HRESULT get_SupportedPhotoMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetConcurrency([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value) + public HRESULT GetConcurrency([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaCaptureVideoProfile*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -128,16 +128,16 @@ public interface Interface : IInspectable.Interface HRESULT get_VideoDeviceId(HSTRING* value); [VtblIndex(8)] - HRESULT get_SupportedPreviewMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value); + HRESULT get_SupportedPreviewMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value); [VtblIndex(9)] - HRESULT get_SupportedRecordMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value); + HRESULT get_SupportedRecordMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value); [VtblIndex(10)] - HRESULT get_SupportedPhotoMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView** value); + HRESULT get_SupportedPhotoMediaDescription([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **")] IVectorView>** value); [VtblIndex(11)] - HRESULT GetConcurrency([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView** value); + HRESULT GetConcurrency([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **")] IVectorView>** value); } public partial struct Vtbl @@ -168,15 +168,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_VideoDeviceId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedPreviewMediaDescription; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedPreviewMediaDescription; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedRecordMediaDescription; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedRecordMediaDescription; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfileMediaDescription_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedPhotoMediaDescription; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedPhotoMediaDescription; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CMediaCaptureVideoProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetConcurrency; + public delegate* unmanaged[MemberFunction]>**, int> GetConcurrency; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile2.cs index bdcc092c28..e4431ac27f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfile2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_FrameSourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView** value) + public HRESULT get_FrameSourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaCaptureVideoProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaCaptureVideoProfile2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCaptureVideoProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCaptureVideoProfile2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_FrameSourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView** value); + HRESULT get_FrameSourceInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **")] IVectorView>** value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCapture__CFrames__CMediaFrameSourceInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_FrameSourceInfos; + public delegate* unmanaged[MemberFunction]>**, int> get_FrameSourceInfos; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfileMediaDescription2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfileMediaDescription2.cs index b6757657dd..56b1e29310 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfileMediaDescription2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IMediaCaptureVideoProfileMediaDescription2.cs @@ -82,9 +82,9 @@ public HRESULT get_Subtype(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaCaptureVideoProfileMediaDescription2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaCaptureVideoProfileMediaDescription2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Subtype(HSTRING* value); [VtblIndex(7)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **")] IMapView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Subtype; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingConnection.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingConnection.cs index 7d8840df43..269c3eccd8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingConnection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingConnection.cs @@ -106,9 +106,9 @@ public HRESULT put_Source([NativeTypeName("ABI::Windows::Media::Casting::ICastin /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICastingConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICastingConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_StateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_Windows__CMedia__CCasting__CCastingConnectionErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_Windows__CMedia__CCasting__CCastingConnectionErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((ICastingConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((ICastingConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -166,13 +166,13 @@ public interface Interface : IInspectable.Interface HRESULT put_Source([NativeTypeName("ABI::Windows::Media::Casting::ICastingSource *")] ICastingSource* value); [VtblIndex(10)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_StateChanged(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_Windows__CMedia__CCasting__CCastingConnectionErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_Windows__CMedia__CCasting__CCastingConnectionErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_ErrorOccurred(EventRegistrationToken token); @@ -218,13 +218,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Source; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingConnection_Windows__CMedia__CCasting__CCastingConnectionErrorOccurredEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ErrorOccurred; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ErrorOccurred; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ErrorOccurred; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePicker.cs index 6a7577ff85..7c7440e662 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePicker.cs @@ -90,9 +90,9 @@ public HRESULT get_Appearance([NativeTypeName("ABI::Windows::Devices::Enumeratio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_CastingDeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_Windows__CMedia__CCasting__CCastingDeviceSelectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CastingDeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_Windows__CMedia__CCasting__CCastingDeviceSelectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICastingDevicePicker*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICastingDevicePicker*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_CastingDeviceSelected(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_CastingDevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CastingDevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICastingDevicePicker*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICastingDevicePicker*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -152,13 +152,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Appearance([NativeTypeName("ABI::Windows::Devices::Enumeration::IDevicePickerAppearance **")] IDevicePickerAppearance** value); [VtblIndex(8)] - HRESULT add_CastingDeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_Windows__CMedia__CCasting__CCastingDeviceSelectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CastingDeviceSelected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_Windows__CMedia__CCasting__CCastingDeviceSelectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_CastingDeviceSelected(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_CastingDevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CastingDevicePickerDismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_CastingDevicePickerDismissed(EventRegistrationToken token); @@ -201,13 +201,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Appearance; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_Windows__CMedia__CCasting__CCastingDeviceSelectedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CastingDeviceSelected; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CastingDeviceSelected; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CastingDeviceSelected; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCasting__CCastingDevicePicker_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CastingDevicePickerDismissed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CastingDevicePickerDismissed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CastingDevicePickerDismissed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePickerFilter.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePickerFilter.cs index f9e6ce50be..923bc72f23 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePickerFilter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDevicePickerFilter.cs @@ -122,9 +122,9 @@ public HRESULT put_SupportsPictures([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_SupportedCastingSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCasting__CCastingSource_t **")] IVector** value) + public HRESULT get_SupportedCastingSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCasting__CCastingSource_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ICastingDevicePickerFilter*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ICastingDevicePickerFilter*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -148,7 +148,7 @@ public interface Interface : IInspectable.Interface HRESULT put_SupportsPictures([NativeTypeName("boolean")] byte value); [VtblIndex(12)] - HRESULT get_SupportedCastingSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCasting__CCastingSource_t **")] IVector** value); + HRESULT get_SupportedCastingSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCasting__CCastingSource_t **")] IVector>** value); } public partial struct Vtbl @@ -191,6 +191,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_SupportsPictures; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCasting__CCastingSource_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedCastingSources; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedCastingSources; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDeviceStatics.cs index 8db6d18e17..fca7109e80 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.casting/ICastingDeviceStatics.cs @@ -90,9 +90,9 @@ public HRESULT GetDeviceSelectorFromCastingSourceAsync([NativeTypeName("ABI::Win /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FromIdAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCasting__CCastingDevice_t **")] IAsyncOperation** operation) + public HRESULT FromIdAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCasting__CCastingDevice_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICastingDeviceStatics*)Unsafe.AsPointer(ref this), value, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICastingDeviceStatics*)Unsafe.AsPointer(ref this), value, operation); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelectorFromCastingSourceAsync([NativeTypeName("ABI::Windows::Media::Casting::ICastingSource *")] ICastingSource* castingSource, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT FromIdAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCasting__CCastingDevice_t **")] IAsyncOperation** operation); + HRESULT FromIdAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCasting__CCastingDevice_t **")] IAsyncOperation>** operation); [VtblIndex(9)] HRESULT DeviceInfoSupportsCastingAsync([NativeTypeName("ABI::Windows::Devices::Enumeration::IDeviceInformation *")] IDeviceInformation* device, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetDeviceSelectorFromCastingSourceAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCasting__CCastingDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FromIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FromIdAsync; [NativeTypeName("HRESULT (ABI::Windows::Devices::Enumeration::IDeviceInformation *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> DeviceInfoSupportsCastingAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IAudioTrack.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IAudioTrack.cs index 82af4ba0f0..416f5618a1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IAudioTrack.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IAudioTrack.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CAudioTrack_Windows__CMedia__CCore__CAudioTrackOpenFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CAudioTrack_Windows__CMedia__CCore__CAudioTrackOpenFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioTrack*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioTrack*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,7 +122,7 @@ public HRESULT get_SupportInfo([NativeTypeName("ABI::Windows::Media::Core::IAudi public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CAudioTrack_Windows__CMedia__CCore__CAudioTrackOpenFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CAudioTrack_Windows__CMedia__CCore__CAudioTrackOpenFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_OpenFailed(EventRegistrationToken token); @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CAudioTrack_Windows__CMedia__CCore__CAudioTrackOpenFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OpenFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OpenFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OpenFailed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ICodecQuery.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ICodecQuery.cs index 05f48abd1a..6887a50e9e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ICodecQuery.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ICodecQuery.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Media::Core::CodecKind")] CodecKind kind, [NativeTypeName("ABI::Windows::Media::Core::CodecCategory")] CodecCategory category, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCore__CCodecInfo_t **")] IAsyncOperation** value) + public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Media::Core::CodecKind")] CodecKind kind, [NativeTypeName("ABI::Windows::Media::Core::CodecCategory")] CodecCategory category, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCore__CCodecInfo_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICodecQuery*)Unsafe.AsPointer(ref this), kind, category, subType, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ICodecQuery*)Unsafe.AsPointer(ref this), kind, category, subType, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Media::Core::CodecKind")] CodecKind kind, [NativeTypeName("ABI::Windows::Media::Core::CodecCategory")] CodecCategory category, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCore__CCodecInfo_t **")] IAsyncOperation** value); + HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Media::Core::CodecKind")] CodecKind kind, [NativeTypeName("ABI::Windows::Media::Core::CodecCategory")] CodecCategory category, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCore__CCodecInfo_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::CodecKind, ABI::Windows::Media::Core::CodecCategory, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CMedia__CCore__CCodecInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffect.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffect.cs index d0b6a00398..912026356d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffect.cs @@ -106,9 +106,9 @@ public HRESULT get_DesiredDetectionInterval([NativeTypeName("ABI::Windows::Found /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_FaceDetected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CFaceDetectionEffect_Windows__CMedia__CCore__CFaceDetectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_FaceDetected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CFaceDetectionEffect_Windows__CMedia__CCore__CFaceDetectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IFaceDetectionEffect*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IFaceDetectionEffect*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_DesiredDetectionInterval([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(10)] - HRESULT add_FaceDetected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CFaceDetectionEffect_Windows__CMedia__CCore__CFaceDetectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_FaceDetected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CFaceDetectionEffect_Windows__CMedia__CCore__CFaceDetectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(11)] HRESULT remove_FaceDetected(EventRegistrationToken cookie); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_DesiredDetectionInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CFaceDetectionEffect_Windows__CMedia__CCore__CFaceDetectedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FaceDetected; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FaceDetected; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FaceDetected; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffectFrame.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffectFrame.cs index fc67840923..a1af5f9a59 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffectFrame.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IFaceDetectionEffectFrame.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_DetectedFaces([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IVectorView** value) + public HRESULT get_DetectedFaces([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFaceDetectionEffectFrame*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFaceDetectionEffectFrame*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_DetectedFaces([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IVectorView** value); + HRESULT get_DetectedFaces([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DetectedFaces; + public delegate* unmanaged[MemberFunction]>**, int> get_DetectedFaces; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IHighDynamicRangeOutput.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IHighDynamicRangeOutput.cs index 48c104c4cc..9b1e72eef9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IHighDynamicRangeOutput.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IHighDynamicRangeOutput.cs @@ -82,9 +82,9 @@ public HRESULT get_Certainty(double* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_FrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVectorView** value) + public HRESULT get_FrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IHighDynamicRangeOutput*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IHighDynamicRangeOutput*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Certainty(double* value); [VtblIndex(7)] - HRESULT get_FrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVectorView** value); + HRESULT get_FrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Certainty; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CCore__CFrameController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_FrameControllers; + public delegate* unmanaged[MemberFunction]>**, int> get_FrameControllers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ILowLightFusionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ILowLightFusionStatics.cs index be11a293cf..9a5ca50f87 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ILowLightFusionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ILowLightFusionStatics.cs @@ -90,9 +90,9 @@ public HRESULT get_MaxSupportedFrameCount([NativeTypeName("INT32 *")] int* value /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FuseAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t *")] IIterable* frameSet, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CCore__CLowLightFusionResult_double_t **")] IAsyncOperationWithProgress** result) + public HRESULT FuseAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t *")] IIterable>* frameSet, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CCore__CLowLightFusionResult_double_t **")] IAsyncOperationWithProgress, double>** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperationWithProgress**, int>)(lpVtbl[8]))((ILowLightFusionStatics*)Unsafe.AsPointer(ref this), frameSet, result); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperationWithProgress, double>**, int>)(lpVtbl[8]))((ILowLightFusionStatics*)Unsafe.AsPointer(ref this), frameSet, result); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MaxSupportedFrameCount([NativeTypeName("INT32 *")] int* value); [VtblIndex(8)] - HRESULT FuseAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t *")] IIterable* frameSet, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CCore__CLowLightFusionResult_double_t **")] IAsyncOperationWithProgress** result); + HRESULT FuseAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t *")] IIterable>* frameSet, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CCore__CLowLightFusionResult_double_t **")] IAsyncOperationWithProgress, double>** result); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MaxSupportedFrameCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CGraphics__CImaging__CSoftwareBitmap_t *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CCore__CLowLightFusionResult_double_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperationWithProgress**, int> FuseAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperationWithProgress, double>**, int> FuseAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBinder.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBinder.cs index 2c8b7d6e03..bdbbd64a9c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBinder.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBinder.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Binding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBinder_Windows__CMedia__CCore__CMediaBindingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Binding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBinder_Windows__CMedia__CCore__CMediaBindingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBinder*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBinder*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,7 +114,7 @@ public HRESULT get_Source([NativeTypeName("ABI::Windows::Media::Core::IMediaSour public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Binding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBinder_Windows__CMedia__CCore__CMediaBindingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Binding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBinder_Windows__CMedia__CCore__CMediaBindingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Binding(EventRegistrationToken token); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBinder_Windows__CMedia__CCore__CMediaBindingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Binding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Binding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Binding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBindingEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBindingEventArgs.cs index c7cd35da7c..8ffbd005d2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBindingEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaBindingEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBindingEventArgs_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBindingEventArgs_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBindingEventArgs*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBindingEventArgs*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,7 +130,7 @@ public HRESULT SetStreamReference([NativeTypeName("ABI::Windows::Storage::Stream public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBindingEventArgs_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBindingEventArgs_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Canceled(EventRegistrationToken token); @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaBindingEventArgs_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Canceled; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Canceled; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Canceled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource2.cs index 504a9ddd28..03b28d3e75 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_OpenOperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceOpenOperationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OpenOperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceOpenOperationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSource2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSource2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,23 +114,23 @@ public HRESULT get_IsOpen([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_ExternalTimedTextSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedTextSource_t **")] IObservableVector** value) + public HRESULT get_ExternalTimedTextSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedTextSource_t **")] IObservableVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaSource2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaSource2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_ExternalTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IObservableVector** value) + public HRESULT get_ExternalTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IObservableVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IMediaSource2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IMediaSource2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_OpenOperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceOpenOperationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OpenOperationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceOpenOperationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_OpenOperationCompleted(EventRegistrationToken token); @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT get_IsOpen([NativeTypeName("boolean *")] byte* value); [VtblIndex(11)] - HRESULT get_ExternalTimedTextSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedTextSource_t **")] IObservableVector** value); + HRESULT get_ExternalTimedTextSources([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedTextSource_t **")] IObservableVector>** value); [VtblIndex(12)] - HRESULT get_ExternalTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IObservableVector** value); + HRESULT get_ExternalTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IObservableVector>** value); } public partial struct Vtbl @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceOpenOperationCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OpenOperationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OpenOperationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OpenOperationCompleted; @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsOpen; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedTextSource_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ExternalTimedTextSources; + public delegate* unmanaged[MemberFunction]>**, int> get_ExternalTimedTextSources; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ExternalTimedMetadataTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_ExternalTimedMetadataTracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource3.cs index c9ec232a3c..77133a743a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSource3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSource3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSource3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,7 +106,7 @@ public HRESULT Reset() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_StateChanged(EventRegistrationToken token); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSource_Windows__CMedia__CCore__CMediaSourceStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSourceAppServiceConnection.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSourceAppServiceConnection.cs index 9566f1087b..1d84c7e49f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSourceAppServiceConnection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaSourceAppServiceConnection.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_InitializeMediaStreamSourceRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSourceAppServiceConnection_Windows__CMedia__CCore__CInitializeMediaStreamSourceRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_InitializeMediaStreamSourceRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSourceAppServiceConnection_Windows__CMedia__CCore__CInitializeMediaStreamSourceRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSourceAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaSourceAppServiceConnection*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,7 +98,7 @@ public HRESULT Start() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_InitializeMediaStreamSourceRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSourceAppServiceConnection_Windows__CMedia__CCore__CInitializeMediaStreamSourceRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_InitializeMediaStreamSourceRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSourceAppServiceConnection_Windows__CMedia__CCore__CInitializeMediaStreamSourceRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_InitializeMediaStreamSourceRequested(EventRegistrationToken token); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaSourceAppServiceConnection_Windows__CMedia__CCore__CInitializeMediaStreamSourceRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InitializeMediaStreamSourceRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InitializeMediaStreamSourceRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InitializeMediaStreamSourceRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSample.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSample.cs index aadd92bf16..f97d8ad68c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSample.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSample.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Processed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSample_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Processed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSample_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSample*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSample*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::TimeSpan /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap** value) + public HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaStreamSample*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaStreamSample*)Unsafe.AsPointer(ref this), value); } /// @@ -186,7 +186,7 @@ public HRESULT get_Discontinuous([NativeTypeName("boolean *")] byte* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Processed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSample_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Processed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSample_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Processed(EventRegistrationToken token); @@ -198,7 +198,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(10)] - HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap** value); + HRESULT get_ExtendedProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap>** value); [VtblIndex(11)] HRESULT get_Protection([NativeTypeName("ABI::Windows::Media::Core::IMediaStreamSampleProtectionProperties **")] IMediaStreamSampleProtectionProperties** value); @@ -250,7 +250,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSample_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Processed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Processed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Processed; @@ -262,7 +262,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ExtendedProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_ExtendedProperties; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::IMediaStreamSampleProtectionProperties **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Protection; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSampleStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSampleStatics.cs index 8a5a4298f4..fd37b45332 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSampleStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSampleStatics.cs @@ -82,9 +82,9 @@ public HRESULT CreateFromBuffer([NativeTypeName("ABI::Windows::Storage::Streams: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timestamp, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCore__CMediaStreamSample_t **")] IAsyncOperation** value) + public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timestamp, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCore__CMediaStreamSample_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaStreamSampleStatics*)Unsafe.AsPointer(ref this), stream, count, timestamp, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaStreamSampleStatics*)Unsafe.AsPointer(ref this), stream, count, timestamp, value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateFromBuffer([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timestamp, [NativeTypeName("ABI::Windows::Media::Core::IMediaStreamSample **")] IMediaStreamSample** value); [VtblIndex(7)] - HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timestamp, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCore__CMediaStreamSample_t **")] IAsyncOperation** value); + HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timestamp, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCore__CMediaStreamSample_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFromBuffer; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, UINT32, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CCore__CMediaStreamSample_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromStreamAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource.cs index ea9b334eff..58937f7982 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Closed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Starting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_Paused([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Paused([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_Paused(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_SampleRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SampleRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_SampleRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_SwitchStreamsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSwitchStreamsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SwitchStreamsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSwitchStreamsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -282,31 +282,31 @@ public HRESULT AddProtectionKey([NativeTypeName("ABI::Windows::Media::Core::IMed public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Closed(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Starting(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_Paused([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Paused([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_Paused(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_SampleRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SampleRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_SampleRequested(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_SwitchStreamsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSwitchStreamsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SwitchStreamsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSwitchStreamsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_SwitchStreamsRequested(EventRegistrationToken token); @@ -382,31 +382,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceStartingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Starting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Starting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Starting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Paused; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Paused; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Paused; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SampleRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SampleRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SampleRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSwitchStreamsRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SwitchStreamsRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SwitchStreamsRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SwitchStreamsRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource2.cs index a0760e0964..8c6b6fb40f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMediaStreamSource2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SampleRendered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRenderedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SampleRendered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRenderedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSource2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaStreamSource2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_SampleRendered(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SampleRendered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRenderedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SampleRendered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRenderedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SampleRendered(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMediaStreamSource_Windows__CMedia__CCore__CMediaStreamSourceSampleRenderedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SampleRendered; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SampleRendered; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SampleRendered; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBuffer.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBuffer.cs index 5c93e36994..6ebb76d0b1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBuffer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBuffer.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_UpdateStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UpdateStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_UpdateStarting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_UpdateEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UpdateEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_UpdateEnded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_ErrorOccurred(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_Aborted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Aborted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMseSourceBuffer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -274,31 +274,31 @@ public HRESULT Remove([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] Tim public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_UpdateStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UpdateStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_UpdateStarting(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_UpdateEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UpdateEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_UpdateEnded(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_ErrorOccurred(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_Aborted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Aborted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_Aborted(EventRegistrationToken token); @@ -371,31 +371,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UpdateStarting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_UpdateStarting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UpdateStarting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UpdateEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_UpdateEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UpdateEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ErrorOccurred; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ErrorOccurred; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ErrorOccurred; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBuffer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Aborted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Aborted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Aborted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBufferList.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBufferList.cs index 37e3625dec..8619d13443 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBufferList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseSourceBufferList.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SourceBufferAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SourceBufferAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_SourceBufferAdded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_SourceBufferRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SourceBufferRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,27 +106,27 @@ public HRESULT remove_SourceBufferRemoved(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Buffers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CMseSourceBuffer_t **")] IVectorView** value) + public HRESULT get_Buffers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CMseSourceBuffer_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMseSourceBufferList*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SourceBufferAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SourceBufferAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SourceBufferAdded(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_SourceBufferRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SourceBufferRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_SourceBufferRemoved(EventRegistrationToken token); [VtblIndex(10)] - HRESULT get_Buffers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CMseSourceBuffer_t **")] IVectorView** value); + HRESULT get_Buffers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CMseSourceBuffer_t **")] IVectorView>** value); } public partial struct Vtbl @@ -151,18 +151,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SourceBufferAdded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SourceBufferAdded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SourceBufferAdded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseSourceBufferList_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SourceBufferRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SourceBufferRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SourceBufferRemoved; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CMseSourceBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Buffers; + public delegate* unmanaged[MemberFunction]>**, int> get_Buffers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseStreamSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseStreamSource.cs index 301c316409..2c46ba5912 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseStreamSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IMseStreamSource.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Opened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Opened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Opened(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Ended(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMseStreamSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -186,19 +186,19 @@ public HRESULT EndOfStream([NativeTypeName("ABI::Windows::Media::Core::MseEndOfS public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Opened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Opened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Opened(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Ended(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_Closed(EventRegistrationToken token); @@ -250,19 +250,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Opened; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Opened; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Opened; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Ended; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Ended; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Ended; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CMseStreamSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISceneAnalysisEffect.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISceneAnalysisEffect.cs index 6c2cf468ce..13371da0aa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISceneAnalysisEffect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISceneAnalysisEffect.cs @@ -98,9 +98,9 @@ public HRESULT get_DesiredAnalysisInterval([NativeTypeName("ABI::Windows::Founda /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_SceneAnalyzed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CSceneAnalysisEffect_Windows__CMedia__CCore__CSceneAnalyzedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_SceneAnalyzed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CSceneAnalysisEffect_Windows__CMedia__CCore__CSceneAnalyzedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISceneAnalysisEffect*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISceneAnalysisEffect*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT get_DesiredAnalysisInterval([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(9)] - HRESULT add_SceneAnalyzed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CSceneAnalysisEffect_Windows__CMedia__CCore__CSceneAnalyzedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_SceneAnalyzed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CSceneAnalysisEffect_Windows__CMedia__CCore__CSceneAnalyzedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(10)] HRESULT remove_SceneAnalyzed(EventRegistrationToken cookie); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_DesiredAnalysisInterval; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CSceneAnalysisEffect_Windows__CMedia__CCore__CSceneAnalyzedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SceneAnalyzed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SceneAnalyzed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SceneAnalyzed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISingleSelectMediaTrackList.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISingleSelectMediaTrackList.cs index 6c52e0327a..e219d0a2ca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISingleSelectMediaTrackList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ISingleSelectMediaTrackList.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SelectedIndexChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CISingleSelectMediaTrackList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SelectedIndexChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CISingleSelectMediaTrackList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISingleSelectMediaTrackList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISingleSelectMediaTrackList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,7 +106,7 @@ public HRESULT get_SelectedIndex([NativeTypeName("INT32 *")] int* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SelectedIndexChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CISingleSelectMediaTrackList_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SelectedIndexChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CISingleSelectMediaTrackList_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SelectedIndexChanged(EventRegistrationToken token); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CISingleSelectMediaTrackList_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SelectedIndexChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SelectedIndexChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SelectedIndexChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrack.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrack.cs index 4969b8ba00..a95b4a3f0c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrack.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrack.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_CueEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CueEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_CueEntered(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_CueExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CueExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_CueExited(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_TrackFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CTimedMetadataTrackFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TrackFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CTimedMetadataTrackFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,17 +122,17 @@ public HRESULT remove_TrackFailed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_Cues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView** value) + public HRESULT get_Cues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_ActiveCues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView** value) + public HRESULT get_ActiveCues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((ITimedMetadataTrack*)Unsafe.AsPointer(ref this), value); } /// @@ -170,28 +170,28 @@ public HRESULT RemoveCue([NativeTypeName("ABI::Windows::Media::Core::IMediaCue * public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_CueEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CueEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_CueEntered(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_CueExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CueExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_CueExited(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_TrackFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CTimedMetadataTrackFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TrackFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CTimedMetadataTrackFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_TrackFailed(EventRegistrationToken token); [VtblIndex(12)] - HRESULT get_Cues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView** value); + HRESULT get_Cues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView>** value); [VtblIndex(13)] - HRESULT get_ActiveCues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView** value); + HRESULT get_ActiveCues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **")] IVectorView>** value); [VtblIndex(14)] HRESULT get_TimedMetadataKind([NativeTypeName("ABI::Windows::Media::Core::TimedMetadataKind *")] TimedMetadataKind* value); @@ -228,28 +228,28 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CueEntered; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CueEntered; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CueEntered; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CMediaCueEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CueExited; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CueExited; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CueExited; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedMetadataTrack_Windows__CMedia__CCore__CTimedMetadataTrackFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TrackFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TrackFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TrackFailed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Cues; + public delegate* unmanaged[MemberFunction]>**, int> get_Cues; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CIMediaCue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ActiveCues; + public delegate* unmanaged[MemberFunction]>**, int> get_ActiveCues; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::TimedMetadataKind *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_TimedMetadataKind; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrackProvider.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrackProvider.cs index 1d31fa14bb..09f493d1c5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrackProvider.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedMetadataTrackProvider.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value) + public HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ITimedMetadataTrackProvider*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ITimedMetadataTrackProvider*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value); + HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_TimedMetadataTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_TimedMetadataTracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextCue.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextCue.cs index f390324065..c3860845d0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextCue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextCue.cs @@ -106,9 +106,9 @@ public HRESULT put_CueStyle([NativeTypeName("ABI::Windows::Media::Core::ITimedTe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Lines([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextLine_t **")] IVector** value) + public HRESULT get_Lines([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextLine_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ITimedTextCue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((ITimedTextCue*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT put_CueStyle([NativeTypeName("ABI::Windows::Media::Core::ITimedTextStyle *")] ITimedTextStyle* value); [VtblIndex(10)] - HRESULT get_Lines([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextLine_t **")] IVector** value); + HRESULT get_Lines([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextLine_t **")] IVector>** value); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_CueStyle; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextLine_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Lines; + public delegate* unmanaged[MemberFunction]>**, int> get_Lines; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextLine.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextLine.cs index e2a303628e..1e09610b6a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextLine.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextLine.cs @@ -90,9 +90,9 @@ public HRESULT put_Text(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Subformats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextSubformat_t **")] IVector** value) + public HRESULT get_Subformats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextSubformat_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ITimedTextLine*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ITimedTextLine*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Text(HSTRING value); [VtblIndex(8)] - HRESULT get_Subformats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextSubformat_t **")] IVector** value); + HRESULT get_Subformats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextSubformat_t **")] IVector>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Text; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedTextSubformat_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Subformats; + public delegate* unmanaged[MemberFunction]>**, int> get_Subformats; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSource.cs index a6fff74d5f..9d229c9f6a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSource.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Resolved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedTextSource_Windows__CMedia__CCore__CTimedTextSourceResolveResultEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Resolved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedTextSource_Windows__CMedia__CCore__CTimedTextSourceResolveResultEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ITimedTextSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ITimedTextSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_Resolved(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Resolved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedTextSource_Windows__CMedia__CCore__CTimedTextSourceResolveResultEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Resolved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedTextSource_Windows__CMedia__CCore__CTimedTextSourceResolveResultEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Resolved(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CTimedTextSource_Windows__CMedia__CCore__CTimedTextSourceResolveResultEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Resolved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Resolved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Resolved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSourceResolveResultEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSourceResolveResultEventArgs.cs index 6ac9253c7b..a674dc384f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSourceResolveResultEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/ITimedTextSourceResolveResultEventArgs.cs @@ -82,9 +82,9 @@ public HRESULT get_Error([NativeTypeName("ABI::Windows::Media::Core::ITimedMetad /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Tracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value) + public HRESULT get_Tracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ITimedTextSourceResolveResultEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ITimedTextSourceResolveResultEventArgs*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Error([NativeTypeName("ABI::Windows::Media::Core::ITimedMetadataTrackError **")] ITimedMetadataTrackError** value); [VtblIndex(7)] - HRESULT get_Tracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value); + HRESULT get_Tracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Error; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Tracks; + public delegate* unmanaged[MemberFunction]>**, int> get_Tracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoStabilizationEffect.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoStabilizationEffect.cs index b926ca58dc..b5d2783b51 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoStabilizationEffect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoStabilizationEffect.cs @@ -90,9 +90,9 @@ public HRESULT get_Enabled([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_EnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoStabilizationEffect_Windows__CMedia__CCore__CVideoStabilizationEffectEnabledChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_EnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoStabilizationEffect_Windows__CMedia__CCore__CVideoStabilizationEffectEnabledChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IVideoStabilizationEffect*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IVideoStabilizationEffect*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -120,7 +120,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Enabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT add_EnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoStabilizationEffect_Windows__CMedia__CCore__CVideoStabilizationEffectEnabledChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_EnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoStabilizationEffect_Windows__CMedia__CCore__CVideoStabilizationEffectEnabledChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(9)] HRESULT remove_EnabledChanged(EventRegistrationToken cookie); @@ -157,7 +157,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Enabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoStabilizationEffect_Windows__CMedia__CCore__CVideoStabilizationEffectEnabledChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnabledChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoTrack.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoTrack.cs index cccb4473cd..35924f3c89 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoTrack.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/IVideoTrack.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoTrack_Windows__CMedia__CCore__CVideoTrackOpenFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoTrack_Windows__CMedia__CCore__CVideoTrackOpenFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IVideoTrack*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IVideoTrack*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,7 +122,7 @@ public HRESULT get_SupportInfo([NativeTypeName("ABI::Windows::Media::Core::IVide public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoTrack_Windows__CMedia__CCore__CVideoTrackOpenFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OpenFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoTrack_Windows__CMedia__CCore__CVideoTrackOpenFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_OpenFailed(EventRegistrationToken token); @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CCore__CVideoTrack_Windows__CMedia__CCore__CVideoTrackOpenFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OpenFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OpenFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OpenFailed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IVariablePhotoSequenceController.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IVariablePhotoSequenceController.cs index 27af1f4c46..b9456b52f7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IVariablePhotoSequenceController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IVariablePhotoSequenceController.cs @@ -130,9 +130,9 @@ public HRESULT get_FrameCapabilities([NativeTypeName("ABI::Windows::Media::Devic /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_DesiredFrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVector** items) + public HRESULT get_DesiredFrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVector>** items) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IVariablePhotoSequenceController*)Unsafe.AsPointer(ref this), items); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IVariablePhotoSequenceController*)Unsafe.AsPointer(ref this), items); } public interface Interface : IInspectable.Interface @@ -159,7 +159,7 @@ public interface Interface : IInspectable.Interface HRESULT get_FrameCapabilities([NativeTypeName("ABI::Windows::Media::Devices::Core::IFrameControlCapabilities **")] IFrameControlCapabilities** value); [VtblIndex(13)] - HRESULT get_DesiredFrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVector** items); + HRESULT get_DesiredFrameControllers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CDevices__CCore__CFrameController_t **")] IVector>** items); } public partial struct Vtbl @@ -205,6 +205,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_FrameCapabilities; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CDevices__CCore__CFrameController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DesiredFrameControllers; + public delegate* unmanaged[MemberFunction]>**, int> get_DesiredFrameControllers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModule.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModule.cs index 2c4fa339f4..f848fbf4aa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModule.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModule.cs @@ -114,9 +114,9 @@ public HRESULT get_MinorVersion([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT SendCommandAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* Command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CDevices__CModuleCommandResult_t **")] IAsyncOperation** operation) + public HRESULT SendCommandAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* Command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CDevices__CModuleCommandResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IAudioDeviceModule*)Unsafe.AsPointer(ref this), Command, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IAudioDeviceModule*)Unsafe.AsPointer(ref this), Command, operation); } public interface Interface : IInspectable.Interface @@ -137,7 +137,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MinorVersion([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(11)] - HRESULT SendCommandAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* Command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CDevices__CModuleCommandResult_t **")] IAsyncOperation** operation); + HRESULT SendCommandAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* Command, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CDevices__CModuleCommandResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -177,6 +177,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MinorVersion; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CDevices__CModuleCommandResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendCommandAsync; + public delegate* unmanaged[MemberFunction]>**, int> SendCommandAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModulesManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModulesManager.cs index bba814958e..ddf752cdbd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModulesManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IAudioDeviceModulesManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ModuleNotificationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CAudioDeviceModulesManager_Windows__CMedia__CDevices__CAudioDeviceModuleNotificationEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ModuleNotificationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CAudioDeviceModulesManager_Windows__CMedia__CDevices__CAudioDeviceModuleNotificationEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,32 +90,32 @@ public HRESULT remove_ModuleNotificationReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FindAllById(HSTRING moduleId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView** modules) + public HRESULT FindAllById(HSTRING moduleId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView>** modules) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), moduleId, modules); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), moduleId, modules); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView** modules) + public HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView>** modules) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), modules); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IAudioDeviceModulesManager*)Unsafe.AsPointer(ref this), modules); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ModuleNotificationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CAudioDeviceModulesManager_Windows__CMedia__CDevices__CAudioDeviceModuleNotificationEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ModuleNotificationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CAudioDeviceModulesManager_Windows__CMedia__CDevices__CAudioDeviceModuleNotificationEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ModuleNotificationReceived(EventRegistrationToken token); [VtblIndex(8)] - HRESULT FindAllById(HSTRING moduleId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView** modules); + HRESULT FindAllById(HSTRING moduleId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView>** modules); [VtblIndex(9)] - HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView** modules); + HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **")] IVectorView>** modules); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CAudioDeviceModulesManager_Windows__CMedia__CDevices__CAudioDeviceModuleNotificationEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ModuleNotificationReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ModuleNotificationReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ModuleNotificationReceived; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllById; + public delegate* unmanaged[MemberFunction]>**, int> FindAllById; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CAudioDeviceModule_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAll; + public delegate* unmanaged[MemberFunction]>**, int> FindAll; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/ICameraOcclusionInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/ICameraOcclusionInfo.cs index a0c40d2527..092bb14930 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/ICameraOcclusionInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/ICameraOcclusionInfo.cs @@ -90,9 +90,9 @@ public HRESULT IsOcclusionKindSupported([NativeTypeName("ABI::Windows::Media::De /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CCameraOcclusionInfo_Windows__CMedia__CDevices__CCameraOcclusionStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CCameraOcclusionInfo_Windows__CMedia__CDevices__CCameraOcclusionStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICameraOcclusionInfo*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICameraOcclusionInfo*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT IsOcclusionKindSupported([NativeTypeName("ABI::Windows::Media::Devices::CameraOcclusionKind")] CameraOcclusionKind occlusionKind, [NativeTypeName("boolean *")] byte* result); [VtblIndex(8)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CCameraOcclusionInfo_Windows__CMedia__CDevices__CCameraOcclusionStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CCameraOcclusionInfo_Windows__CMedia__CDevices__CCameraOcclusionStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_StateChanged(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsOcclusionKindSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CDevices__CCameraOcclusionInfo_Windows__CMedia__CDevices__CCameraOcclusionStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IDigitalWindowControl.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IDigitalWindowControl.cs index 8021faec08..743e5f8d2d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IDigitalWindowControl.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IDigitalWindowControl.cs @@ -122,9 +122,9 @@ public HRESULT ConfigureWithBounds([NativeTypeName("ABI::Windows::Media::Devices /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_SupportedCapabilities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CDigitalWindowCapability_t **")] IVectorView** value) + public HRESULT get_SupportedCapabilities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CDigitalWindowCapability_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IDigitalWindowControl*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IDigitalWindowControl*)Unsafe.AsPointer(ref this), value); } /// @@ -156,7 +156,7 @@ public interface Interface : IInspectable.Interface HRESULT ConfigureWithBounds([NativeTypeName("ABI::Windows::Media::Devices::DigitalWindowMode")] DigitalWindowMode digitalWindowMode, [NativeTypeName("ABI::Windows::Media::Devices::IDigitalWindowBounds *")] IDigitalWindowBounds* digitalWindowBounds); [VtblIndex(12)] - HRESULT get_SupportedCapabilities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CDigitalWindowCapability_t **")] IVectorView** value); + HRESULT get_SupportedCapabilities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CDigitalWindowCapability_t **")] IVectorView>** value); [VtblIndex(13)] HRESULT GetCapabilityForSize([NativeTypeName("INT32")] int width, [NativeTypeName("INT32")] int height, [NativeTypeName("ABI::Windows::Media::Devices::IDigitalWindowCapability **")] IDigitalWindowCapability** result); @@ -202,7 +202,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ConfigureWithBounds; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CDevices__CDigitalWindowCapability_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedCapabilities; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedCapabilities; [NativeTypeName("HRESULT (INT32, INT32, ABI::Windows::Media::Devices::IDigitalWindowCapability **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetCapabilityForSize; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceController.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceController.cs index fd7e97ef2a..9f60e3fb55 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceController.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAvailableMediaStreamProperties([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CIMediaEncodingProperties_t **")] IVectorView** value) + public HRESULT GetAvailableMediaStreamProperties([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CIMediaEncodingProperties_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaDeviceController*)Unsafe.AsPointer(ref this), mediaStreamType, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaDeviceController*)Unsafe.AsPointer(ref this), mediaStreamType, value); } /// @@ -98,7 +98,7 @@ public HRESULT SetMediaStreamPropertiesAsync([NativeTypeName("ABI::Windows::Medi public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAvailableMediaStreamProperties([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CIMediaEncodingProperties_t **")] IVectorView** value); + HRESULT GetAvailableMediaStreamProperties([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CIMediaEncodingProperties_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT GetMediaStreamProperties([NativeTypeName("ABI::Windows::Media::Capture::MediaStreamType")] MediaStreamType mediaStreamType, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProperties **")] IMediaEncodingProperties** value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaStreamType, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CIMediaEncodingProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAvailableMediaStreamProperties; + public delegate* unmanaged[MemberFunction]>**, int> GetAvailableMediaStreamProperties; [NativeTypeName("HRESULT (ABI::Windows::Media::Capture::MediaStreamType, ABI::Windows::Media::MediaProperties::IMediaEncodingProperties **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetMediaStreamProperties; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceStatics.cs index 205e32a8eb..8be105b48a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IMediaDeviceStatics.cs @@ -114,9 +114,9 @@ public HRESULT GetDefaultAudioRenderId([NativeTypeName("ABI::Windows::Media::Dev /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_DefaultAudioCaptureDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_DefaultAudioCaptureDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_t *")] ITypedEventHandler, IntPtr>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMediaDeviceStatics*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], IntPtr>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMediaDeviceStatics*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -130,9 +130,9 @@ public HRESULT remove_DefaultAudioCaptureDeviceChanged(EventRegistrationToken co /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_DefaultAudioRenderDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_DefaultAudioRenderDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_t *")] ITypedEventHandler, IntPtr>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IMediaDeviceStatics*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], IntPtr>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IMediaDeviceStatics*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -161,13 +161,13 @@ public interface Interface : IInspectable.Interface HRESULT GetDefaultAudioRenderId([NativeTypeName("ABI::Windows::Media::Devices::AudioDeviceRole")] AudioDeviceRole role, HSTRING* deviceId); [VtblIndex(11)] - HRESULT add_DefaultAudioCaptureDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_DefaultAudioCaptureDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_t *")] ITypedEventHandler, IntPtr>* handler, EventRegistrationToken* cookie); [VtblIndex(12)] HRESULT remove_DefaultAudioCaptureDeviceChanged(EventRegistrationToken cookie); [VtblIndex(13)] - HRESULT add_DefaultAudioRenderDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_DefaultAudioRenderDeviceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_t *")] ITypedEventHandler, IntPtr>* handler, EventRegistrationToken* cookie); [VtblIndex(14)] HRESULT remove_DefaultAudioRenderDeviceChanged(EventRegistrationToken cookie); @@ -210,13 +210,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDefaultAudioRenderId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioCaptureDeviceChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DefaultAudioCaptureDeviceChanged; + public delegate* unmanaged[MemberFunction], IntPtr>*, EventRegistrationToken*, int> add_DefaultAudioCaptureDeviceChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DefaultAudioCaptureDeviceChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CMedia__CDevices__CDefaultAudioRenderDeviceChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DefaultAudioRenderDeviceChanged; + public delegate* unmanaged[MemberFunction], IntPtr>*, EventRegistrationToken*, int> add_DefaultAudioRenderDeviceChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DefaultAudioRenderDeviceChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IRegionsOfInterestControl.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IRegionsOfInterestControl.cs index 7b3597efaf..02e155b98d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IRegionsOfInterestControl.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices/IRegionsOfInterestControl.cs @@ -82,17 +82,17 @@ public HRESULT get_MaxRegions([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT SetRegionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable* regions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) + public HRESULT SetRegionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable>* regions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[7]))((IRegionsOfInterestControl*)Unsafe.AsPointer(ref this), regions, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[7]))((IRegionsOfInterestControl*)Unsafe.AsPointer(ref this), regions, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetRegionsWithLockAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable* regions, [NativeTypeName("boolean")] byte lockValues, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) + public HRESULT SetRegionsWithLockAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable>* regions, [NativeTypeName("boolean")] byte lockValues, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, byte, IAsyncAction**, int>)(lpVtbl[8]))((IRegionsOfInterestControl*)Unsafe.AsPointer(ref this), regions, lockValues, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>*, byte, IAsyncAction**, int>)(lpVtbl[8]))((IRegionsOfInterestControl*)Unsafe.AsPointer(ref this), regions, lockValues, asyncInfo); } /// @@ -133,10 +133,10 @@ public interface Interface : IInspectable.Interface HRESULT get_MaxRegions([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(7)] - HRESULT SetRegionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable* regions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); + HRESULT SetRegionsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable>* regions, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(8)] - HRESULT SetRegionsWithLockAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable* regions, [NativeTypeName("boolean")] byte lockValues, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); + HRESULT SetRegionsWithLockAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *")] IIterable>* regions, [NativeTypeName("boolean")] byte lockValues, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(9)] HRESULT ClearRegionsAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -176,10 +176,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MaxRegions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetRegionsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> SetRegionsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CDevices__CRegionOfInterest_t *, boolean, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, byte, IAsyncAction**, int> SetRegionsWithLockAsync; + public delegate* unmanaged[MemberFunction]>*, byte, IAsyncAction**, int> SetRegionsWithLockAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ClearRegionsAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrack.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrack.cs index 0a567e9aef..7bb3711979 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrack.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrack.cs @@ -178,9 +178,9 @@ public HRESULT GetAudioEncodingProperties([NativeTypeName("ABI::Windows::Media:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value) + public HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IBackgroundAudioTrack*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IBackgroundAudioTrack*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -225,7 +225,7 @@ public interface Interface : IInspectable.Interface HRESULT GetAudioEncodingProperties([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties **")] IAudioEncodingProperties** value); [VtblIndex(19)] - HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value); + HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value); } public partial struct Vtbl @@ -289,6 +289,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetAudioEncodingProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AudioEffectDefinitions; + public delegate* unmanaged[MemberFunction]>**, int> get_AudioEffectDefinitions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrackStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrackStatics.cs index 95215c8f9d..a32398e8be 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrackStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IBackgroundAudioTrackStatics.cs @@ -82,9 +82,9 @@ public HRESULT CreateFromEmbeddedAudioTrack([NativeTypeName("ABI::Windows::Media /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IAsyncOperation** operation) + public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBackgroundAudioTrackStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBackgroundAudioTrackStatics*)Unsafe.AsPointer(ref this), file, operation); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateFromEmbeddedAudioTrack([NativeTypeName("ABI::Windows::Media::Editing::IEmbeddedAudioTrack *")] IEmbeddedAudioTrack* embeddedAudioTrack, [NativeTypeName("ABI::Windows::Media::Editing::IBackgroundAudioTrack **")] IBackgroundAudioTrack** value); [VtblIndex(7)] - HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IAsyncOperation** operation); + HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFromEmbeddedAudioTrack; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClip.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClip.cs index 95b55eb24a..d3c8946d33 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClip.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClip.cs @@ -154,9 +154,9 @@ public HRESULT get_EndTimeInComposition([NativeTypeName("ABI::Windows::Foundatio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT get_EmbeddedAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEditing__CEmbeddedAudioTrack_t **")] IVectorView** value) + public HRESULT get_EmbeddedAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEditing__CEmbeddedAudioTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IMediaClip*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[16]))((IMediaClip*)Unsafe.AsPointer(ref this), value); } /// @@ -202,17 +202,17 @@ public HRESULT GetVideoEncodingProperties([NativeTypeName("ABI::Windows::Media:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value) + public HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IMediaClip*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[22]))((IMediaClip*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT get_VideoEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIVideoEffectDefinition_t **")] IVector** value) + public HRESULT get_VideoEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIVideoEffectDefinition_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[23]))((IMediaClip*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[23]))((IMediaClip*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -248,7 +248,7 @@ public interface Interface : IInspectable.Interface HRESULT get_EndTimeInComposition([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(16)] - HRESULT get_EmbeddedAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEditing__CEmbeddedAudioTrack_t **")] IVectorView** value); + HRESULT get_EmbeddedAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEditing__CEmbeddedAudioTrack_t **")] IVectorView>** value); [VtblIndex(17)] HRESULT get_SelectedEmbeddedAudioTrackIndex([NativeTypeName("UINT32 *")] uint* value); @@ -266,10 +266,10 @@ public interface Interface : IInspectable.Interface HRESULT GetVideoEncodingProperties([NativeTypeName("ABI::Windows::Media::MediaProperties::IVideoEncodingProperties **")] IVideoEncodingProperties** value); [VtblIndex(22)] - HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector** value); + HRESULT get_AudioEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **")] IVector>** value); [VtblIndex(23)] - HRESULT get_VideoEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIVideoEffectDefinition_t **")] IVector** value); + HRESULT get_VideoEffectDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIVideoEffectDefinition_t **")] IVector>** value); } public partial struct Vtbl @@ -324,7 +324,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_EndTimeInComposition; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEditing__CEmbeddedAudioTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_EmbeddedAudioTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_EmbeddedAudioTracks; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SelectedEmbeddedAudioTrackIndex; @@ -342,9 +342,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetVideoEncodingProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIAudioEffectDefinition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AudioEffectDefinitions; + public delegate* unmanaged[MemberFunction]>**, int> get_AudioEffectDefinitions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEffects__CIVideoEffectDefinition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_VideoEffectDefinitions; + public delegate* unmanaged[MemberFunction]>**, int> get_VideoEffectDefinitions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClipStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClipStatics.cs index 549ed5dd62..75afda04ca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClipStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaClipStatics.cs @@ -82,17 +82,17 @@ public HRESULT CreateFromColor([NativeTypeName("ABI::Windows::UI::Color")] Color /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation** operation) + public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaClipStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaClipStatics*)Unsafe.AsPointer(ref this), file, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFromImageFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan originalDuration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation** operation) + public HRESULT CreateFromImageFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan originalDuration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaClipStatics*)Unsafe.AsPointer(ref this), file, originalDuration, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaClipStatics*)Unsafe.AsPointer(ref this), file, originalDuration, operation); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT CreateFromColor([NativeTypeName("ABI::Windows::UI::Color")] Color color, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan originalDuration, [NativeTypeName("ABI::Windows::Media::Editing::IMediaClip **")] IMediaClip** value); [VtblIndex(7)] - HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation** operation); + HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateFromImageFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan originalDuration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation** operation); + HRESULT CreateFromImageFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan originalDuration, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateFromColor; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaClip_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromImageFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromImageFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition.cs index b743ce9f7a..b0c442b70d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition.cs @@ -82,17 +82,17 @@ public HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Clips([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaClip_t **")] IVector** value) + public HRESULT get_Clips([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaClip_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaComposition*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaComposition*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_BackgroundAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IVector** value) + public HRESULT get_BackgroundAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMediaComposition*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMediaComposition*)Unsafe.AsPointer(ref this), value); } /// @@ -130,9 +130,9 @@ public HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::Time /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetThumbnailsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CTimeSpan_t *")] IIterable* timesFromStart, [NativeTypeName("INT32")] int scaledWidth, [NativeTypeName("INT32")] int scaledHeight, [NativeTypeName("ABI::Windows::Media::Editing::VideoFramePrecision")] VideoFramePrecision framePrecision, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation** operation) + public HRESULT GetThumbnailsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CTimeSpan_t *")] IIterable* timesFromStart, [NativeTypeName("INT32")] int scaledWidth, [NativeTypeName("INT32")] int scaledHeight, [NativeTypeName("ABI::Windows::Media::Editing::VideoFramePrecision")] VideoFramePrecision framePrecision, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation>>** operation) { - return ((delegate* unmanaged[MemberFunction]*, int, int, VideoFramePrecision, IAsyncOperation**, int>)(lpVtbl[13]))((IMediaComposition*)Unsafe.AsPointer(ref this), timesFromStart, scaledWidth, scaledHeight, framePrecision, operation); + return ((delegate* unmanaged[MemberFunction]*, int, int, VideoFramePrecision, IAsyncOperation>>**, int>)(lpVtbl[13]))((IMediaComposition*)Unsafe.AsPointer(ref this), timesFromStart, scaledWidth, scaledHeight, framePrecision, operation); } /// @@ -197,10 +197,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(7)] - HRESULT get_Clips([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaClip_t **")] IVector** value); + HRESULT get_Clips([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaClip_t **")] IVector>** value); [VtblIndex(8)] - HRESULT get_BackgroundAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IVector** value); + HRESULT get_BackgroundAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **")] IVector>** value); [VtblIndex(9)] HRESULT get_UserData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_HSTRING_t **")] IMap** value); @@ -215,7 +215,7 @@ public interface Interface : IInspectable.Interface HRESULT GetThumbnailAsync([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan timeFromStart, [NativeTypeName("INT32")] int scaledWidth, [NativeTypeName("INT32")] int scaledHeight, [NativeTypeName("ABI::Windows::Media::Editing::VideoFramePrecision")] VideoFramePrecision framePrecision, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation** operation); [VtblIndex(13)] - HRESULT GetThumbnailsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CTimeSpan_t *")] IIterable* timesFromStart, [NativeTypeName("INT32")] int scaledWidth, [NativeTypeName("INT32")] int scaledHeight, [NativeTypeName("ABI::Windows::Media::Editing::VideoFramePrecision")] VideoFramePrecision framePrecision, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation** operation); + HRESULT GetThumbnailsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CTimeSpan_t *")] IIterable* timesFromStart, [NativeTypeName("INT32")] int scaledWidth, [NativeTypeName("INT32")] int scaledHeight, [NativeTypeName("ABI::Windows::Media::Editing::VideoFramePrecision")] VideoFramePrecision framePrecision, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CGraphics__CImaging__CImageStream_t **")] IAsyncOperation>>** operation); [VtblIndex(14)] HRESULT RenderToFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* destination, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CTranscoding__CTranscodeFailureReason_double_t **")] IAsyncOperationWithProgress** operation); @@ -264,10 +264,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Duration; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaClip_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Clips; + public delegate* unmanaged[MemberFunction]>**, int> get_Clips; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CBackgroundAudioTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_BackgroundAudioTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_BackgroundAudioTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_UserData; @@ -282,7 +282,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetThumbnailAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CTimeSpan_t *, INT32, INT32, ABI::Windows::Media::Editing::VideoFramePrecision, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CGraphics__CImaging__CImageStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int, int, VideoFramePrecision, IAsyncOperation**, int> GetThumbnailsAsync; + public delegate* unmanaged[MemberFunction]*, int, int, VideoFramePrecision, IAsyncOperation>>**, int> GetThumbnailsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CMedia__CTranscoding__CTranscodeFailureReason_double_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RenderToFileAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition2.cs index 55c2ad8849..7669e35c3d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaComposition2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_OverlayLayers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlayLayer_t **")] IVector** value) + public HRESULT get_OverlayLayers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlayLayer_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaComposition2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaComposition2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_OverlayLayers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlayLayer_t **")] IVector** value); + HRESULT get_OverlayLayers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlayLayer_t **")] IVector>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlayLayer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_OverlayLayers; + public delegate* unmanaged[MemberFunction]>**, int> get_OverlayLayers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaCompositionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaCompositionStatics.cs index 608140e8ca..f93ef60f7a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaCompositionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaCompositionStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT LoadAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaComposition_t **")] IAsyncOperation** operation) + public HRESULT LoadAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaComposition_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaCompositionStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaCompositionStatics*)Unsafe.AsPointer(ref this), file, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT LoadAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaComposition_t **")] IAsyncOperation** operation); + HRESULT LoadAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaComposition_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CEditing__CMediaComposition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaOverlayLayer.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaOverlayLayer.cs index c82ebaa98d..fb2280b534 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaOverlayLayer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.editing/IMediaOverlayLayer.cs @@ -82,9 +82,9 @@ public HRESULT Clone([NativeTypeName("ABI::Windows::Media::Editing::IMediaOverla /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Overlays([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlay_t **")] IVector** value) + public HRESULT get_Overlays([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlay_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaOverlayLayer*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaOverlayLayer*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT Clone([NativeTypeName("ABI::Windows::Media::Editing::IMediaOverlayLayer **")] IMediaOverlayLayer** result); [VtblIndex(7)] - HRESULT get_Overlays([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlay_t **")] IVector** value); + HRESULT get_Overlays([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlay_t **")] IVector>** value); [VtblIndex(8)] HRESULT get_CustomCompositorDefinition([NativeTypeName("ABI::Windows::Media::Effects::IVideoCompositorDefinition **")] IVideoCompositorDefinition** value); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Clone; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CEditing__CMediaOverlay_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Overlays; + public delegate* unmanaged[MemberFunction]>**, int> get_Overlays; [NativeTypeName("HRESULT (ABI::Windows::Media::Effects::IVideoCompositorDefinition **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CustomCompositorDefinition; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioCaptureEffectsManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioCaptureEffectsManager.cs index 5e555d6dfd..6a011f51e2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioCaptureEffectsManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioCaptureEffectsManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AudioCaptureEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioCaptureEffectsManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioCaptureEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioCaptureEffectsManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioCaptureEffectsManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioCaptureEffectsManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,21 +90,21 @@ public HRESULT remove_AudioCaptureEffectsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAudioCaptureEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView** effects) + public HRESULT GetAudioCaptureEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView>** effects) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAudioCaptureEffectsManager*)Unsafe.AsPointer(ref this), effects); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAudioCaptureEffectsManager*)Unsafe.AsPointer(ref this), effects); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AudioCaptureEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioCaptureEffectsManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioCaptureEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioCaptureEffectsManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_AudioCaptureEffectsChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT GetAudioCaptureEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView** effects); + HRESULT GetAudioCaptureEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView>** effects); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioCaptureEffectsManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioCaptureEffectsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioCaptureEffectsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioCaptureEffectsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAudioCaptureEffects; + public delegate* unmanaged[MemberFunction]>**, int> GetAudioCaptureEffects; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioRenderEffectsManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioRenderEffectsManager.cs index e41aa48c74..77efdcde09 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioRenderEffectsManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IAudioRenderEffectsManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AudioRenderEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioRenderEffectsManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioRenderEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioRenderEffectsManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioRenderEffectsManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAudioRenderEffectsManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,21 +90,21 @@ public HRESULT remove_AudioRenderEffectsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAudioRenderEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView** effects) + public HRESULT GetAudioRenderEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView>** effects) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAudioRenderEffectsManager*)Unsafe.AsPointer(ref this), effects); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAudioRenderEffectsManager*)Unsafe.AsPointer(ref this), effects); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AudioRenderEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioRenderEffectsManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioRenderEffectsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioRenderEffectsManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_AudioRenderEffectsChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT GetAudioRenderEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView** effects); + HRESULT GetAudioRenderEffects([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **")] IVectorView>** effects); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CEffects__CAudioRenderEffectsManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioRenderEffectsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioRenderEffectsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioRenderEffectsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CEffects__CAudioEffect_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAudioRenderEffects; + public delegate* unmanaged[MemberFunction]>**, int> GetAudioRenderEffects; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicAudioEffect.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicAudioEffect.cs index bd5b516a13..87b4a56f78 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicAudioEffect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicAudioEffect.cs @@ -82,9 +82,9 @@ public HRESULT get_UseInputFrameForOutput([NativeTypeName("boolean *")] byte* va /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CAudioEncodingProperties_t **")] IVectorView** value) + public HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CAudioEncodingProperties_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBasicAudioEffect*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBasicAudioEffect*)Unsafe.AsPointer(ref this), value); } /// @@ -125,7 +125,7 @@ public interface Interface : IInspectable.Interface HRESULT get_UseInputFrameForOutput([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CAudioEncodingProperties_t **")] IVectorView** value); + HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CAudioEncodingProperties_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT SetEncodingProperties([NativeTypeName("ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *")] IAudioEncodingProperties* encodingProperties); @@ -165,7 +165,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UseInputFrameForOutput; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CAudioEncodingProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedEncodingProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedEncodingProperties; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IAudioEncodingProperties *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetEncodingProperties; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicVideoEffect.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicVideoEffect.cs index a22e94faf2..9c6b356c40 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicVideoEffect.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IBasicVideoEffect.cs @@ -98,9 +98,9 @@ public HRESULT get_TimeIndependent([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CVideoEncodingProperties_t **")] IVectorView** value) + public HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CVideoEncodingProperties_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IBasicVideoEffect*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IBasicVideoEffect*)Unsafe.AsPointer(ref this), value); } /// @@ -147,7 +147,7 @@ public interface Interface : IInspectable.Interface HRESULT get_TimeIndependent([NativeTypeName("boolean *")] byte* value); [VtblIndex(9)] - HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CVideoEncodingProperties_t **")] IVectorView** value); + HRESULT get_SupportedEncodingProperties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CVideoEncodingProperties_t **")] IVectorView>** value); [VtblIndex(10)] HRESULT SetEncodingProperties([NativeTypeName("ABI::Windows::Media::MediaProperties::IVideoEncodingProperties *")] IVideoEncodingProperties* encodingProperties, [NativeTypeName("ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice *")] IDirect3DDevice* device); @@ -193,7 +193,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_TimeIndependent; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CMediaProperties__CVideoEncodingProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedEncodingProperties; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedEncodingProperties; [NativeTypeName("HRESULT (ABI::Windows::Media::MediaProperties::IVideoEncodingProperties *, ABI::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetEncodingProperties; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/ICompositeVideoFrameContext.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/ICompositeVideoFrameContext.cs index f51245b505..cb140bc181 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/ICompositeVideoFrameContext.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/ICompositeVideoFrameContext.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_SurfacesToOverlay([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDirectX__CDirect3D11__CIDirect3DSurface_t **")] IVectorView** value) + public HRESULT get_SurfacesToOverlay([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDirectX__CDirect3D11__CIDirect3DSurface_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICompositeVideoFrameContext*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICompositeVideoFrameContext*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT GetOverlayForSurface([NativeTypeName("ABI::Windows::Graphics::Dir public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_SurfacesToOverlay([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDirectX__CDirect3D11__CIDirect3DSurface_t **")] IVectorView** value); + HRESULT get_SurfacesToOverlay([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDirectX__CDirect3D11__CIDirect3DSurface_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_BackgroundFrame([NativeTypeName("ABI::Windows::Media::IVideoFrame **")] IVideoFrame** value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CDirectX__CDirect3D11__CIDirect3DSurface_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SurfacesToOverlay; + public delegate* unmanaged[MemberFunction]>**, int> get_SurfacesToOverlay; [NativeTypeName("HRESULT (ABI::Windows::Media::IVideoFrame **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_BackgroundFrame; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFace.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFace.cs new file mode 100644 index 0000000000..3de7ea98e0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFace.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("8200D454-66BC-34DF-9410-E89400195414")] +[NativeTypeName("struct IDetectedFace : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IDetectedFace : IDetectedFace.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDetectedFace)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IDetectedFace*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IDetectedFace*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IDetectedFace*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IDetectedFace*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IDetectedFace*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IDetectedFace*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_FaceBox([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapBounds *")] BitmapBounds* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDetectedFace*)Unsafe.AsPointer(ref this), returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_FaceBox([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapBounds *")] BitmapBounds* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapBounds *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_FaceBox; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetector.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetector.cs new file mode 100644 index 0000000000..521f64bccd --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetector.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("16B672DC-FE6F-3117-8D95-C3F04D51630C")] +[NativeTypeName("struct IFaceDetector : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IFaceDetector : IFaceDetector.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFaceDetector)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IFaceDetector*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IFaceDetector*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IFaceDetector*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IFaceDetector*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IFaceDetector*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IFaceDetector*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT DetectFacesAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::ISoftwareBitmap *")] ISoftwareBitmap* image, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IFaceDetector*)Unsafe.AsPointer(ref this), image, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT DetectFacesWithSearchAreaAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::ISoftwareBitmap *")] ISoftwareBitmap* image, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapBounds")] BitmapBounds searchArea, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IFaceDetector*)Unsafe.AsPointer(ref this), image, searchArea, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IFaceDetector*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT put_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IFaceDetector*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IFaceDetector*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT put_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IFaceDetector*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT DetectFacesAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::ISoftwareBitmap *")] ISoftwareBitmap* image, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue); + + [VtblIndex(7)] + HRESULT DetectFacesWithSearchAreaAsync([NativeTypeName("ABI::Windows::Graphics::Imaging::ISoftwareBitmap *")] ISoftwareBitmap* image, [NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapBounds")] BitmapBounds searchArea, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue); + + [VtblIndex(8)] + HRESULT get_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue); + + [VtblIndex(9)] + HRESULT put_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value); + + [VtblIndex(10)] + HRESULT get_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue); + + [VtblIndex(11)] + HRESULT put_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::ISoftwareBitmap *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> DetectFacesAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::ISoftwareBitmap *, ABI::Windows::Graphics::Imaging::BitmapBounds, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> DetectFacesWithSearchAreaAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MinDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MinDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MaxDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MaxDetectableFaceSize; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStatics.cs new file mode 100644 index 0000000000..30edd0ae8f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStatics.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("BC042D67-9047-33F6-881B-6746C1B218B8")] +[NativeTypeName("struct IFaceDetectorStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IFaceDetectorStatics : IFaceDetectorStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFaceDetectorStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceDetector_t **")] IAsyncOperation>** returnValue) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetSupportedBitmapPixelFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **")] IVectorView** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT IsBitmapPixelFormatSupported([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat bitmapPixelFormat, [NativeTypeName("boolean *")] byte* result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), bitmapPixelFormat, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IFaceDetectorStatics*)Unsafe.AsPointer(ref this), returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT CreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceDetector_t **")] IAsyncOperation>** returnValue); + + [VtblIndex(7)] + HRESULT GetSupportedBitmapPixelFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **")] IVectorView** result); + + [VtblIndex(8)] + HRESULT IsBitmapPixelFormatSupported([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat bitmapPixelFormat, [NativeTypeName("boolean *")] byte* result); + + [VtblIndex(9)] + HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceDetector_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> GetSupportedBitmapPixelFormats; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapPixelFormat, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] IsBitmapPixelFormatSupported; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSupported; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTracker.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTracker.cs new file mode 100644 index 0000000000..be239c6beb --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTracker.cs @@ -0,0 +1,168 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("6BA67D8C-A841-4420-93E6-2420A1884FCF")] +[NativeTypeName("struct IFaceTracker : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IFaceTracker : IFaceTracker.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFaceTracker)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IFaceTracker*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IFaceTracker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IFaceTracker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IFaceTracker*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IFaceTracker*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IFaceTracker*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT ProcessNextFrameAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* videoFrame, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue) + { + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IFaceTracker*)Unsafe.AsPointer(ref this), videoFrame, returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IFaceTracker*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT put_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IFaceTracker*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IFaceTracker*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT put_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IFaceTracker*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT ProcessNextFrameAsync([NativeTypeName("ABI::Windows::Media::IVideoFrame *")] IVideoFrame* videoFrame, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **")] IAsyncOperation>>>** returnValue); + + [VtblIndex(7)] + HRESULT get_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue); + + [VtblIndex(8)] + HRESULT put_MinDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value); + + [VtblIndex(9)] + HRESULT get_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize *")] BitmapSize* returnValue); + + [VtblIndex(10)] + HRESULT put_MaxDetectableFaceSize([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapSize")] BitmapSize value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Media::IVideoFrame *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CMedia__CFaceAnalysis__CDetectedFace_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>>>**, int> ProcessNextFrameAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MinDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MinDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MaxDetectableFaceSize; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapSize) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] put_MaxDetectableFaceSize; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStatics.cs new file mode 100644 index 0000000000..6020d0a1e1 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStatics.cs @@ -0,0 +1,154 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("E9629198-1801-3FA5-932E-31D767AF6C4D")] +[NativeTypeName("struct IFaceTrackerStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IFaceTrackerStatics : IFaceTrackerStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFaceTrackerStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT CreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceTracker_t **")] IAsyncOperation>** returnValue) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), returnValue); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetSupportedBitmapPixelFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **")] IVectorView** result) + { + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT IsBitmapPixelFormatSupported([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat bitmapPixelFormat, [NativeTypeName("boolean *")] byte* result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), bitmapPixelFormat, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* returnValue) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IFaceTrackerStatics*)Unsafe.AsPointer(ref this), returnValue); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT CreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceTracker_t **")] IAsyncOperation>** returnValue); + + [VtblIndex(7)] + HRESULT GetSupportedBitmapPixelFormats([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **")] IVectorView** result); + + [VtblIndex(8)] + HRESULT IsBitmapPixelFormatSupported([NativeTypeName("ABI::Windows::Graphics::Imaging::BitmapPixelFormat")] BitmapPixelFormat bitmapPixelFormat, [NativeTypeName("boolean *")] byte* result); + + [VtblIndex(9)] + HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* returnValue); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CFaceAnalysis__CFaceTracker_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> CreateAsync; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGraphics__CImaging__CBitmapPixelFormat_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]**, int> GetSupportedBitmapPixelFormats; + + [NativeTypeName("HRESULT (ABI::Windows::Graphics::Imaging::BitmapPixelFormat, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] IsBitmapPixelFormatSupported; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSupported; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IID.Manual.cs new file mode 100644 index 0000000000..9033f70a7c --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IID.Manual.cs @@ -0,0 +1,129 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IDetectedFace + { + get + { + ReadOnlySpan data = [ + 0x54, 0xD4, 0x00, 0x82, + 0xBC, 0x66, + 0xDF, 0x34, + 0x94, + 0x10, + 0xE8, + 0x94, + 0x00, + 0x19, + 0x54, + 0x14 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IFaceDetector + { + get + { + ReadOnlySpan data = [ + 0xDC, 0x72, 0xB6, 0x16, + 0x6F, 0xFE, + 0x17, 0x31, + 0x8D, + 0x95, + 0xC3, + 0xF0, + 0x4D, + 0x51, + 0x63, + 0x0C + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IFaceDetectorStatics + { + get + { + ReadOnlySpan data = [ + 0x67, 0x2D, 0x04, 0xBC, + 0x47, 0x90, + 0xF6, 0x33, + 0x88, + 0x1B, + 0x67, + 0x46, + 0xC1, + 0xB2, + 0x18, + 0xB8 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IFaceTracker + { + get + { + ReadOnlySpan data = [ + 0x8C, 0x7D, 0xA6, 0x6B, + 0x41, 0xA8, + 0x20, 0x44, + 0x93, + 0xE6, + 0x24, + 0x20, + 0xA1, + 0x88, + 0x4F, + 0xCF + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IFaceTrackerStatics + { + get + { + ReadOnlySpan data = [ + 0x98, 0x91, 0x62, 0xE9, + 0x01, 0x18, + 0xA5, 0x3F, + 0x93, + 0x2E, + 0x31, + 0xD7, + 0x67, + 0xAF, + 0x6C, + 0x4D + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/WinRT.cs new file mode 100644 index 0000000000..2ca9e92d28 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/WinRT.cs @@ -0,0 +1,33 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[41]")] + public const string InterfaceName_Windows_Media_FaceAnalysis_IDetectedFace = "Windows.Media.FaceAnalysis.IDetectedFace"; + + [NativeTypeName("const WCHAR[41]")] + public const string InterfaceName_Windows_Media_FaceAnalysis_IFaceDetector = "Windows.Media.FaceAnalysis.IFaceDetector"; + + [NativeTypeName("const WCHAR[48]")] + public const string InterfaceName_Windows_Media_FaceAnalysis_IFaceDetectorStatics = "Windows.Media.FaceAnalysis.IFaceDetectorStatics"; + + [NativeTypeName("const WCHAR[40]")] + public const string InterfaceName_Windows_Media_FaceAnalysis_IFaceTracker = "Windows.Media.FaceAnalysis.IFaceTracker"; + + [NativeTypeName("const WCHAR[47]")] + public const string InterfaceName_Windows_Media_FaceAnalysis_IFaceTrackerStatics = "Windows.Media.FaceAnalysis.IFaceTrackerStatics"; + + [NativeTypeName("const WCHAR[40]")] + public const string RuntimeClass_Windows_Media_FaceAnalysis_DetectedFace = "Windows.Media.FaceAnalysis.DetectedFace"; + + [NativeTypeName("const WCHAR[40]")] + public const string RuntimeClass_Windows_Media_FaceAnalysis_FaceDetector = "Windows.Media.FaceAnalysis.FaceDetector"; + + [NativeTypeName("const WCHAR[39]")] + public const string RuntimeClass_Windows_Media_FaceAnalysis_FaceTracker = "Windows.Media.FaceAnalysis.FaceTracker"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile2.cs index 95f75415c7..683a299248 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile2.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t *")] IIterable* value) + public HRESULT SetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t *")] IIterable>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[6]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[6]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t **")] IVector** value) + public HRESULT GetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t *")] IIterable* value) + public HRESULT SetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t *")] IIterable>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[8]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[8]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t **")] IVector** value) + public HRESULT GetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IMediaEncodingProfile2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t *")] IIterable* value); + HRESULT SetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t *")] IIterable>* value); [VtblIndex(7)] - HRESULT GetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t **")] IVector** value); + HRESULT GetAudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t **")] IVector>** value); [VtblIndex(8)] - HRESULT SetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t *")] IIterable* value); + HRESULT SetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t *")] IIterable>* value); [VtblIndex(9)] - HRESULT GetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t **")] IVector** value); + HRESULT GetVideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t **")] IVector>** value); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> SetAudioTracks; + public delegate* unmanaged[MemberFunction]>*, int> SetAudioTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CAudioStreamDescriptor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAudioTracks; + public delegate* unmanaged[MemberFunction]>**, int> GetAudioTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> SetVideoTracks; + public delegate* unmanaged[MemberFunction]>*, int> SetVideoTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CVideoStreamDescriptor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetVideoTracks; + public delegate* unmanaged[MemberFunction]>**, int> GetVideoTracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile3.cs index dbd9bcc876..efc6f1af97 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfile3.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t *")] IIterable* value) + public HRESULT SetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t *")] IIterable>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[6]))((IMediaEncodingProfile3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[6]))((IMediaEncodingProfile3*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t **")] IVector** result) + public HRESULT GetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaEncodingProfile3*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaEncodingProfile3*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t *")] IIterable* value); + HRESULT SetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t *")] IIterable>* value); [VtblIndex(7)] - HRESULT GetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t **")] IVector** result); + HRESULT GetTimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t **")] IVector>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> SetTimedMetadataTracks; + public delegate* unmanaged[MemberFunction]>*, int> SetTimedMetadataTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CCore__CTimedMetadataStreamDescriptor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTimedMetadataTracks; + public delegate* unmanaged[MemberFunction]>**, int> GetTimedMetadataTracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfileStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfileStatics.cs index 3a8f8aa716..a4bf2c78ca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfileStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProfileStatics.cs @@ -114,17 +114,17 @@ public HRESULT CreateWmv([NativeTypeName("ABI::Windows::Media::MediaProperties:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation** operation) + public HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IMediaEncodingProfileStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IMediaEncodingProfileStatics*)Unsafe.AsPointer(ref this), file, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation** operation) + public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IMediaEncodingProfileStatics*)Unsafe.AsPointer(ref this), stream, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IMediaEncodingProfileStatics*)Unsafe.AsPointer(ref this), stream, operation); } public interface Interface : IInspectable.Interface @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT CreateWmv([NativeTypeName("ABI::Windows::Media::MediaProperties::VideoEncodingQuality")] VideoEncodingQuality quality, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile **")] IMediaEncodingProfile** value); [VtblIndex(11)] - HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation** operation); + HRESULT CreateFromFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation** operation); + HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateWmv; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CMediaProperties__CMediaEncodingProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromStreamAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProperties.cs index 591b757a81..db5be36d7a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.mediaproperties/IMediaEncodingProperties.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaEncodingProperties*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaEncodingProperties*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_Subtype(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **")] IMap>** value); [VtblIndex(7)] HRESULT get_Type(HSTRING* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_GUID_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Type; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IBackgroundMediaPlayerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IBackgroundMediaPlayerStatics.cs index 0591e6ef86..f296b5b650 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IBackgroundMediaPlayerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IBackgroundMediaPlayerStatics.cs @@ -85,9 +85,9 @@ public HRESULT get_Current([NativeTypeName("ABI::Windows::Media::Playback::IMedi [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - public HRESULT add_MessageReceivedFromBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MessageReceivedFromBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IBackgroundMediaPlayerStatics*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IBackgroundMediaPlayerStatics*)Unsafe.AsPointer(ref this), value, token); } /// @@ -103,9 +103,9 @@ public HRESULT remove_MessageReceivedFromBackground(EventRegistrationToken token [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - public HRESULT add_MessageReceivedFromForeground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MessageReceivedFromForeground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IBackgroundMediaPlayerStatics*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IBackgroundMediaPlayerStatics*)Unsafe.AsPointer(ref this), value, token); } /// @@ -161,7 +161,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(7)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - HRESULT add_MessageReceivedFromBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler* value, EventRegistrationToken* token); + HRESULT add_MessageReceivedFromBackground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler>* value, EventRegistrationToken* token); [VtblIndex(8)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] @@ -169,7 +169,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(9)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - HRESULT add_MessageReceivedFromForeground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler* value, EventRegistrationToken* token); + HRESULT add_MessageReceivedFromForeground([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *")] IEventHandler>* value, EventRegistrationToken* token); [VtblIndex(10)] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] @@ -219,7 +219,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceivedFromBackground; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_MessageReceivedFromBackground; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] @@ -227,7 +227,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CMedia__CPlayback__CMediaPlayerDataReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceivedFromForeground; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_MessageReceivedFromForeground; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use MediaPlayer instead of BackgroundMediaPlayer. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakManager.cs index ac58c90d92..620d085ece 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_BreaksSeekedOver([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSeekedOverEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BreaksSeekedOver([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSeekedOverEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_BreaksSeekedOver(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_BreakStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BreakStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_BreakStarted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_BreakEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakEndedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BreakEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakEndedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_BreakEnded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_BreakSkipped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSkippedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BreakSkipped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSkippedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaBreakManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -170,25 +170,25 @@ public HRESULT SkipCurrentBreak() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_BreaksSeekedOver([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSeekedOverEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BreaksSeekedOver([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSeekedOverEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_BreaksSeekedOver(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_BreakStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BreakStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_BreakStarted(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_BreakEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakEndedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BreakEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakEndedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_BreakEnded(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_BreakSkipped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSkippedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BreakSkipped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSkippedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_BreakSkipped(EventRegistrationToken token); @@ -228,25 +228,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSeekedOverEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BreaksSeekedOver; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BreaksSeekedOver; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BreaksSeekedOver; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakStartedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BreakStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BreakStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BreakStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakEndedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BreakEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BreakEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BreakEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakManager_Windows__CMedia__CPlayback__CMediaBreakSkippedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BreakSkipped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BreakSkipped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BreakSkipped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSchedule.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSchedule.cs index 37afcd69b0..b285be265b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSchedule.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSchedule.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ScheduleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakSchedule_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ScheduleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakSchedule_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBreakSchedule*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaBreakSchedule*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT RemoveMidrollBreak([NativeTypeName("ABI::Windows::Media::Playback /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_MidrollBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView** value) + public HRESULT get_MidrollBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaBreakSchedule*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaBreakSchedule*)Unsafe.AsPointer(ref this), value); } /// @@ -154,7 +154,7 @@ public HRESULT get_PlaybackItem([NativeTypeName("ABI::Windows::Media::Playback:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ScheduleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakSchedule_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ScheduleChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakSchedule_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ScheduleChanged(EventRegistrationToken token); @@ -166,7 +166,7 @@ public interface Interface : IInspectable.Interface HRESULT RemoveMidrollBreak([NativeTypeName("ABI::Windows::Media::Playback::IMediaBreak *")] IMediaBreak* mediaBreak); [VtblIndex(10)] - HRESULT get_MidrollBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView** value); + HRESULT get_MidrollBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView>** value); [VtblIndex(11)] HRESULT put_PrerollBreak([NativeTypeName("ABI::Windows::Media::Playback::IMediaBreak *")] IMediaBreak* value); @@ -206,7 +206,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaBreakSchedule_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ScheduleChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ScheduleChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ScheduleChanged; @@ -218,7 +218,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RemoveMidrollBreak; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_MidrollBreaks; + public delegate* unmanaged[MemberFunction]>**, int> get_MidrollBreaks; [NativeTypeName("HRESULT (ABI::Windows::Media::Playback::IMediaBreak *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_PrerollBreak; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSeekedOverEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSeekedOverEventArgs.cs index 7f72d484ab..e0af86a337 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSeekedOverEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaBreakSeekedOverEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_SeekedOverBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView** value) + public HRESULT get_SeekedOverBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaBreakSeekedOverEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaBreakSeekedOverEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_NewPosition([NativeTypeName("ABI::Windows::Foundation::TimeSp public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_SeekedOverBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView** value); + HRESULT get_SeekedOverBreaks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_OldPosition([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaBreak_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SeekedOverBreaks; + public delegate* unmanaged[MemberFunction]>**, int> get_SeekedOverBreaks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_OldPosition; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManager.cs index 792d01215b..85fa0186c9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManager.cs @@ -178,9 +178,9 @@ public HRESULT get_RateBehavior([NativeTypeName("ABI::Windows::Media::Playback:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_PlayReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPlayReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PlayReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPlayReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -194,9 +194,9 @@ public HRESULT remove_PlayReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT add_PauseReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPauseReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PauseReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPauseReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[21]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[21]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -210,9 +210,9 @@ public HRESULT remove_PauseReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT add_NextReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerNextReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_NextReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerNextReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[23]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[23]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -226,9 +226,9 @@ public HRESULT remove_NextReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HRESULT add_PreviousReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPreviousReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PreviousReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPreviousReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[25]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[25]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -242,9 +242,9 @@ public HRESULT remove_PreviousReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public HRESULT add_FastForwardReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerFastForwardReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FastForwardReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerFastForwardReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[27]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[27]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -258,9 +258,9 @@ public HRESULT remove_FastForwardReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HRESULT add_RewindReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRewindReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RewindReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRewindReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[29]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[29]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -274,9 +274,9 @@ public HRESULT remove_RewindReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public HRESULT add_ShuffleReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerShuffleReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShuffleReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerShuffleReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[31]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[31]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -290,9 +290,9 @@ public HRESULT remove_ShuffleReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public HRESULT add_AutoRepeatModeReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AutoRepeatModeReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[33]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[33]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -306,9 +306,9 @@ public HRESULT remove_AutoRepeatModeReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public HRESULT add_PositionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPositionReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PositionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPositionReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[35]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[35]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -322,9 +322,9 @@ public HRESULT remove_PositionReceived(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public HRESULT add_RateReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRateReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RateReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRateReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[37]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[37]))((IMediaPlaybackCommandManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -377,61 +377,61 @@ public interface Interface : IInspectable.Interface HRESULT get_RateBehavior([NativeTypeName("ABI::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior **")] IMediaPlaybackCommandManagerCommandBehavior** value); [VtblIndex(19)] - HRESULT add_PlayReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPlayReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PlayReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPlayReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_PlayReceived(EventRegistrationToken token); [VtblIndex(21)] - HRESULT add_PauseReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPauseReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PauseReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPauseReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(22)] HRESULT remove_PauseReceived(EventRegistrationToken token); [VtblIndex(23)] - HRESULT add_NextReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerNextReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_NextReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerNextReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(24)] HRESULT remove_NextReceived(EventRegistrationToken token); [VtblIndex(25)] - HRESULT add_PreviousReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPreviousReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PreviousReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPreviousReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(26)] HRESULT remove_PreviousReceived(EventRegistrationToken token); [VtblIndex(27)] - HRESULT add_FastForwardReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerFastForwardReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FastForwardReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerFastForwardReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(28)] HRESULT remove_FastForwardReceived(EventRegistrationToken token); [VtblIndex(29)] - HRESULT add_RewindReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRewindReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RewindReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRewindReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(30)] HRESULT remove_RewindReceived(EventRegistrationToken token); [VtblIndex(31)] - HRESULT add_ShuffleReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerShuffleReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShuffleReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerShuffleReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(32)] HRESULT remove_ShuffleReceived(EventRegistrationToken token); [VtblIndex(33)] - HRESULT add_AutoRepeatModeReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AutoRepeatModeReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(34)] HRESULT remove_AutoRepeatModeReceived(EventRegistrationToken token); [VtblIndex(35)] - HRESULT add_PositionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPositionReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PositionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPositionReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(36)] HRESULT remove_PositionReceived(EventRegistrationToken token); [VtblIndex(37)] - HRESULT add_RateReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRateReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RateReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRateReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(38)] HRESULT remove_RateReceived(EventRegistrationToken token); @@ -498,61 +498,61 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RateBehavior; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPlayReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlayReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlayReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlayReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPauseReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PauseReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PauseReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PauseReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerNextReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NextReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NextReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NextReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPreviousReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PreviousReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PreviousReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PreviousReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerFastForwardReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FastForwardReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FastForwardReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FastForwardReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRewindReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RewindReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RewindReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RewindReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerShuffleReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShuffleReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShuffleReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShuffleReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AutoRepeatModeReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AutoRepeatModeReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AutoRepeatModeReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerPositionReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PositionReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PositionReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PositionReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManager_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerRateReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RateReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RateReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RateReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManagerCommandBehavior.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManagerCommandBehavior.cs index ae4d5341a0..ca1399135f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManagerCommandBehavior.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackCommandManagerCommandBehavior.cs @@ -106,9 +106,9 @@ public HRESULT put_EnablingRule([NativeTypeName("ABI::Windows::Media::Playback:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_IsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerCommandBehavior_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_IsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerCommandBehavior_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackCommandManagerCommandBehavior*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackCommandManagerCommandBehavior*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT put_EnablingRule([NativeTypeName("ABI::Windows::Media::Playback::MediaCommandEnablingRule")] MediaCommandEnablingRule value); [VtblIndex(10)] - HRESULT add_IsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerCommandBehavior_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_IsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerCommandBehavior_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_IsEnabledChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_EnablingRule; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackCommandManagerCommandBehavior_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsEnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsEnabledChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackItem.cs index e1281d883e..f50b910bd9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackItem.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AudioTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AudioTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_AudioTracksChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_VideoTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VideoTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_VideoTracksChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_TimedMetadataTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TimedMetadataTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,43 +130,43 @@ public HRESULT get_Source([NativeTypeName("ABI::Windows::Media::Core::IMediaSour /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_AudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CAudioTrack_t **")] IVectorView** value) + public HRESULT get_AudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CAudioTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_VideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CVideoTrack_t **")] IVectorView** value) + public HRESULT get_VideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CVideoTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value) + public HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IMediaPlaybackItem*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AudioTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AudioTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_AudioTracksChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_VideoTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VideoTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_VideoTracksChanged(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_TimedMetadataTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TimedMetadataTracksChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_TimedMetadataTracksChanged(EventRegistrationToken token); @@ -175,13 +175,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Source([NativeTypeName("ABI::Windows::Media::Core::IMediaSource2 **")] IMediaSource2** value); [VtblIndex(13)] - HRESULT get_AudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CAudioTrack_t **")] IVectorView** value); + HRESULT get_AudioTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CAudioTrack_t **")] IVectorView>** value); [VtblIndex(14)] - HRESULT get_VideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CVideoTrack_t **")] IVectorView** value); + HRESULT get_VideoTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CVideoTrack_t **")] IVectorView>** value); [VtblIndex(15)] - HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView** value); + HRESULT get_TimedMetadataTracks([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **")] IVectorView>** value); } public partial struct Vtbl @@ -206,19 +206,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AudioTracksChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AudioTracksChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AudioTracksChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoTracksChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoTracksChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoTracksChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackItem___F__CIVectorChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TimedMetadataTracksChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TimedMetadataTracksChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TimedMetadataTracksChanged; @@ -227,12 +227,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Source; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CAudioTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AudioTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_AudioTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CVideoTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_VideoTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_VideoTracks; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CCore__CTimedMetadataTrack_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_TimedMetadataTracks; + public delegate* unmanaged[MemberFunction]>**, int> get_TimedMetadataTracks; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList.cs index 471ca519c4..cc648b835f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ItemFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ItemFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_ItemFailed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_CurrentItemChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CCurrentMediaPlaybackItemChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CurrentItemChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CCurrentMediaPlaybackItemChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_CurrentItemChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ItemOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemOpenedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ItemOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemOpenedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_ItemOpened(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IObservableVector** value) + public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IObservableVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IMediaPlaybackList*)Unsafe.AsPointer(ref this), value); } /// @@ -202,25 +202,25 @@ public HRESULT MoveTo([NativeTypeName("UINT32")] uint itemIndex, [NativeTypeName public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ItemFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ItemFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ItemFailed(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_CurrentItemChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CCurrentMediaPlaybackItemChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CurrentItemChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CCurrentMediaPlaybackItemChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_CurrentItemChanged(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_ItemOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemOpenedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ItemOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemOpenedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ItemOpened(EventRegistrationToken token); [VtblIndex(12)] - HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IObservableVector** value); + HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IObservableVector>** value); [VtblIndex(13)] HRESULT get_AutoRepeatEnabled([NativeTypeName("boolean *")] byte* value); @@ -272,25 +272,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ItemFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ItemFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ItemFailed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CCurrentMediaPlaybackItemChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CurrentItemChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CurrentItemChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CurrentItemChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackList_Windows__CMedia__CPlayback__CMediaPlaybackItemOpenedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ItemOpened; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ItemOpened; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ItemOpened; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Items; + public delegate* unmanaged[MemberFunction]>**, int> get_Items; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AutoRepeatEnabled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList2.cs index b897c4d140..5cbee1dd94 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackList2.cs @@ -106,17 +106,17 @@ public HRESULT put_StartingItem([NativeTypeName("ABI::Windows::Media::Playback:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_ShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IVectorView** value) + public HRESULT get_ShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IMediaPlaybackList2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IMediaPlaybackList2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT SetShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t *")] IIterable* value) + public HRESULT SetShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t *")] IIterable>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[11]))((IMediaPlaybackList2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[11]))((IMediaPlaybackList2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -134,10 +134,10 @@ public interface Interface : IInspectable.Interface HRESULT put_StartingItem([NativeTypeName("ABI::Windows::Media::Playback::IMediaPlaybackItem *")] IMediaPlaybackItem* value); [VtblIndex(10)] - HRESULT get_ShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IVectorView** value); + HRESULT get_ShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **")] IVectorView>** value); [VtblIndex(11)] - HRESULT SetShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t *")] IIterable* value); + HRESULT SetShuffledItems([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t *")] IIterable>* value); } public partial struct Vtbl @@ -174,9 +174,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_StartingItem; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ShuffledItems; + public delegate* unmanaged[MemberFunction]>**, int> get_ShuffledItems; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CMedia__CPlayback__CMediaPlaybackItem_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> SetShuffledItems; + public delegate* unmanaged[MemberFunction]>*, int> SetShuffledItems; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession.cs index aa3277b225..eba7987747 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PlaybackStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PlaybackStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_PlaybackStateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_PlaybackRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PlaybackRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_PlaybackRateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_SeekCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_BufferingStarted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -154,9 +154,9 @@ public HRESULT remove_BufferingEnded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_BufferingProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferingProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -170,9 +170,9 @@ public HRESULT remove_BufferingProgressChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_DownloadProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_DownloadProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -186,9 +186,9 @@ public HRESULT remove_DownloadProgressChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_NaturalDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_NaturalDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -202,9 +202,9 @@ public HRESULT remove_NaturalDurationChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[22]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -218,9 +218,9 @@ public HRESULT remove_PositionChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_NaturalVideoSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_NaturalVideoSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((IMediaPlaybackSession*)Unsafe.AsPointer(ref this), value, token); } /// @@ -378,61 +378,61 @@ public HRESULT put_StereoscopicVideoPackingMode([NativeTypeName("ABI::Windows::M public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PlaybackStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PlaybackStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PlaybackStateChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_PlaybackRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PlaybackRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_PlaybackRateChanged(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_SeekCompleted(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_BufferingStarted(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_BufferingEnded(EventRegistrationToken token); [VtblIndex(16)] - HRESULT add_BufferingProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferingProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_BufferingProgressChanged(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_DownloadProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_DownloadProgressChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_DownloadProgressChanged(EventRegistrationToken token); [VtblIndex(20)] - HRESULT add_NaturalDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_NaturalDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(21)] HRESULT remove_NaturalDurationChanged(EventRegistrationToken token); [VtblIndex(22)] - HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(23)] HRESULT remove_PositionChanged(EventRegistrationToken token); [VtblIndex(24)] - HRESULT add_NaturalVideoSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_NaturalVideoSizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(25)] HRESULT remove_NaturalVideoSizeChanged(EventRegistrationToken token); @@ -514,61 +514,61 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlaybackStateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackRateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackRateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlaybackRateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SeekCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SeekCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SeekCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferingStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferingStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BufferingStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferingEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferingEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BufferingEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferingProgressChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferingProgressChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BufferingProgressChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DownloadProgressChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DownloadProgressChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DownloadProgressChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NaturalDurationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NaturalDurationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NaturalDurationChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PositionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PositionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PositionChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NaturalVideoSizeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NaturalVideoSizeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NaturalVideoSizeChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession2.cs index a44c915529..d3a8b1a370 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSession2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_BufferedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_BufferedRangesChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_PlayedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PlayedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_PlayedRangesChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_SeekableRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_SeekableRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_SeekableRangesChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_SupportedPlaybackRatesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_SupportedPlaybackRatesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaPlaybackSession2*)Unsafe.AsPointer(ref this), value, token); } /// @@ -194,25 +194,25 @@ public HRESULT IsSupportedPlaybackRateRange(double rate1, double rate2, [NativeT public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_BufferedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_BufferedRangesChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_PlayedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PlayedRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_PlayedRangesChanged(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_SeekableRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_SeekableRangesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_SeekableRangesChanged(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_SupportedPlaybackRatesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_SupportedPlaybackRatesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_SupportedPlaybackRatesChanged(EventRegistrationToken token); @@ -261,25 +261,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferedRangesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferedRangesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BufferedRangesChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlayedRangesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlayedRangesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlayedRangesChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SeekableRangesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SeekableRangesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SeekableRangesChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SupportedPlaybackRatesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SupportedPlaybackRatesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SupportedPlaybackRatesChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackTimedMetadataTrackList.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackTimedMetadataTrackList.cs index 54ffa6a7e4..fac8dea163 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackTimedMetadataTrackList.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackTimedMetadataTrackList.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PresentationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackTimedMetadataTrackList_Windows__CMedia__CPlayback__CTimedMetadataPresentationModeChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PresentationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackTimedMetadataTrackList_Windows__CMedia__CPlayback__CTimedMetadataPresentationModeChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackTimedMetadataTrackList*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlaybackTimedMetadataTrackList*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,7 +106,7 @@ public HRESULT SetPresentationMode([NativeTypeName("UINT32")] uint index, [Nativ public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PresentationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackTimedMetadataTrackList_Windows__CMedia__CPlayback__CTimedMetadataPresentationModeChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PresentationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackTimedMetadataTrackList_Windows__CMedia__CPlayback__CTimedMetadataPresentationModeChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PresentationModeChanged(EventRegistrationToken token); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlaybackTimedMetadataTrackList_Windows__CMedia__CPlayback__CTimedMetadataPresentationModeChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PresentationModeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PresentationModeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PresentationModeChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer.cs index db243503fe..9ee630a78f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer.cs @@ -237,9 +237,9 @@ public HRESULT get_PlaybackMediaMarkers([NativeTypeName("ABI::Windows::Media::Pl /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HRESULT add_MediaOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MediaOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[25]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[25]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -253,9 +253,9 @@ public HRESULT remove_MediaOpened(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public HRESULT add_MediaEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MediaEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[27]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[27]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -269,9 +269,9 @@ public HRESULT remove_MediaEnded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HRESULT add_MediaFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MediaFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[29]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[29]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -286,9 +286,9 @@ public HRESULT remove_MediaFailed(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] [Obsolete("Use PlaybackSession.PlaybackStateChanged instead of CurrentStateChanged. For more info, see MSDN.")] - public HRESULT add_CurrentStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_CurrentStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[31]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[31]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -304,9 +304,9 @@ public HRESULT remove_CurrentStateChanged(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] [Obsolete("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers. For more info, see MSDN.")] - public HRESULT add_PlaybackMediaMarkerReached([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_PlaybackMediaMarkerReached([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[33]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[33]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -322,9 +322,9 @@ public HRESULT remove_PlaybackMediaMarkerReached(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] [Obsolete("Use PlaybackSession.PlaybackRateChanged instead of MediaPlayerRateChanged. For more info, see MSDN.")] - public HRESULT add_MediaPlayerRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MediaPlayerRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[35]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[35]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -339,9 +339,9 @@ public HRESULT remove_MediaPlayerRateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public HRESULT add_VolumeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_VolumeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[37]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[37]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -356,9 +356,9 @@ public HRESULT remove_VolumeChanged(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] [Obsolete("Use PlaybackSession.SeekCompleted instead of SeekCompleted. For more info, see MSDN.")] - public HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[39]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[39]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -374,9 +374,9 @@ public HRESULT remove_SeekCompleted(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] [Obsolete("Use PlaybackSession.BufferingStarted instead of BufferingStarted. For more info, see MSDN.")] - public HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[41]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[41]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -392,9 +392,9 @@ public HRESULT remove_BufferingStarted(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] [Obsolete("Use PlaybackSession.BufferingEnded instead of BufferingEnded. For more info, see MSDN.")] - public HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[43]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[43]))((IMediaPlayer*)Unsafe.AsPointer(ref this), value, token); } /// @@ -502,26 +502,26 @@ public interface Interface : IInspectable.Interface HRESULT get_PlaybackMediaMarkers([NativeTypeName("ABI::Windows::Media::Playback::IPlaybackMediaMarkerSequence **")] IPlaybackMediaMarkerSequence** value); [VtblIndex(25)] - HRESULT add_MediaOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MediaOpened([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(26)] HRESULT remove_MediaOpened(EventRegistrationToken token); [VtblIndex(27)] - HRESULT add_MediaEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MediaEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(28)] HRESULT remove_MediaEnded(EventRegistrationToken token); [VtblIndex(29)] - HRESULT add_MediaFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MediaFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(30)] HRESULT remove_MediaFailed(EventRegistrationToken token); [VtblIndex(31)] [Obsolete("Use PlaybackSession.PlaybackStateChanged instead of CurrentStateChanged. For more info, see MSDN.")] - HRESULT add_CurrentStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_CurrentStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(32)] [Obsolete("Use PlaybackSession.PlaybackStateChanged instead of CurrentStateChanged. For more info, see MSDN.")] @@ -529,7 +529,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(33)] [Obsolete("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers. For more info, see MSDN.")] - HRESULT add_PlaybackMediaMarkerReached([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_PlaybackMediaMarkerReached([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(34)] [Obsolete("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers. For more info, see MSDN.")] @@ -537,21 +537,21 @@ public interface Interface : IInspectable.Interface [VtblIndex(35)] [Obsolete("Use PlaybackSession.PlaybackRateChanged instead of MediaPlayerRateChanged. For more info, see MSDN.")] - HRESULT add_MediaPlayerRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MediaPlayerRateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(36)] [Obsolete("Use PlaybackSession.PlaybackRateChanged instead of MediaPlayerRateChanged. For more info, see MSDN.")] HRESULT remove_MediaPlayerRateChanged(EventRegistrationToken token); [VtblIndex(37)] - HRESULT add_VolumeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_VolumeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(38)] HRESULT remove_VolumeChanged(EventRegistrationToken token); [VtblIndex(39)] [Obsolete("Use PlaybackSession.SeekCompleted instead of SeekCompleted. For more info, see MSDN.")] - HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_SeekCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(40)] [Obsolete("Use PlaybackSession.SeekCompleted instead of SeekCompleted. For more info, see MSDN.")] @@ -559,7 +559,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(41)] [Obsolete("Use PlaybackSession.BufferingStarted instead of BufferingStarted. For more info, see MSDN.")] - HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferingStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(42)] [Obsolete("Use PlaybackSession.BufferingStarted instead of BufferingStarted. For more info, see MSDN.")] @@ -567,7 +567,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(43)] [Obsolete("Use PlaybackSession.BufferingEnded instead of BufferingEnded. For more info, see MSDN.")] - HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_BufferingEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(44)] [Obsolete("Use PlaybackSession.BufferingEnded instead of BufferingEnded. For more info, see MSDN.")] @@ -674,26 +674,26 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_PlaybackMediaMarkers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MediaOpened; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MediaOpened; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MediaOpened; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MediaEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MediaEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MediaEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MediaFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MediaFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MediaFailed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.PlaybackStateChanged instead of CurrentStateChanged. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CurrentStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CurrentStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.PlaybackStateChanged instead of CurrentStateChanged. For more info, see MSDN.")] @@ -701,7 +701,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CPlaybackMediaMarkerReachedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackMediaMarkerReached; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackMediaMarkerReached; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers. For more info, see MSDN.")] @@ -709,21 +709,21 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_Windows__CMedia__CPlayback__CMediaPlayerRateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.PlaybackRateChanged instead of MediaPlayerRateChanged. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MediaPlayerRateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MediaPlayerRateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.PlaybackRateChanged instead of MediaPlayerRateChanged. For more info, see MSDN.")] public delegate* unmanaged[MemberFunction] remove_MediaPlayerRateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VolumeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VolumeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VolumeChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.SeekCompleted instead of SeekCompleted. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SeekCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SeekCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.SeekCompleted instead of SeekCompleted. For more info, see MSDN.")] @@ -731,7 +731,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.BufferingStarted instead of BufferingStarted. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferingStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferingStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.BufferingStarted instead of BufferingStarted. For more info, see MSDN.")] @@ -739,7 +739,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.BufferingEnded instead of BufferingEnded. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BufferingEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_BufferingEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Use PlaybackSession.BufferingEnded instead of BufferingEnded. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer3.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer3.cs index 5439196455..b79cffb86c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer3*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer3*)Unsafe.AsPointer(ref this), value, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_IsMutedChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_SourceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_SourceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlayer3*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaPlayer3*)Unsafe.AsPointer(ref this), value, token); } /// @@ -250,13 +250,13 @@ public HRESULT GetAsCastingSource([NativeTypeName("ABI::Windows::Media::Casting: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_IsMutedChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_IsMutedChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_SourceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_SourceChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_SourceChanged(EventRegistrationToken token); @@ -338,13 +338,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_IsMutedChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_IsMutedChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_IsMutedChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SourceChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SourceChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SourceChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer5.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer5.cs index 0350e960ff..ea85bb0b7a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer5.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_VideoFrameAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_VideoFrameAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer5*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer5*)Unsafe.AsPointer(ref this), value, token); } /// @@ -130,7 +130,7 @@ public HRESULT CopyFrameToStereoscopicVideoSurfaces([NativeTypeName("ABI::Window public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_VideoFrameAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_VideoFrameAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_VideoFrameAvailable(EventRegistrationToken token); @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VideoFrameAvailable; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VideoFrameAvailable; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VideoFrameAvailable; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer6.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer6.cs index 4a464f8d0f..a7a00655f2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer6.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlayer6.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SubtitleFrameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SubtitleFrameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaPlayer6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,7 +106,7 @@ public HRESULT RenderSubtitlesToSurfaceWithTargetRectangle([NativeTypeName("ABI: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SubtitleFrameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SubtitleFrameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SubtitleFrameChanged(EventRegistrationToken token); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CPlayback__CMediaPlayer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SubtitleFrameChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SubtitleFrameChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SubtitleFrameChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IHdcpSession.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IHdcpSession.cs index 0600c1c662..ea790a80d2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IHdcpSession.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IHdcpSession.cs @@ -98,9 +98,9 @@ public HRESULT SetDesiredMinProtectionAsync([NativeTypeName("ABI::Windows::Media /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_ProtectionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CProtection__CHdcpSession_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ProtectionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CProtection__CHdcpSession_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IHdcpSession*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IHdcpSession*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT SetDesiredMinProtectionAsync([NativeTypeName("ABI::Windows::Media::Protection::HdcpProtection")] HdcpProtection protection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CProtection__CHdcpSetProtectionResult_t **")] IAsyncOperation** value); [VtblIndex(9)] - HRESULT add_ProtectionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CProtection__CHdcpSession_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ProtectionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CProtection__CHdcpSession_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_ProtectionChanged(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> SetDesiredMinProtectionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CProtection__CHdcpSession_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ProtectionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ProtectionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ProtectionChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IRevocationAndRenewalInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IRevocationAndRenewalInformation.cs index 2368687188..143352db37 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IRevocationAndRenewalInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.protection/IRevocationAndRenewalInformation.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CProtection__CRevocationAndRenewalItem_t **")] IVector** items) + public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CProtection__CRevocationAndRenewalItem_t **")] IVector>** items) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRevocationAndRenewalInformation*)Unsafe.AsPointer(ref this), items); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRevocationAndRenewalInformation*)Unsafe.AsPointer(ref this), items); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CProtection__CRevocationAndRenewalItem_t **")] IVector** items); + HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CProtection__CRevocationAndRenewalItem_t **")] IVector>** items); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CProtection__CRevocationAndRenewalItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Items; + public delegate* unmanaged[MemberFunction]>**, int> get_Items; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechContinuousRecognitionSession.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechContinuousRecognitionSession.cs index 2ead592112..95049eccd6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechContinuousRecognitionSession.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechContinuousRecognitionSession.cs @@ -138,9 +138,9 @@ public HRESULT Resume() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionCompletedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue) + public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((ISpeechContinuousRecognitionSession*)Unsafe.AsPointer(ref this), value, returnValue); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((ISpeechContinuousRecognitionSession*)Unsafe.AsPointer(ref this), value, returnValue); } /// @@ -154,9 +154,9 @@ public HRESULT remove_Completed(EventRegistrationToken value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_ResultGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionResultGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue) + public HRESULT add_ResultGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionResultGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((ISpeechContinuousRecognitionSession*)Unsafe.AsPointer(ref this), value, returnValue); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((ISpeechContinuousRecognitionSession*)Unsafe.AsPointer(ref this), value, returnValue); } /// @@ -194,13 +194,13 @@ public interface Interface : IInspectable.Interface HRESULT Resume(); [VtblIndex(14)] - HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionCompletedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue); + HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue); [VtblIndex(15)] HRESULT remove_Completed(EventRegistrationToken value); [VtblIndex(16)] - HRESULT add_ResultGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionResultGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue); + HRESULT add_ResultGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionResultGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue); [VtblIndex(17)] HRESULT remove_ResultGenerated(EventRegistrationToken value); @@ -252,13 +252,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Resume; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Completed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Completed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Completed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionSession_Windows__CMedia__CSpeechRecognition__CSpeechContinuousRecognitionResultGeneratedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ResultGenerated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ResultGenerated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ResultGenerated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult.cs index 2dbad8f560..0bf078d854 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult.cs @@ -106,9 +106,9 @@ public HRESULT get_SemanticInterpretation([NativeTypeName("ABI::Windows::Media:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetAlternates([NativeTypeName("UINT32")] uint maxAlternates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IVectorView** alternates) + public HRESULT GetAlternates([NativeTypeName("UINT32")] uint maxAlternates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IVectorView>** alternates) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ISpeechRecognitionResult*)Unsafe.AsPointer(ref this), maxAlternates, alternates); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((ISpeechRecognitionResult*)Unsafe.AsPointer(ref this), maxAlternates, alternates); } /// @@ -150,7 +150,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SemanticInterpretation([NativeTypeName("ABI::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation **")] ISpeechRecognitionSemanticInterpretation** value); [VtblIndex(10)] - HRESULT GetAlternates([NativeTypeName("UINT32")] uint maxAlternates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IVectorView** alternates); + HRESULT GetAlternates([NativeTypeName("UINT32")] uint maxAlternates, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IVectorView>** alternates); [VtblIndex(11)] HRESULT get_Constraint([NativeTypeName("ABI::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint **")] ISpeechRecognitionConstraint** value); @@ -196,7 +196,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SemanticInterpretation; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAlternates; + public delegate* unmanaged[MemberFunction]>**, int> GetAlternates; [NativeTypeName("HRESULT (ABI::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Constraint; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionSemanticInterpretation.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionSemanticInterpretation.cs index 5413e3f63f..3fad9d4bbb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionSemanticInterpretation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionSemanticInterpretation.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING___FIVectorView_1_HSTRING_t **")] IMapView** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING___FIVectorView_1_HSTRING_t **")] IMapView>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpeechRecognitionSemanticInterpretation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[6]))((ISpeechRecognitionSemanticInterpretation*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING___FIVectorView_1_HSTRING_t **")] IMapView** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING___FIVectorView_1_HSTRING_t **")] IMapView>>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING___FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>>**, int> get_Properties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer.cs index 728647e96b..d9c1003f29 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer.cs @@ -82,9 +82,9 @@ public HRESULT get_CurrentLanguage([NativeTypeName("ABI::Windows::Globalization: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Constraints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CSpeechRecognition__CISpeechRecognitionConstraint_t **")] IVector** value) + public HRESULT get_Constraints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CSpeechRecognition__CISpeechRecognitionConstraint_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), value); } /// @@ -106,33 +106,33 @@ public HRESULT get_UIOptions([NativeTypeName("ABI::Windows::Media::SpeechRecogni /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CompileConstraintsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionCompilationResult_t **")] IAsyncOperation** asyncOperation) + public HRESULT CompileConstraintsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionCompilationResult_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT RecognizeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation** asyncOperation) + public HRESULT RecognizeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT RecognizeWithUIAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation** asyncOperation) + public HRESULT RecognizeWithUIAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), asyncOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_RecognitionQualityDegrading([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionQualityDegradingEventArgs_t *")] ITypedEventHandler* speechRecognitionQualityDegradingHandler, EventRegistrationToken* cookie) + public HRESULT add_RecognitionQualityDegrading([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionQualityDegradingEventArgs_t *")] ITypedEventHandler, Pointer>* speechRecognitionQualityDegradingHandler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), speechRecognitionQualityDegradingHandler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), speechRecognitionQualityDegradingHandler, cookie); } /// @@ -146,9 +146,9 @@ public HRESULT remove_RecognitionQualityDegrading(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognizerStateChangedEventArgs_t *")] ITypedEventHandler* stateChangedHandler, EventRegistrationToken* cookie) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognizerStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* stateChangedHandler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), stateChangedHandler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISpeechRecognizer*)Unsafe.AsPointer(ref this), stateChangedHandler, cookie); } /// @@ -165,7 +165,7 @@ public interface Interface : IInspectable.Interface HRESULT get_CurrentLanguage([NativeTypeName("ABI::Windows::Globalization::ILanguage **")] ILanguage** language); [VtblIndex(7)] - HRESULT get_Constraints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CSpeechRecognition__CISpeechRecognitionConstraint_t **")] IVector** value); + HRESULT get_Constraints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CSpeechRecognition__CISpeechRecognitionConstraint_t **")] IVector>** value); [VtblIndex(8)] HRESULT get_Timeouts([NativeTypeName("ABI::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts **")] ISpeechRecognizerTimeouts** value); @@ -174,22 +174,22 @@ public interface Interface : IInspectable.Interface HRESULT get_UIOptions([NativeTypeName("ABI::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions **")] ISpeechRecognizerUIOptions** value); [VtblIndex(10)] - HRESULT CompileConstraintsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionCompilationResult_t **")] IAsyncOperation** asyncOperation); + HRESULT CompileConstraintsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionCompilationResult_t **")] IAsyncOperation>** asyncOperation); [VtblIndex(11)] - HRESULT RecognizeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation** asyncOperation); + HRESULT RecognizeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation>** asyncOperation); [VtblIndex(12)] - HRESULT RecognizeWithUIAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation** asyncOperation); + HRESULT RecognizeWithUIAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **")] IAsyncOperation>** asyncOperation); [VtblIndex(13)] - HRESULT add_RecognitionQualityDegrading([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionQualityDegradingEventArgs_t *")] ITypedEventHandler* speechRecognitionQualityDegradingHandler, EventRegistrationToken* cookie); + HRESULT add_RecognitionQualityDegrading([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionQualityDegradingEventArgs_t *")] ITypedEventHandler, Pointer>* speechRecognitionQualityDegradingHandler, EventRegistrationToken* cookie); [VtblIndex(14)] HRESULT remove_RecognitionQualityDegrading(EventRegistrationToken cookie); [VtblIndex(15)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognizerStateChangedEventArgs_t *")] ITypedEventHandler* stateChangedHandler, EventRegistrationToken* cookie); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognizerStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* stateChangedHandler, EventRegistrationToken* cookie); [VtblIndex(16)] HRESULT remove_StateChanged(EventRegistrationToken cookie); @@ -220,7 +220,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CurrentLanguage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CSpeechRecognition__CISpeechRecognitionConstraint_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Constraints; + public delegate* unmanaged[MemberFunction]>**, int> get_Constraints; [NativeTypeName("HRESULT (ABI::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Timeouts; @@ -229,22 +229,22 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UIOptions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionCompilationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CompileConstraintsAsync; + public delegate* unmanaged[MemberFunction]>**, int> CompileConstraintsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RecognizeAsync; + public delegate* unmanaged[MemberFunction]>**, int> RecognizeAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RecognizeWithUIAsync; + public delegate* unmanaged[MemberFunction]>**, int> RecognizeWithUIAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionQualityDegradingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecognitionQualityDegrading; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RecognitionQualityDegrading; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RecognitionQualityDegrading; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognizerStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer2.cs index b2e81092a7..7b61d95113 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizer2.cs @@ -98,9 +98,9 @@ public HRESULT StopRecognitionAsync([NativeTypeName("ABI::Windows::Foundation::I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_HypothesisGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionHypothesisGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue) + public HRESULT add_HypothesisGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionHypothesisGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpeechRecognizer2*)Unsafe.AsPointer(ref this), value, returnValue); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpeechRecognizer2*)Unsafe.AsPointer(ref this), value, returnValue); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT StopRecognitionAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** value); [VtblIndex(9)] - HRESULT add_HypothesisGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionHypothesisGeneratedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* returnValue); + HRESULT add_HypothesisGenerated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionHypothesisGeneratedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* returnValue); [VtblIndex(10)] HRESULT remove_HypothesisGenerated(EventRegistrationToken value); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StopRecognitionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSpeechRecognition__CSpeechRecognizer_Windows__CMedia__CSpeechRecognition__CSpeechRecognitionHypothesisGeneratedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HypothesisGenerated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_HypothesisGenerated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HypothesisGenerated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizerStatics.cs index a2349d2d3b..dc6377224c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognizerStatics.cs @@ -82,17 +82,17 @@ public HRESULT get_SystemSpeechLanguage([NativeTypeName("ABI::Windows::Globaliza /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_SupportedTopicLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView** languages) + public HRESULT get_SupportedTopicLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView>** languages) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ISpeechRecognizerStatics*)Unsafe.AsPointer(ref this), languages); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ISpeechRecognizerStatics*)Unsafe.AsPointer(ref this), languages); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_SupportedGrammarLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView** languages) + public HRESULT get_SupportedGrammarLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView>** languages) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ISpeechRecognizerStatics*)Unsafe.AsPointer(ref this), languages); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ISpeechRecognizerStatics*)Unsafe.AsPointer(ref this), languages); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT get_SystemSpeechLanguage([NativeTypeName("ABI::Windows::Globalization::ILanguage **")] ILanguage** language); [VtblIndex(7)] - HRESULT get_SupportedTopicLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView** languages); + HRESULT get_SupportedTopicLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView>** languages); [VtblIndex(8)] - HRESULT get_SupportedGrammarLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView** languages); + HRESULT get_SupportedGrammarLanguages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **")] IVectorView>** languages); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SystemSpeechLanguage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedTopicLanguages; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedTopicLanguages; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CGlobalization__CLanguage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_SupportedGrammarLanguages; + public delegate* unmanaged[MemberFunction]>**, int> get_SupportedGrammarLanguages; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/IVoiceCommandManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/IVoiceCommandManager.cs index a3101bcf4c..453f866b12 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/IVoiceCommandManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/IVoiceCommandManager.cs @@ -85,9 +85,9 @@ public HRESULT InstallCommandSetsFromStorageFileAsync([NativeTypeName("ABI::Wind [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.")] - public HRESULT get_InstalledCommandSets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CSpeechRecognition__CVoiceCommandSet_t **")] IMapView** voiceCommandSets) + public HRESULT get_InstalledCommandSets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CSpeechRecognition__CVoiceCommandSet_t **")] IMapView>** voiceCommandSets) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IVoiceCommandManager*)Unsafe.AsPointer(ref this), voiceCommandSets); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IVoiceCommandManager*)Unsafe.AsPointer(ref this), voiceCommandSets); } public interface Interface : IInspectable.Interface @@ -98,7 +98,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(7)] [Obsolete("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.")] - HRESULT get_InstalledCommandSets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CSpeechRecognition__CVoiceCommandSet_t **")] IMapView** voiceCommandSets); + HRESULT get_InstalledCommandSets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CSpeechRecognition__CVoiceCommandSet_t **")] IMapView>** voiceCommandSets); } public partial struct Vtbl @@ -128,6 +128,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CMedia__CSpeechRecognition__CVoiceCommandSet_t **) __attribute__((stdcall))")] [Obsolete("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> get_InstalledCommandSets; + public delegate* unmanaged[MemberFunction]>**, int> get_InstalledCommandSets; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSource.cs index d49542d2f6..296f2f0182 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSource.cs @@ -202,9 +202,9 @@ public HRESULT put_InboundBitsPerSecondWindow([NativeTypeName("ABI::Windows::Fou /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT add_DownloadBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadBitrateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DownloadBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadBitrateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[22]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -218,9 +218,9 @@ public HRESULT remove_DownloadBitrateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_PlaybackBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PlaybackBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -234,9 +234,9 @@ public HRESULT remove_PlaybackBitrateChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT add_DownloadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DownloadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[26]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[26]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -250,9 +250,9 @@ public HRESULT remove_DownloadRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT add_DownloadCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DownloadCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[28]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[28]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -266,9 +266,9 @@ public HRESULT remove_DownloadCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HRESULT add_DownloadFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DownloadFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[30]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[30]))((IAdaptiveMediaSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -330,31 +330,31 @@ public interface Interface : IInspectable.Interface HRESULT put_InboundBitsPerSecondWindow([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan value); [VtblIndex(22)] - HRESULT add_DownloadBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadBitrateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DownloadBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadBitrateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(23)] HRESULT remove_DownloadBitrateChanged(EventRegistrationToken token); [VtblIndex(24)] - HRESULT add_PlaybackBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PlaybackBitrateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(25)] HRESULT remove_PlaybackBitrateChanged(EventRegistrationToken token); [VtblIndex(26)] - HRESULT add_DownloadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DownloadRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(27)] HRESULT remove_DownloadRequested(EventRegistrationToken token); [VtblIndex(28)] - HRESULT add_DownloadCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DownloadCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(29)] HRESULT remove_DownloadCompleted(EventRegistrationToken token); [VtblIndex(30)] - HRESULT add_DownloadFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DownloadFailed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(31)] HRESULT remove_DownloadFailed(EventRegistrationToken token); @@ -430,31 +430,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_InboundBitsPerSecondWindow; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadBitrateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DownloadBitrateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DownloadBitrateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DownloadBitrateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackBitrateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackBitrateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlaybackBitrateChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DownloadRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DownloadRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DownloadRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DownloadCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DownloadCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DownloadCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSource_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDownloadFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DownloadFailed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DownloadFailed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DownloadFailed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceDiagnostics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceDiagnostics.cs index 76a679ce1e..faafeff2a4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceDiagnostics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceDiagnostics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_DiagnosticAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnostics_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnosticAvailableEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DiagnosticAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnostics_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnosticAvailableEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAdaptiveMediaSourceDiagnostics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAdaptiveMediaSourceDiagnostics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_DiagnosticAvailable(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_DiagnosticAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnostics_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnosticAvailableEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DiagnosticAvailable([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnostics_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnosticAvailableEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_DiagnosticAvailable(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnostics_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceDiagnosticAvailableEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DiagnosticAvailable; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DiagnosticAvailable; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DiagnosticAvailable; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceStatics.cs index ff1e6ce556..05b8aa87c6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming.adaptive/IAdaptiveMediaSourceStatics.cs @@ -82,33 +82,33 @@ public HRESULT IsContentTypeSupported(HSTRING contentType, [NativeTypeName("bool /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result) + public HRESULT CreateFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), uri, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), uri, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFromUriWithDownloaderAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result) + public HRESULT CreateFromUriWithDownloaderAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), uri, httpClient, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), uri, httpClient, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result) + public HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), stream, uri, contentType, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), stream, uri, contentType, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateFromStreamWithDownloaderAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result) + public HRESULT CreateFromStreamWithDownloaderAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), stream, uri, contentType, httpClient, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IAdaptiveMediaSourceStatics*)Unsafe.AsPointer(ref this), stream, uri, contentType, httpClient, result); } public interface Interface : IInspectable.Interface @@ -117,16 +117,16 @@ public interface Interface : IInspectable.Interface HRESULT IsContentTypeSupported(HSTRING contentType, [NativeTypeName("boolean *")] byte* result); [VtblIndex(7)] - HRESULT CreateFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result); + HRESULT CreateFromUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT CreateFromUriWithDownloaderAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result); + HRESULT CreateFromUriWithDownloaderAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result); + HRESULT CreateFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT CreateFromStreamWithDownloaderAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation** result); + HRESULT CreateFromStreamWithDownloaderAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING contentType, [NativeTypeName("ABI::Windows::Web::Http::IHttpClient *")] IHttpClient* httpClient, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -154,15 +154,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsContentTypeSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::IHttpClient *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromUriWithDownloaderAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromUriWithDownloaderAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::IUriRuntimeClass *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::IUriRuntimeClass *, HSTRING, ABI::Windows::Web::Http::IHttpClient *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CAdaptive__CAdaptiveMediaSourceCreationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFromStreamWithDownloaderAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFromStreamWithDownloaderAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IActiveBasicDeviceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IActiveBasicDeviceStatics.cs index b28f52afa1..a5aacfff4e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IActiveBasicDeviceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IActiveBasicDeviceStatics.cs @@ -76,48 +76,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateBasicDeviceAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Media::Streaming::DeviceTypes")] DeviceTypes type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation** value) + public HRESULT CreateBasicDeviceAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Media::Streaming::DeviceTypes")] DeviceTypes type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), deviceIdentifier, type, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), deviceIdentifier, type, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CloneBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation** value) + public HRESULT CloneBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), basicDevice, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), basicDevice, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetDevicesOnMatchingNetworkAsync([NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* server, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation** operation) + public HRESULT GetDevicesOnMatchingNetworkAsync([NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* server, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), server, renderer, optimizeForProxying, allowChangeRendererNetwork, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), server, renderer, optimizeForProxying, allowChangeRendererNetwork, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateDevicesOnMatchingNetworkAsync(HSTRING serverUDN, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation** operation) + public HRESULT CreateDevicesOnMatchingNetworkAsync(HSTRING serverUDN, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), serverUDN, renderer, optimizeForProxying, allowChangeRendererNetwork, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IActiveBasicDeviceStatics*)Unsafe.AsPointer(ref this), serverUDN, renderer, optimizeForProxying, allowChangeRendererNetwork, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateBasicDeviceAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Media::Streaming::DeviceTypes")] DeviceTypes type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation** value); + HRESULT CreateBasicDeviceAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Media::Streaming::DeviceTypes")] DeviceTypes type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT CloneBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation** value); + HRESULT CloneBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **")] IAsyncOperation>** value); [VtblIndex(8)] - HRESULT GetDevicesOnMatchingNetworkAsync([NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* server, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation** operation); + HRESULT GetDevicesOnMatchingNetworkAsync([NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* server, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT CreateDevicesOnMatchingNetworkAsync(HSTRING serverUDN, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation** operation); + HRESULT CreateDevicesOnMatchingNetworkAsync(HSTRING serverUDN, [NativeTypeName("ABI::Windows::Media::Streaming::IActiveBasicDevice *")] IActiveBasicDevice* renderer, [NativeTypeName("boolean")] byte optimizeForProxying, [NativeTypeName("boolean")] byte allowChangeRendererNetwork, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -142,15 +142,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Media::Streaming::DeviceTypes, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateBasicDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateBasicDeviceAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Streaming::IBasicDevice *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CActiveBasicDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CloneBasicDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CloneBasicDeviceAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Streaming::IActiveBasicDevice *, ABI::Windows::Media::Streaming::IActiveBasicDevice *, ::boolean, ::boolean, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDevicesOnMatchingNetworkAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDevicesOnMatchingNetworkAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Media::Streaming::IActiveBasicDevice *, ::boolean, ::boolean, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CDevicePair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDevicesOnMatchingNetworkAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDevicesOnMatchingNetworkAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IBasicDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IBasicDevice.cs index 115ac493d4..f718eda11b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IBasicDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IBasicDevice.cs @@ -210,9 +210,9 @@ public HRESULT get_Type([NativeTypeName("ABI::Windows::Media::Streaming::DeviceT /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT get_Icons([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIDeviceIcon_t **")] IVector** value) + public HRESULT get_Icons([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIDeviceIcon_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[23]))((IBasicDevice*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[23]))((IBasicDevice*)Unsafe.AsPointer(ref this), value); } /// @@ -293,7 +293,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Type([NativeTypeName("ABI::Windows::Media::Streaming::DeviceTypes *")] DeviceTypes* value); [VtblIndex(23)] - HRESULT get_Icons([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIDeviceIcon_t **")] IVector** value); + HRESULT get_Icons([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIDeviceIcon_t **")] IVector>** value); [VtblIndex(24)] HRESULT get_ConnectionStatus([NativeTypeName("ABI::Windows::Media::Streaming::ConnectionStatus *")] ConnectionStatus* value); @@ -378,7 +378,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Type; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIDeviceIcon_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Icons; + public delegate* unmanaged[MemberFunction]>**, int> get_Icons; [NativeTypeName("HRESULT (ABI::Windows::Media::Streaming::ConnectionStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ConnectionStatus; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IDeviceController.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IDeviceController.cs index f2f4cfbaa8..6662f12895 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IDeviceController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IDeviceController.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_CachedDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIBasicDevice_t **")] IVector** value) + public HRESULT get_CachedDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIBasicDevice_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDeviceController*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDeviceController*)Unsafe.AsPointer(ref this), value); } /// @@ -130,7 +130,7 @@ public HRESULT remove_DeviceDeparture(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_CachedDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIBasicDevice_t **")] IVector** value); + HRESULT get_CachedDevices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIBasicDevice_t **")] IVector>** value); [VtblIndex(7)] HRESULT AddDevice(HSTRING uniqueDeviceName); @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CMedia__CStreaming__CIBasicDevice_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_CachedDevices; + public delegate* unmanaged[MemberFunction]>**, int> get_CachedDevices; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AddDevice; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IMediaRendererFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IMediaRendererFactory.cs index 2b6e672d2e..dc0b918efd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IMediaRendererFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IMediaRendererFactory.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateMediaRendererAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation** value) + public HRESULT CreateMediaRendererAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaRendererFactory*)Unsafe.AsPointer(ref this), deviceIdentifier, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaRendererFactory*)Unsafe.AsPointer(ref this), deviceIdentifier, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateMediaRendererFromBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation** value) + public HRESULT CreateMediaRendererFromBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IMediaRendererFactory*)Unsafe.AsPointer(ref this), basicDevice, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IMediaRendererFactory*)Unsafe.AsPointer(ref this), basicDevice, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateMediaRendererAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation** value); + HRESULT CreateMediaRendererAsync(HSTRING deviceIdentifier, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT CreateMediaRendererFromBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation** value); + HRESULT CreateMediaRendererFromBasicDeviceAsync([NativeTypeName("ABI::Windows::Media::Streaming::IBasicDevice *")] IBasicDevice* basicDevice, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateMediaRendererAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateMediaRendererAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Streaming::IBasicDevice *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CStreaming__CMediaRenderer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateMediaRendererFromBasicDeviceAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateMediaRendererFromBasicDeviceAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IStreamSelectorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IStreamSelectorStatics.cs index 144c339597..a2bd56ec67 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IStreamSelectorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/IStreamSelectorStatics.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SelectBestStreamAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** value) + public HRESULT SelectBestStreamAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), storageFile, selectorProperties, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), storageFile, selectorProperties, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetStreamPropertiesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation** value) + public HRESULT GetStreamPropertiesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), storageFile, selectorProperties, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), storageFile, selectorProperties, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SelectBestStreamFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** value) + public HRESULT SelectBestStreamFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), stream, selectorProperties, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), stream, selectorProperties, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetStreamPropertiesFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation** value) + public HRESULT GetStreamPropertiesFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), stream, selectorProperties, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IStreamSelectorStatics*)Unsafe.AsPointer(ref this), stream, selectorProperties, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SelectBestStreamAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** value); + HRESULT SelectBestStreamAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT GetStreamPropertiesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation** value); + HRESULT GetStreamPropertiesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* storageFile, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation>>>** value); [VtblIndex(8)] - HRESULT SelectBestStreamFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** value); + HRESULT SelectBestStreamFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** value); [VtblIndex(9)] - HRESULT GetStreamPropertiesFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation** value); + HRESULT GetStreamPropertiesFromStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* stream, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* selectorProperties, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SelectBestStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> SelectBestStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetStreamPropertiesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetStreamPropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SelectBestStreamFromStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> SelectBestStreamFromStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___F__CIPropertySet_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetStreamPropertiesFromStreamAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetStreamPropertiesFromStreamAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder.cs index 307bfc9a03..4d3c25c2a5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder.cs @@ -178,17 +178,17 @@ public HRESULT ClearEffects() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT PrepareFileTranscodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* source, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation) + public HRESULT PrepareFileTranscodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* source, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IMediaTranscoder*)Unsafe.AsPointer(ref this), source, destination, profile, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IMediaTranscoder*)Unsafe.AsPointer(ref this), source, destination, profile, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT PrepareStreamTranscodeAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation) + public HRESULT PrepareStreamTranscodeAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IMediaTranscoder*)Unsafe.AsPointer(ref this), source, destination, profile, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IMediaTranscoder*)Unsafe.AsPointer(ref this), source, destination, profile, operation); } public interface Interface : IInspectable.Interface @@ -233,10 +233,10 @@ public interface Interface : IInspectable.Interface HRESULT ClearEffects(); [VtblIndex(19)] - HRESULT PrepareFileTranscodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* source, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation); + HRESULT PrepareFileTranscodeAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* source, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation); [VtblIndex(20)] - HRESULT PrepareStreamTranscodeAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation); + HRESULT PrepareStreamTranscodeAsync([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -300,9 +300,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ClearEffects; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::IStorageFile *, ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareFileTranscodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareFileTranscodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareStreamTranscodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareStreamTranscodeAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder2.cs index 7f90c185b5..68c558236e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.transcoding/IMediaTranscoder2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PrepareMediaStreamSourceTranscodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource *")] IMediaSource* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation) + public HRESULT PrepareMediaStreamSourceTranscodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource *")] IMediaSource* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaTranscoder2*)Unsafe.AsPointer(ref this), source, destination, profile, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaTranscoder2*)Unsafe.AsPointer(ref this), source, destination, profile, operation); } /// @@ -98,7 +98,7 @@ public HRESULT get_VideoProcessingAlgorithm([NativeTypeName("ABI::Windows::Media public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PrepareMediaStreamSourceTranscodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource *")] IMediaSource* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation** operation); + HRESULT PrepareMediaStreamSourceTranscodeAsync([NativeTypeName("ABI::Windows::Media::Core::IMediaSource *")] IMediaSource* source, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* destination, [NativeTypeName("ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *")] IMediaEncodingProfile* profile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT put_VideoProcessingAlgorithm([NativeTypeName("ABI::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm")] MediaVideoProcessingAlgorithm value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Media::Core::IMediaSource *, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Media::MediaProperties::IMediaEncodingProfile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CMedia__CTranscoding__CPrepareTranscodeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PrepareMediaStreamSourceTranscodeAsync; + public delegate* unmanaged[MemberFunction]>**, int> PrepareMediaStreamSourceTranscodeAsync; [NativeTypeName("HRESULT (ABI::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_VideoProcessingAlgorithm; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaControl.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaControl.cs index a7732e0d9f..513f1fc391 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaControl.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaControl.cs @@ -76,9 +76,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -94,9 +94,9 @@ public HRESULT remove_SoundLevelChanged(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_PlayPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PlayPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -112,9 +112,9 @@ public HRESULT remove_PlayPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_PausePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PausePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -130,9 +130,9 @@ public HRESULT remove_PausePressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_StopPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_StopPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -148,9 +148,9 @@ public HRESULT remove_StopPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_PlayPauseTogglePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PlayPauseTogglePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -166,9 +166,9 @@ public HRESULT remove_PlayPauseTogglePressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_RecordPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_RecordPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -184,9 +184,9 @@ public HRESULT remove_RecordPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_NextTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_NextTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -202,9 +202,9 @@ public HRESULT remove_NextTrackPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_PreviousTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PreviousTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[20]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -220,9 +220,9 @@ public HRESULT remove_PreviousTrackPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_FastForwardPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_FastForwardPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[22]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -238,9 +238,9 @@ public HRESULT remove_FastForwardPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_RewindPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_RewindPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[24]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -256,9 +256,9 @@ public HRESULT remove_RewindPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_ChannelUpPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ChannelUpPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[26]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[26]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -274,9 +274,9 @@ public HRESULT remove_ChannelUpPressed(EventRegistrationToken cookie) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public HRESULT add_ChannelDownPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ChannelDownPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[28]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[28]))((IMediaControl*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -373,7 +373,7 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_SoundLevelChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -381,7 +381,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(8)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_PlayPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PlayPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(9)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -389,7 +389,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(10)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_PausePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PausePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(11)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -397,7 +397,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(12)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_StopPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_StopPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(13)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -405,7 +405,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(14)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_PlayPauseTogglePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PlayPauseTogglePressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(15)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -413,7 +413,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(16)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_RecordPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_RecordPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(17)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -421,7 +421,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(18)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_NextTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_NextTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(19)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -429,7 +429,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(20)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_PreviousTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PreviousTrackPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(21)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -437,7 +437,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(22)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_FastForwardPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_FastForwardPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(23)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -445,7 +445,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(24)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_RewindPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_RewindPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(25)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -453,7 +453,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(26)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_ChannelUpPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ChannelUpPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(27)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -461,7 +461,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(28)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - HRESULT add_ChannelDownPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ChannelDownPressed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(29)] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -527,7 +527,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SoundLevelChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_SoundLevelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -535,7 +535,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlayPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PlayPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -543,7 +543,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PausePressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PausePressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -551,7 +551,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StopPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_StopPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -559,7 +559,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlayPauseTogglePressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PlayPauseTogglePressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -567,7 +567,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecordPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RecordPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -575,7 +575,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NextTrackPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_NextTrackPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -583,7 +583,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PreviousTrackPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PreviousTrackPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -591,7 +591,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FastForwardPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_FastForwardPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -599,7 +599,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RewindPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RewindPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -607,7 +607,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ChannelUpPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ChannelUpPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] @@ -615,7 +615,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ChannelDownPressed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ChannelDownPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaMarkers.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaMarkers.cs index a16e882582..49779e650c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaMarkers.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaMarkers.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Markers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CIMediaMarker_t **")] IVectorView** value) + public HRESULT get_Markers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CIMediaMarker_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IMediaMarkers*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IMediaMarkers*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Markers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CIMediaMarker_t **")] IVectorView** value); + HRESULT get_Markers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CIMediaMarker_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CMedia__CIMediaMarker_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Markers; + public delegate* unmanaged[MemberFunction]>**, int> get_Markers; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController.cs index 7975287f58..d13fcfa84c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController.cs @@ -138,9 +138,9 @@ public HRESULT get_State([NativeTypeName("ABI::Windows::Media::MediaTimelineCont /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* positionChangedEventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* positionChangedEventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaTimelineController*)Unsafe.AsPointer(ref this), positionChangedEventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IMediaTimelineController*)Unsafe.AsPointer(ref this), positionChangedEventHandler, eventCookie); } /// @@ -154,9 +154,9 @@ public HRESULT remove_PositionChanged(EventRegistrationToken eventCookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* stateChangedEventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* stateChangedEventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaTimelineController*)Unsafe.AsPointer(ref this), stateChangedEventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IMediaTimelineController*)Unsafe.AsPointer(ref this), stateChangedEventHandler, eventCookie); } /// @@ -194,13 +194,13 @@ public interface Interface : IInspectable.Interface HRESULT get_State([NativeTypeName("ABI::Windows::Media::MediaTimelineControllerState *")] MediaTimelineControllerState* value); [VtblIndex(14)] - HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* positionChangedEventHandler, EventRegistrationToken* eventCookie); + HRESULT add_PositionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* positionChangedEventHandler, EventRegistrationToken* eventCookie); [VtblIndex(15)] HRESULT remove_PositionChanged(EventRegistrationToken eventCookie); [VtblIndex(16)] - HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* stateChangedEventHandler, EventRegistrationToken* eventCookie); + HRESULT add_StateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* stateChangedEventHandler, EventRegistrationToken* eventCookie); [VtblIndex(17)] HRESULT remove_StateChanged(EventRegistrationToken eventCookie); @@ -252,13 +252,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_State; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PositionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PositionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PositionChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController2.cs index 8c1ba28881..fd035c1be0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/IMediaTimelineController2.cs @@ -106,9 +106,9 @@ public HRESULT put_IsLoopingEnabled([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_Windows__CMedia__CMediaTimelineControllerFailedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token) + public HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_Windows__CMedia__CMediaTimelineControllerFailedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaTimelineController2*)Unsafe.AsPointer(ref this), eventHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IMediaTimelineController2*)Unsafe.AsPointer(ref this), eventHandler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_Failed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token) + public HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaTimelineController2*)Unsafe.AsPointer(ref this), eventHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IMediaTimelineController2*)Unsafe.AsPointer(ref this), eventHandler, token); } /// @@ -150,13 +150,13 @@ public interface Interface : IInspectable.Interface HRESULT put_IsLoopingEnabled([NativeTypeName("boolean")] byte value); [VtblIndex(10)] - HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_Windows__CMedia__CMediaTimelineControllerFailedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token); + HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_Windows__CMedia__CMediaTimelineControllerFailedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_Failed(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token); + HRESULT add_Ended([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_Ended(EventRegistrationToken token); @@ -196,13 +196,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsLoopingEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_Windows__CMedia__CMediaTimelineControllerFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Failed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Failed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Failed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CMediaTimelineController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Ended; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Ended; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Ended; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls.cs index f421fa4d27..1ed6a67bd8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls.cs @@ -282,9 +282,9 @@ public HRESULT put_IsChannelDownEnabled([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsButtonPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsButtonPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[32]))((ISystemMediaTransportControls*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[32]))((ISystemMediaTransportControls*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -298,9 +298,9 @@ public HRESULT remove_ButtonPressed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public HRESULT add_PropertyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsPropertyChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PropertyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsPropertyChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[34]))((ISystemMediaTransportControls*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[34]))((ISystemMediaTransportControls*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -392,13 +392,13 @@ public interface Interface : IInspectable.Interface HRESULT put_IsChannelDownEnabled([NativeTypeName("boolean")] byte value); [VtblIndex(32)] - HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsButtonPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsButtonPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(33)] HRESULT remove_ButtonPressed(EventRegistrationToken token); [VtblIndex(34)] - HRESULT add_PropertyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsPropertyChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PropertyChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsPropertyChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(35)] HRESULT remove_PropertyChanged(EventRegistrationToken token); @@ -504,13 +504,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsChannelDownEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsButtonPressedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ButtonPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ButtonPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ButtonPressed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CSystemMediaTransportControlsPropertyChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PropertyChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PropertyChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PropertyChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls2.cs index dc61bf75e5..cea7c2e116 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/ISystemMediaTransportControls2.cs @@ -130,9 +130,9 @@ public HRESULT UpdateTimelineProperties([NativeTypeName("ABI::Windows::Media::IS /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_PlaybackPositionChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackPositionChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PlaybackPositionChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackPositionChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_PlaybackPositionChangeRequested(EventRegistrationToken tok /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_PlaybackRateChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackRateChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PlaybackRateChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackRateChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_PlaybackRateChangeRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_ShuffleEnabledChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CShuffleEnabledChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShuffleEnabledChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CShuffleEnabledChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,9 +178,9 @@ public HRESULT remove_ShuffleEnabledChangeRequested(EventRegistrationToken token /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_AutoRepeatModeChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CAutoRepeatModeChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AutoRepeatModeChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CAutoRepeatModeChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((ISystemMediaTransportControls2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -215,25 +215,25 @@ public interface Interface : IInspectable.Interface HRESULT UpdateTimelineProperties([NativeTypeName("ABI::Windows::Media::ISystemMediaTransportControlsTimelineProperties *")] ISystemMediaTransportControlsTimelineProperties* timelineProperties); [VtblIndex(13)] - HRESULT add_PlaybackPositionChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackPositionChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PlaybackPositionChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackPositionChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_PlaybackPositionChangeRequested(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_PlaybackRateChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackRateChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PlaybackRateChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackRateChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_PlaybackRateChangeRequested(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_ShuffleEnabledChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CShuffleEnabledChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShuffleEnabledChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CShuffleEnabledChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_ShuffleEnabledChangeRequested(EventRegistrationToken token); [VtblIndex(19)] - HRESULT add_AutoRepeatModeChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CAutoRepeatModeChangeRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AutoRepeatModeChangeRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CAutoRepeatModeChangeRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_AutoRepeatModeChangeRequested(EventRegistrationToken token); @@ -282,25 +282,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] UpdateTimelineProperties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackPositionChangeRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackPositionChangeRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackPositionChangeRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlaybackPositionChangeRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CPlaybackRateChangeRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PlaybackRateChangeRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PlaybackRateChangeRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PlaybackRateChangeRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CShuffleEnabledChangeRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShuffleEnabledChangeRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShuffleEnabledChangeRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShuffleEnabledChangeRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CMedia__CSystemMediaTransportControls_Windows__CMedia__CAutoRepeatModeChangeRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AutoRepeatModeChangeRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AutoRepeatModeChangeRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AutoRepeatModeChangeRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloader.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloader.cs index ca17291a6e..f243996820 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloader.cs @@ -90,9 +90,9 @@ public HRESULT CreateDownloadFromFile([NativeTypeName("ABI::Windows::Foundation: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateDownloadAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* resultFile, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* requestBodyStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation) + public HRESULT CreateDownloadAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* resultFile, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* requestBodyStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IBackgroundDownloader*)Unsafe.AsPointer(ref this), uri, resultFile, requestBodyStream, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IBackgroundDownloader*)Unsafe.AsPointer(ref this), uri, resultFile, requestBodyStream, operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateDownloadFromFile([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* resultFile, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* requestBodyFile, [NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IDownloadOperation **")] IDownloadOperation** operation); [VtblIndex(8)] - HRESULT CreateDownloadAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* resultFile, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* requestBodyStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation); + HRESULT CreateDownloadAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* resultFile, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* requestBodyStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateDownloadFromFile; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateDownloadAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateDownloadAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods.cs index eba6ffdb3d..6ebd4da58e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods.cs @@ -74,28 +74,28 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundDownloaderStaticMethods*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IBackgroundDownloaderStaticMethods*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("GetCurrentDownloadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentDownloadsForTransferGroupAsync.")] - public HRESULT GetCurrentDownloadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentDownloadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBackgroundDownloaderStaticMethods*)Unsafe.AsPointer(ref this), group, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IBackgroundDownloaderStaticMethods*)Unsafe.AsPointer(ref this), group, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] [Obsolete("GetCurrentDownloadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentDownloadsForTransferGroupAsync.")] - HRESULT GetCurrentDownloadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentDownloadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -120,10 +120,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentDownloadsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentDownloadsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] [Obsolete("GetCurrentDownloadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentDownloadsForTransferGroupAsync.")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentDownloadsForGroupAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentDownloadsForGroupAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods2.cs index 94bafc2c9a..460fc71eac 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderStaticMethods2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentDownloadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentDownloadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundDownloaderStaticMethods2*)Unsafe.AsPointer(ref this), group, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IBackgroundDownloaderStaticMethods2*)Unsafe.AsPointer(ref this), group, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentDownloadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentDownloadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentDownloadsForTransferGroupAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentDownloadsForTransferGroupAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderUserConsent.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderUserConsent.cs index 469ecf1dc0..e7a64dee88 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderUserConsent.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundDownloaderUserConsent.cs @@ -76,16 +76,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("RequestUnconstrainedDownloadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - public HRESULT RequestUnconstrainedDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t *")] IIterable* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation** operation) + public HRESULT RequestUnconstrainedDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t *")] IIterable>* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((IBackgroundDownloaderUserConsent*)Unsafe.AsPointer(ref this), operations, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[6]))((IBackgroundDownloaderUserConsent*)Unsafe.AsPointer(ref this), operations, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("RequestUnconstrainedDownloadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - HRESULT RequestUnconstrainedDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t *")] IIterable* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation** operation); + HRESULT RequestUnconstrainedDownloadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t *")] IIterable>* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -111,6 +111,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **) __attribute__((stdcall))")] [Obsolete("RequestUnconstrainedDownloadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RequestUnconstrainedDownloadsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> RequestUnconstrainedDownloadsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundTransferCompletionGroupTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundTransferCompletionGroupTriggerDetails.cs index 47c8e03c0d..a079476bbf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundTransferCompletionGroupTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundTransferCompletionGroupTriggerDetails.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Downloads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IVectorView** value) + public HRESULT get_Downloads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundTransferCompletionGroupTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IBackgroundTransferCompletionGroupTriggerDetails*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Uploads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IVectorView** value) + public HRESULT get_Uploads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBackgroundTransferCompletionGroupTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBackgroundTransferCompletionGroupTriggerDetails*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Downloads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IVectorView** value); + HRESULT get_Downloads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IVectorView>** value); [VtblIndex(7)] - HRESULT get_Uploads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IVectorView** value); + HRESULT get_Uploads([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IVectorView>** value); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Downloads; + public delegate* unmanaged[MemberFunction]>**, int> get_Downloads; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Uploads; + public delegate* unmanaged[MemberFunction]>**, int> get_Uploads; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploader.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploader.cs index bea1686b10..75d050d31d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploader.cs @@ -82,33 +82,33 @@ public HRESULT CreateUpload([NativeTypeName("ABI::Windows::Foundation::IUriRunti /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateUploadFromStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* sourceStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT CreateUploadFromStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* sourceStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, sourceStream, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, sourceStream, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateUploadWithFormDataAndAutoBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT CreateUploadWithFormDataAndAutoBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[8]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[8]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateUploadWithSubTypeAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT CreateUploadWithSubTypeAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, HSTRING, IAsyncOperation**, int>)(lpVtbl[9]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, subType, operation); + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, IAsyncOperation>**, int>)(lpVtbl[9]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, subType, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateUploadWithSubTypeAndBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, HSTRING subType, HSTRING boundary, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT CreateUploadWithSubTypeAndBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, HSTRING subType, HSTRING boundary, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, HSTRING, HSTRING, IAsyncOperation**, int>)(lpVtbl[10]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, subType, boundary, operation); + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, HSTRING, IAsyncOperation>**, int>)(lpVtbl[10]))((IBackgroundUploader*)Unsafe.AsPointer(ref this), uri, parts, subType, boundary, operation); } public interface Interface : IInspectable.Interface @@ -117,16 +117,16 @@ public interface Interface : IInspectable.Interface HRESULT CreateUpload([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* sourceFile, [NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IUploadOperation **")] IUploadOperation** operation); [VtblIndex(7)] - HRESULT CreateUploadFromStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* sourceStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT CreateUploadFromStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* sourceStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateUploadWithFormDataAndAutoBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT CreateUploadWithFormDataAndAutoBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT CreateUploadWithSubTypeAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT CreateUploadWithSubTypeAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, HSTRING subType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT CreateUploadWithSubTypeAndBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable* parts, HSTRING subType, HSTRING boundary, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT CreateUploadWithSubTypeAndBoundaryAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *")] IIterable>* parts, HSTRING subType, HSTRING boundary, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -154,15 +154,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateUpload; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateUploadFromStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateUploadFromStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> CreateUploadWithFormDataAndAutoBoundaryAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> CreateUploadWithFormDataAndAutoBoundaryAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HSTRING, IAsyncOperation**, int> CreateUploadWithSubTypeAsync; + public delegate* unmanaged[MemberFunction]>*, HSTRING, IAsyncOperation>**, int> CreateUploadWithSubTypeAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferContentPart_t *, HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HSTRING, HSTRING, IAsyncOperation**, int> CreateUploadWithSubTypeAndBoundaryAsync; + public delegate* unmanaged[MemberFunction]>*, HSTRING, HSTRING, IAsyncOperation>**, int> CreateUploadWithSubTypeAndBoundaryAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods.cs index 91dc0dd70f..0fe4ea8fa1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods.cs @@ -74,28 +74,28 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentUploadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentUploadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundUploaderStaticMethods*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IBackgroundUploaderStaticMethods*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.")] - public HRESULT GetCurrentUploadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentUploadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IBackgroundUploaderStaticMethods*)Unsafe.AsPointer(ref this), group, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IBackgroundUploaderStaticMethods*)Unsafe.AsPointer(ref this), group, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentUploadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentUploadsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] [Obsolete("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.")] - HRESULT GetCurrentUploadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentUploadsForGroupAsync(HSTRING group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -120,10 +120,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentUploadsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentUploadsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] [Obsolete("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentUploadsForGroupAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentUploadsForGroupAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods2.cs index 27aa0ccf0d..41b5140225 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderStaticMethods2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetCurrentUploadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation) + public HRESULT GetCurrentUploadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IBackgroundUploaderStaticMethods2*)Unsafe.AsPointer(ref this), group, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IBackgroundUploaderStaticMethods2*)Unsafe.AsPointer(ref this), group, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetCurrentUploadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation** operation); + HRESULT GetCurrentUploadsForTransferGroupAsync([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *")] IBackgroundTransferGroup* group, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentUploadsForTransferGroupAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetCurrentUploadsForTransferGroupAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderUserConsent.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderUserConsent.cs index f7a37e2d97..39ba3c98bb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderUserConsent.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IBackgroundUploaderUserConsent.cs @@ -76,16 +76,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("RequestUnconstrainedUploadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - public HRESULT RequestUnconstrainedUploadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t *")] IIterable* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation** operation) + public HRESULT RequestUnconstrainedUploadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t *")] IIterable>* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((IBackgroundUploaderUserConsent*)Unsafe.AsPointer(ref this), operations, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[6]))((IBackgroundUploaderUserConsent*)Unsafe.AsPointer(ref this), operations, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("RequestUnconstrainedUploadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - HRESULT RequestUnconstrainedUploadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t *")] IIterable* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation** operation); + HRESULT RequestUnconstrainedUploadsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t *")] IIterable>* operations, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -111,6 +111,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CBackgroundTransfer__CUnconstrainedTransferRequestResult_t **) __attribute__((stdcall))")] [Obsolete("RequestUnconstrainedUploadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RequestUnconstrainedUploadsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> RequestUnconstrainedUploadsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IContentPrefetcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IContentPrefetcher.cs index 98c00b8f27..2b3b8ebc37 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IContentPrefetcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IContentPrefetcher.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_ContentUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector** value) + public HRESULT get_ContentUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IContentPrefetcher*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IContentPrefetcher*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_IndirectContentUri([NativeTypeName("ABI::Windows::Foundation: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_ContentUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector** value); + HRESULT get_ContentUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **")] IVector>** value); [VtblIndex(7)] HRESULT put_IndirectContentUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ContentUris; + public delegate* unmanaged[MemberFunction]>**, int> get_ContentUris; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_IndirectContentUri; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation.cs index a0741ac943..9ebc8b760e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation.cs @@ -90,17 +90,17 @@ public HRESULT get_Progress([NativeTypeName("ABI::Windows::Networking::Backgroun /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress** operation) + public HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDownloadOperation*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], Pointer>**, int>)(lpVtbl[8]))((IDownloadOperation*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress** operation) + public HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDownloadOperation*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], Pointer>**, int>)(lpVtbl[9]))((IDownloadOperation*)Unsafe.AsPointer(ref this), operation); } /// @@ -128,10 +128,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Progress([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress *")] BackgroundDownloadProgress* value); [VtblIndex(8)] - HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress** operation); + HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation); [VtblIndex(9)] - HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress** operation); + HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation); [VtblIndex(10)] HRESULT Pause(); @@ -168,10 +168,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Progress; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StartAsync; + public delegate* unmanaged[MemberFunction], Pointer>**, int> StartAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AttachAsync; + public delegate* unmanaged[MemberFunction], Pointer>**, int> AttachAsync; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Pause; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation3.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation3.cs index 4262e7307c..ae4fb75da1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IDownloadOperation3.cs @@ -106,9 +106,9 @@ public HRESULT GetDownloadedRanges([NativeTypeName("ABI::Windows::Foundation::Co /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_RangesDownloaded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferRangesDownloadedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_RangesDownloaded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferRangesDownloadedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDownloadOperation3*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IDownloadOperation3*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -158,7 +158,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDownloadedRanges([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferFileRange_t **")] IVector** value); [VtblIndex(10)] - HRESULT add_RangesDownloaded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferRangesDownloadedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_RangesDownloaded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferRangesDownloadedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(11)] HRESULT remove_RangesDownloaded(EventRegistrationToken eventCookie); @@ -207,7 +207,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetDownloadedRanges; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CBackgroundTransfer__CDownloadOperation_Windows__CNetworking__CBackgroundTransfer__CBackgroundTransferRangesDownloadedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RangesDownloaded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RangesDownloaded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RangesDownloaded; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IUploadOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IUploadOperation.cs index 92f65f44f6..eb3846b926 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IUploadOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.backgroundtransfer/IUploadOperation.cs @@ -90,17 +90,17 @@ public HRESULT get_Progress([NativeTypeName("ABI::Windows::Networking::Backgroun /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress** operation) + public HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUploadOperation*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], Pointer>**, int>)(lpVtbl[8]))((IUploadOperation*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress** operation) + public HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IUploadOperation*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], Pointer>**, int>)(lpVtbl[9]))((IUploadOperation*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Progress([NativeTypeName("ABI::Windows::Networking::BackgroundTransfer::BackgroundUploadProgress *")] BackgroundUploadProgress* value); [VtblIndex(8)] - HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress** operation); + HRESULT StartAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation); [VtblIndex(9)] - HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress** operation); + HRESULT AttachAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **")] IAsyncOperationWithProgress, Pointer>** operation); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Progress; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StartAsync; + public delegate* unmanaged[MemberFunction], Pointer>**, int> StartAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_Windows__CNetworking__CBackgroundTransfer__CUploadOperation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AttachAsync; + public delegate* unmanaged[MemberFunction], Pointer>**, int> AttachAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile2.cs index 4c6a7f243f..e8a78ce5c1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile2.cs @@ -130,17 +130,17 @@ public HRESULT GetDomainConnectivityLevel([NativeTypeName("ABI::Windows::Network /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::DataUsageGranularity")] DataUsageGranularity granularity, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CNetworkUsage_t **")] IAsyncOperation** value) + public HRESULT GetNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::DataUsageGranularity")] DataUsageGranularity granularity, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CNetworkUsage_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IConnectionProfile2*)Unsafe.AsPointer(ref this), startTime, endTime, granularity, states, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IConnectionProfile2*)Unsafe.AsPointer(ref this), startTime, endTime, granularity, states, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetConnectivityIntervalsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectivityInterval_t **")] IAsyncOperation** value) + public HRESULT GetConnectivityIntervalsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectivityInterval_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IConnectionProfile2*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[14]))((IConnectionProfile2*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); } public interface Interface : IInspectable.Interface @@ -167,10 +167,10 @@ public interface Interface : IInspectable.Interface HRESULT GetDomainConnectivityLevel([NativeTypeName("ABI::Windows::Networking::Connectivity::DomainConnectivityLevel *")] DomainConnectivityLevel* value); [VtblIndex(13)] - HRESULT GetNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::DataUsageGranularity")] DataUsageGranularity granularity, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CNetworkUsage_t **")] IAsyncOperation** value); + HRESULT GetNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::DataUsageGranularity")] DataUsageGranularity granularity, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CNetworkUsage_t **")] IAsyncOperation>>>** value); [VtblIndex(14)] - HRESULT GetConnectivityIntervalsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectivityInterval_t **")] IAsyncOperation** value); + HRESULT GetConnectivityIntervalsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectivityInterval_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -216,9 +216,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDomainConnectivityLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::DataUsageGranularity, ABI::Windows::Networking::Connectivity::NetworkUsageStates, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CNetworkUsage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetNetworkUsageAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetNetworkUsageAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::NetworkUsageStates, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectivityInterval_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetConnectivityIntervalsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetConnectivityIntervalsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile3.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile3.cs index b24ece7cd2..c96470b2fe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAttributedNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CAttributedNetworkUsage_t **")] IAsyncOperation** value) + public HRESULT GetAttributedNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CAttributedNetworkUsage_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IConnectionProfile3*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IConnectionProfile3*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAttributedNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CAttributedNetworkUsage_t **")] IAsyncOperation** value); + HRESULT GetAttributedNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CAttributedNetworkUsage_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::NetworkUsageStates, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CAttributedNetworkUsage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAttributedNetworkUsageAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetAttributedNetworkUsageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile4.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile4.cs index c81be0cbb9..2b3967da0f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile4.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetProviderNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CProviderNetworkUsage_t **")] IAsyncOperation** value) + public HRESULT GetProviderNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CProviderNetworkUsage_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IConnectionProfile4*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IConnectionProfile4*)Unsafe.AsPointer(ref this), startTime, endTime, states, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetProviderNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CProviderNetworkUsage_t **")] IAsyncOperation** value); + HRESULT GetProviderNetworkUsageAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime endTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::NetworkUsageStates")] NetworkUsageStates states, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CProviderNetworkUsage_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::NetworkUsageStates, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CProviderNetworkUsage_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetProviderNetworkUsageAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetProviderNetworkUsageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityManagerStatics.cs index 2693fa76b6..78bc790cc0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityManagerStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AcquireConnectionAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::ICellularApnContext *")] ICellularApnContext* cellularApnContext, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionSession_t **")] IAsyncOperation** operation) + public HRESULT AcquireConnectionAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::ICellularApnContext *")] ICellularApnContext* cellularApnContext, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionSession_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IConnectivityManagerStatics*)Unsafe.AsPointer(ref this), cellularApnContext, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IConnectivityManagerStatics*)Unsafe.AsPointer(ref this), cellularApnContext, operation); } /// @@ -98,7 +98,7 @@ public HRESULT RemoveHttpRoutePolicy([NativeTypeName("ABI::Windows::Networking:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AcquireConnectionAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::ICellularApnContext *")] ICellularApnContext* cellularApnContext, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionSession_t **")] IAsyncOperation** operation); + HRESULT AcquireConnectionAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::ICellularApnContext *")] ICellularApnContext* cellularApnContext, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionSession_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT AddHttpRoutePolicy([NativeTypeName("ABI::Windows::Networking::Connectivity::IRoutePolicy *")] IRoutePolicy* routePolicy); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::ICellularApnContext *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionSession_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AcquireConnectionAsync; + public delegate* unmanaged[MemberFunction]>**, int> AcquireConnectionAsync; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::IRoutePolicy *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AddHttpRoutePolicy; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkAdapter.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkAdapter.cs index 19f6dbc58a..6cb5ff1f71 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkAdapter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkAdapter.cs @@ -114,9 +114,9 @@ public HRESULT get_NetworkAdapterId(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetConnectedProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation** value) + public HRESULT GetConnectedProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((INetworkAdapter*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((INetworkAdapter*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -137,7 +137,7 @@ public interface Interface : IInspectable.Interface HRESULT get_NetworkAdapterId(Guid* value); [VtblIndex(11)] - HRESULT GetConnectedProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation** value); + HRESULT GetConnectedProfileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -177,6 +177,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_NetworkAdapterId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetConnectedProfileAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetConnectedProfileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics.cs index 05a4558965..5e4773788c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetConnectionProfiles([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IVectorView** value) + public HRESULT GetConnectionProfiles([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); } /// @@ -90,33 +90,33 @@ public HRESULT GetInternetConnectionProfile([NativeTypeName("ABI::Windows::Netwo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetLanIdentifiers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CLanIdentifier_t **")] IVectorView** value) + public HRESULT GetLanIdentifiers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CLanIdentifier_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView** value) + public HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetProxyConfigurationAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CProxyConfiguration_t **")] IAsyncOperation** value) + public HRESULT GetProxyConfigurationAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CProxyConfiguration_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), uri, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), uri, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetSortedEndpointPairs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CEndpointPair_t *")] IIterable* destinationList, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IVectorView** value) + public HRESULT GetSortedEndpointPairs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CEndpointPair_t *")] IIterable>* destinationList, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]*, HostNameSortOptions, IVectorView**, int>)(lpVtbl[11]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), destinationList, sortOptions, value); + return ((delegate* unmanaged[MemberFunction]>*, HostNameSortOptions, IVectorView>**, int>)(lpVtbl[11]))((INetworkInformationStatics*)Unsafe.AsPointer(ref this), destinationList, sortOptions, value); } /// @@ -138,22 +138,22 @@ public HRESULT remove_NetworkStatusChanged(EventRegistrationToken eventCookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetConnectionProfiles([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IVectorView** value); + HRESULT GetConnectionProfiles([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT GetInternetConnectionProfile([NativeTypeName("ABI::Windows::Networking::Connectivity::IConnectionProfile **")] IConnectionProfile** value); [VtblIndex(8)] - HRESULT GetLanIdentifiers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CLanIdentifier_t **")] IVectorView** value); + HRESULT GetLanIdentifiers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CLanIdentifier_t **")] IVectorView>** value); [VtblIndex(9)] - HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView** value); + HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView>** value); [VtblIndex(10)] - HRESULT GetProxyConfigurationAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CProxyConfiguration_t **")] IAsyncOperation** value); + HRESULT GetProxyConfigurationAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CProxyConfiguration_t **")] IAsyncOperation>** value); [VtblIndex(11)] - HRESULT GetSortedEndpointPairs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CEndpointPair_t *")] IIterable* destinationList, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IVectorView** value); + HRESULT GetSortedEndpointPairs([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CEndpointPair_t *")] IIterable>* destinationList, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IVectorView>** value); [VtblIndex(12)] HRESULT add_NetworkStatusChanged([NativeTypeName("ABI::Windows::Networking::Connectivity::INetworkStatusChangedEventHandler *")] INetworkStatusChangedEventHandler* networkStatusHandler, EventRegistrationToken* eventCookie); @@ -184,22 +184,22 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetConnectionProfiles; + public delegate* unmanaged[MemberFunction]>**, int> GetConnectionProfiles; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::IConnectionProfile **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetInternetConnectionProfile; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CConnectivity__CLanIdentifier_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetLanIdentifiers; + public delegate* unmanaged[MemberFunction]>**, int> GetLanIdentifiers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHostNames; + public delegate* unmanaged[MemberFunction]>**, int> GetHostNames; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CNetworking__CConnectivity__CProxyConfiguration_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetProxyConfigurationAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetProxyConfigurationAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CNetworking__CEndpointPair_t *, ABI::Windows::Networking::HostNameSortOptions, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CEndpointPair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HostNameSortOptions, IVectorView**, int> GetSortedEndpointPairs; + public delegate* unmanaged[MemberFunction]>*, HostNameSortOptions, IVectorView>**, int> GetSortedEndpointPairs; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::INetworkStatusChangedEventHandler *, EventRegistrationToken *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] add_NetworkStatusChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics2.cs index 0cc7e1b07e..f9b92799a1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/INetworkInformationStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindConnectionProfilesAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::IConnectionProfileFilter *")] IConnectionProfileFilter* pProfileFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation** value) + public HRESULT FindConnectionProfilesAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::IConnectionProfileFilter *")] IConnectionProfileFilter* pProfileFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((INetworkInformationStatics2*)Unsafe.AsPointer(ref this), pProfileFilter, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((INetworkInformationStatics2*)Unsafe.AsPointer(ref this), pProfileFilter, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindConnectionProfilesAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::IConnectionProfileFilter *")] IConnectionProfileFilter* pProfileFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation** value); + HRESULT FindConnectionProfilesAsync([NativeTypeName("ABI::Windows::Networking::Connectivity::IConnectionProfileFilter *")] IConnectionProfileFilter* pProfileFilter, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **")] IAsyncOperation>>>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::IConnectionProfileFilter *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CConnectivity__CConnectionProfile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindConnectionProfilesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindConnectionProfilesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IProxyConfiguration.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IProxyConfiguration.cs index 0f7a06a2b9..72fba13989 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IProxyConfiguration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IProxyConfiguration.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_ProxyUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value) + public HRESULT get_ProxyUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IProxyConfiguration*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IProxyConfiguration*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_CanConnectDirectly([NativeTypeName("boolean *")] byte* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_ProxyUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView** value); + HRESULT get_ProxyUris([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_CanConnectDirectly([NativeTypeName("boolean *")] byte* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CFoundation__CUri_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ProxyUris; + public delegate* unmanaged[MemberFunction]>**, int> get_ProxyUris; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CanConnectDirectly; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocket.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocket.cs index 89022c32b3..df20684872 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocket.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocket.cs @@ -138,25 +138,25 @@ public HRESULT JoinMulticastGroup([NativeTypeName("ABI::Windows::Networking::IHo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetOutputStreamAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation** value) + public HRESULT GetOutputStreamAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IDatagramSocket*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IDatagramSocket*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetOutputStreamWithEndpointPairAsync([NativeTypeName("ABI::Windows::Networking::IEndpointPair *")] IEndpointPair* endpointPair, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation** value) + public HRESULT GetOutputStreamWithEndpointPairAsync([NativeTypeName("ABI::Windows::Networking::IEndpointPair *")] IEndpointPair* endpointPair, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IDatagramSocket*)Unsafe.AsPointer(ref this), endpointPair, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IDatagramSocket*)Unsafe.AsPointer(ref this), endpointPair, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CDatagramSocket_Windows__CNetworking__CSockets__CDatagramSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CDatagramSocket_Windows__CNetworking__CSockets__CDatagramSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IDatagramSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IDatagramSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -194,13 +194,13 @@ public interface Interface : IInspectable.Interface HRESULT JoinMulticastGroup([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* host); [VtblIndex(14)] - HRESULT GetOutputStreamAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation** value); + HRESULT GetOutputStreamAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation>** value); [VtblIndex(15)] - HRESULT GetOutputStreamWithEndpointPairAsync([NativeTypeName("ABI::Windows::Networking::IEndpointPair *")] IEndpointPair* endpointPair, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation** value); + HRESULT GetOutputStreamWithEndpointPairAsync([NativeTypeName("ABI::Windows::Networking::IEndpointPair *")] IEndpointPair* endpointPair, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **")] IAsyncOperation>** value); [VtblIndex(16)] - HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CDatagramSocket_Windows__CNetworking__CSockets__CDatagramSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CDatagramSocket_Windows__CNetworking__CSockets__CDatagramSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(17)] HRESULT remove_MessageReceived(EventRegistrationToken eventCookie); @@ -252,13 +252,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] JoinMulticastGroup; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetOutputStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetOutputStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Networking::IEndpointPair *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIOutputStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetOutputStreamWithEndpointPairAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetOutputStreamWithEndpointPairAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CDatagramSocket_Windows__CNetworking__CSockets__CDatagramSocketMessageReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MessageReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MessageReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocketStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocketStatics.cs index 3f72582901..83d13f726b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocketStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IDatagramSocketStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation) + public HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDatagramSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IDatagramSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation) + public HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDatagramSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, sortOptions, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IDatagramSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, sortOptions, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation); + HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation); + HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEndpointPairsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetEndpointPairsAsync; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, HSTRING, ABI::Windows::Networking::HostNameSortOptions, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEndpointPairsWithSortOptionsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetEndpointPairsWithSortOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket.cs index fc87af3beb..9875c41b50 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket.cs @@ -90,9 +90,9 @@ public HRESULT get_Information([NativeTypeName("ABI::Windows::Networking::Socket /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMessageWebSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IMessageWebSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Information([NativeTypeName("ABI::Windows::Networking::Sockets::IWebSocketInformation **")] IWebSocketInformation** value); [VtblIndex(8)] - HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(9)] HRESULT remove_MessageReceived(EventRegistrationToken eventCookie); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Information; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MessageReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MessageReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket2.cs index e1f15a3b43..6536b9b27c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IMessageWebSocket2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMessageWebSocket2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IMessageWebSocket2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ServerCustomValidationRequested(EventRegistrationToken eve public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(7)] HRESULT remove_ServerCustomValidationRequested(EventRegistrationToken eventCookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ServerCustomValidationRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerMessageWebSocket.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerMessageWebSocket.cs index 6122bb792e..c5a4438ba6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerMessageWebSocket.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerMessageWebSocket.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IServerMessageWebSocket*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IServerMessageWebSocket*)Unsafe.AsPointer(ref this), value, token); } /// @@ -114,9 +114,9 @@ public HRESULT get_OutputStream([NativeTypeName("ABI::Windows::Storage::Streams: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IServerMessageWebSocket*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IServerMessageWebSocket*)Unsafe.AsPointer(ref this), value, token); } /// @@ -138,7 +138,7 @@ public HRESULT CloseWithStatus([NativeTypeName("UINT16")] ushort code, HSTRING r public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_MessageReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_MessageReceived(EventRegistrationToken token); @@ -153,7 +153,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OutputStream([NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream **")] IOutputStream** value); [VtblIndex(11)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Closed(EventRegistrationToken token); @@ -184,7 +184,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CMessageWebSocketMessageReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MessageReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MessageReceived; @@ -199,7 +199,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OutputStream; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerMessageWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerStreamWebSocket.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerStreamWebSocket.cs index 63866e379e..eaec83fae1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerStreamWebSocket.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IServerStreamWebSocket.cs @@ -98,9 +98,9 @@ public HRESULT get_OutputStream([NativeTypeName("ABI::Windows::Storage::Streams: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IServerStreamWebSocket*)Unsafe.AsPointer(ref this), value, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IServerStreamWebSocket*)Unsafe.AsPointer(ref this), value, token); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT get_OutputStream([NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream **")] IOutputStream** value); [VtblIndex(9)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* value, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* value, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Closed(EventRegistrationToken token); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OutputStream; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CServerStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/ISocketActivityInformationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/ISocketActivityInformationStatics.cs index e5b1393877..99d3b0c78f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/ISocketActivityInformationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/ISocketActivityInformationStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AllSockets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CNetworking__CSockets__CSocketActivityInformation_t **")] IMapView** sockets) + public HRESULT get_AllSockets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CNetworking__CSockets__CSocketActivityInformation_t **")] IMapView>** sockets) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISocketActivityInformationStatics*)Unsafe.AsPointer(ref this), sockets); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISocketActivityInformationStatics*)Unsafe.AsPointer(ref this), sockets); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AllSockets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CNetworking__CSockets__CSocketActivityInformation_t **")] IMapView** sockets); + HRESULT get_AllSockets([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CNetworking__CSockets__CSocketActivityInformation_t **")] IMapView>** sockets); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CNetworking__CSockets__CSocketActivityInformation_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AllSockets; + public delegate* unmanaged[MemberFunction]>**, int> get_AllSockets; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketInformation2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketInformation2.cs index 899a26c7c1..de4e1f557d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketInformation2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketInformation2.cs @@ -98,9 +98,9 @@ public HRESULT get_ServerCertificate([NativeTypeName("ABI::Windows::Security::Cr /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStreamSocketInformation2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IStreamSocketInformation2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServerCertificate([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate **")] ICertificate** value); [VtblIndex(9)] - HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ServerCertificate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ServerIntermediateCertificates; + public delegate* unmanaged[MemberFunction]>**, int> get_ServerIntermediateCertificates; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketListener.cs index a97dcb4f25..af7cfdbf84 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketListener.cs @@ -106,9 +106,9 @@ public HRESULT BindEndpointAsync([NativeTypeName("ABI::Windows::Networking::IHos /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ConnectionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamSocketListener_Windows__CNetworking__CSockets__CStreamSocketListenerConnectionReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_ConnectionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamSocketListener_Windows__CNetworking__CSockets__CStreamSocketListenerConnectionReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStreamSocketListener*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStreamSocketListener*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT BindEndpointAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* localHostName, HSTRING localServiceName, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(10)] - HRESULT add_ConnectionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamSocketListener_Windows__CNetworking__CSockets__CStreamSocketListenerConnectionReceivedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_ConnectionReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamSocketListener_Windows__CNetworking__CSockets__CStreamSocketListenerConnectionReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(11)] HRESULT remove_ConnectionReceived(EventRegistrationToken eventCookie); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] BindEndpointAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamSocketListener_Windows__CNetworking__CSockets__CStreamSocketListenerConnectionReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ConnectionReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ConnectionReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ConnectionReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketStatics.cs index aae131690e..b288eaf1b7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamSocketStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation) + public HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStreamSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStreamSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation) + public HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStreamSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, sortOptions, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IStreamSocketStatics*)Unsafe.AsPointer(ref this), remoteHostName, remoteServiceName, sortOptions, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation); + HRESULT GetEndpointPairsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation** operation); + HRESULT GetEndpointPairsWithSortOptionsAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* remoteHostName, HSTRING remoteServiceName, [NativeTypeName("ABI::Windows::Networking::HostNameSortOptions")] HostNameSortOptions sortOptions, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEndpointPairsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetEndpointPairsAsync; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, HSTRING, ABI::Windows::Networking::HostNameSortOptions, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CNetworking__CEndpointPair_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetEndpointPairsWithSortOptionsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetEndpointPairsWithSortOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamWebSocket2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamWebSocket2.cs index b8479f0916..661464b1da 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamWebSocket2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IStreamWebSocket2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IStreamWebSocket2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IStreamWebSocket2*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ServerCustomValidationRequested(EventRegistrationToken eve public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(7)] HRESULT remove_ServerCustomValidationRequested(EventRegistrationToken eventCookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CStreamWebSocket_Windows__CNetworking__CSockets__CWebSocketServerCustomValidationRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ServerCustomValidationRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocket.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocket.cs index 584c593402..4595450cdf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocket.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocket.cs @@ -98,9 +98,9 @@ public HRESULT SetRequestHeader(HSTRING headerName, HSTRING headerValue) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CIWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CIWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IWebSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IWebSocket*)Unsafe.AsPointer(ref this), eventHandler, eventCookie); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT SetRequestHeader(HSTRING headerName, HSTRING headerValue); [VtblIndex(9)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CIWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* eventCookie); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CIWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* eventCookie); [VtblIndex(10)] HRESULT remove_Closed(EventRegistrationToken eventCookie); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetRequestHeader; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CNetworking__CSockets__CIWebSocket_Windows__CNetworking__CSockets__CWebSocketClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketInformation2.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketInformation2.cs index 02e41589ba..5f73422e47 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketInformation2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketInformation2.cs @@ -98,9 +98,9 @@ public HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Founda /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebSocketInformation2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IWebSocketInformation2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CChainValidationResult_t **")] IVectorView** value); [VtblIndex(9)] - HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ServerCertificateErrors; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ServerIntermediateCertificates; + public delegate* unmanaged[MemberFunction]>**, int> get_ServerIntermediateCertificates; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketServerCustomValidationRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketServerCustomValidationRequestedEventArgs.cs index 54e17f0873..2a104a0b1c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketServerCustomValidationRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.sockets/IWebSocketServerCustomValidationRequestedEventArgs.cs @@ -98,9 +98,9 @@ public HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Founda /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebSocketServerCustomValidationRequestedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IWebSocketServerCustomValidationRequestedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CChainValidationResult_t **")] IVectorView** value); [VtblIndex(9)] - HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); [VtblIndex(10)] HRESULT Reject(); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ServerCertificateErrors; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ServerIntermediateCertificates; + public delegate* unmanaged[MemberFunction]>**, int> get_ServerIntermediateCertificates; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Reject; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchor.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchor.cs index 291d6e85fe..ac7dc8be7d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchor.cs @@ -90,9 +90,9 @@ public HRESULT get_RawCoordinateSystem([NativeTypeName("ABI::Windows::Perception /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_RawCoordinateSystemAdjusted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialAnchor_Windows__CPerception__CSpatial__CSpatialAnchorRawCoordinateSystemAdjustedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_RawCoordinateSystemAdjusted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialAnchor_Windows__CPerception__CSpatial__CSpatialAnchorRawCoordinateSystemAdjustedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISpatialAnchor*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISpatialAnchor*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RawCoordinateSystem([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialCoordinateSystem **")] ISpatialCoordinateSystem** value); [VtblIndex(8)] - HRESULT add_RawCoordinateSystemAdjusted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialAnchor_Windows__CPerception__CSpatial__CSpatialAnchorRawCoordinateSystemAdjustedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_RawCoordinateSystemAdjusted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialAnchor_Windows__CPerception__CSpatial__CSpatialAnchorRawCoordinateSystemAdjustedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(9)] HRESULT remove_RawCoordinateSystemAdjusted(EventRegistrationToken cookie); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RawCoordinateSystem; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialAnchor_Windows__CPerception__CSpatial__CSpatialAnchorRawCoordinateSystemAdjustedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RawCoordinateSystemAdjusted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RawCoordinateSystemAdjusted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RawCoordinateSystemAdjusted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorExporter.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorExporter.cs index 659158940e..54edae21fd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorExporter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorExporter.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAnchorExportSufficiencyAsync([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose")] SpatialAnchorExportPurpose purpose, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorExportSufficiency_t **")] IAsyncOperation** operation) + public HRESULT GetAnchorExportSufficiencyAsync([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose")] SpatialAnchorExportPurpose purpose, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorExportSufficiency_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpatialAnchorExporter*)Unsafe.AsPointer(ref this), anchor, purpose, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISpatialAnchorExporter*)Unsafe.AsPointer(ref this), anchor, purpose, operation); } /// @@ -90,7 +90,7 @@ public HRESULT TryExportAnchorAsync([NativeTypeName("ABI::Windows::Perception::S public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAnchorExportSufficiencyAsync([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose")] SpatialAnchorExportPurpose purpose, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorExportSufficiency_t **")] IAsyncOperation** operation); + HRESULT GetAnchorExportSufficiencyAsync([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose")] SpatialAnchorExportPurpose purpose, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorExportSufficiency_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT TryExportAnchorAsync([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose")] SpatialAnchorExportPurpose purpose, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Perception::Spatial::ISpatialAnchor *, ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorExportSufficiency_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAnchorExportSufficiencyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAnchorExportSufficiencyAsync; [NativeTypeName("HRESULT (ABI::Windows::Perception::Spatial::ISpatialAnchor *, ABI::Windows::Perception::Spatial::SpatialAnchorExportPurpose, ABI::Windows::Storage::Streams::IOutputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> TryExportAnchorAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorManagerStatics.cs index 1bd5cf8bb9..834d5d0b1e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorManagerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorStore_t **")] IAsyncOperation** value) + public HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorStore_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpatialAnchorManagerStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISpatialAnchorManagerStatics*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorStore_t **")] IAsyncOperation** value); + HRESULT RequestStoreAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorStore_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialAnchorStore_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestStoreAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestStoreAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStore.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStore.cs index 5c3de40644..27291ef293 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStore.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAllSavedAnchors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IMapView** value) + public HRESULT GetAllSavedAnchors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpatialAnchorStore*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ISpatialAnchorStore*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT Clear() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAllSavedAnchors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IMapView** value); + HRESULT GetAllSavedAnchors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IMapView>** value); [VtblIndex(7)] HRESULT TrySave(HSTRING id, [NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialAnchor *")] ISpatialAnchor* anchor, [NativeTypeName("boolean *")] byte* succeeded); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllSavedAnchors; + public delegate* unmanaged[MemberFunction]>**, int> GetAllSavedAnchors; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Perception::Spatial::ISpatialAnchor *, boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] TrySave; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorTransferManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorTransferManagerStatics.cs index b4a749a5de..1b4090acce 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorTransferManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorTransferManagerStatics.cs @@ -76,18 +76,18 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - public HRESULT TryImportAnchorsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IAsyncOperation** operation) + public HRESULT TryImportAnchorsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ISpatialAnchorTransferManagerStatics*)Unsafe.AsPointer(ref this), stream, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ISpatialAnchorTransferManagerStatics*)Unsafe.AsPointer(ref this), stream, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - public HRESULT TryExportAnchorsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t *")] IIterable* anchors, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + public HRESULT TryExportAnchorsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t *")] IIterable>>>* anchors, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]*, IOutputStream*, IAsyncOperation**, int>)(lpVtbl[7]))((ISpatialAnchorTransferManagerStatics*)Unsafe.AsPointer(ref this), anchors, stream, operation); + return ((delegate* unmanaged[MemberFunction]>>>*, IOutputStream*, IAsyncOperation**, int>)(lpVtbl[7]))((ISpatialAnchorTransferManagerStatics*)Unsafe.AsPointer(ref this), anchors, stream, operation); } /// @@ -103,11 +103,11 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - HRESULT TryImportAnchorsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IAsyncOperation** operation); + HRESULT TryImportAnchorsAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - HRESULT TryExportAnchorsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t *")] IIterable* anchors, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + HRESULT TryExportAnchorsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t *")] IIterable>>>* anchors, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* stream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(8)] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] @@ -137,11 +137,11 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t **) __attribute__((stdcall))")] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]**, int> TryImportAnchorsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> TryImportAnchorsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_Windows__CPerception__CSpatial__CSpatialAnchor_t *, ABI::Windows::Storage::Streams::IOutputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, IOutputStream*, IAsyncOperation**, int> TryExportAnchorsAsync; + public delegate* unmanaged[MemberFunction]>>>*, IOutputStream*, IAsyncOperation**, int> TryExportAnchorsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialPerceptionAccessStatus_t **) __attribute__((stdcall))")] [Obsolete("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialEntityWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialEntityWatcher.cs index 3eebcd6994..730fe88e18 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialEntityWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialEntityWatcher.cs @@ -82,9 +82,9 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::Perception::Spatial::Sp /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((ISpatialEntityWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -165,25 +165,25 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::Perception::Spatial::SpatialEntityWatcherStatus *")] SpatialEntityWatcherStatus* value); [VtblIndex(7)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); @@ -220,25 +220,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityAddedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityUpdatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_Windows__CPerception__CSpatial__CSpatialEntityRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialEntityWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs index f163b181c9..e9704a4b3f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs @@ -83,9 +83,9 @@ public HRESULT get_Locatability([NativeTypeName("ABI::Windows::Perception::Spati /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_LocatabilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_LocatabilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialLocator*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialLocator*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -99,9 +99,9 @@ public HRESULT remove_LocatabilityChanged(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PositionalTrackingDeactivating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_Windows__CPerception__CSpatial__CSpatialLocatorPositionalTrackingDeactivatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PositionalTrackingDeactivating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_Windows__CPerception__CSpatial__CSpatialLocatorPositionalTrackingDeactivatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpatialLocator*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ISpatialLocator*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -190,13 +190,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Locatability([NativeTypeName("ABI::Windows::Perception::Spatial::SpatialLocatability *")] SpatialLocatability* value); [VtblIndex(7)] - HRESULT add_LocatabilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_LocatabilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_LocatabilityChanged(EventRegistrationToken cookie); [VtblIndex(9)] - HRESULT add_PositionalTrackingDeactivating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_Windows__CPerception__CSpatial__CSpatialLocatorPositionalTrackingDeactivatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PositionalTrackingDeactivating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_Windows__CPerception__CSpatial__CSpatialLocatorPositionalTrackingDeactivatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(10)] HRESULT remove_PositionalTrackingDeactivating(EventRegistrationToken cookie); @@ -254,13 +254,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Locatability; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LocatabilityChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LocatabilityChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LocatabilityChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CPerception__CSpatial__CSpatialLocator_Windows__CPerception__CSpatial__CSpatialLocatorPositionalTrackingDeactivatingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PositionalTrackingDeactivating; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PositionalTrackingDeactivating; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PositionalTrackingDeactivating; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReferenceStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReferenceStatics.cs index 5f16c2637e..757a1a6910 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReferenceStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReferenceStatics.cs @@ -82,9 +82,9 @@ public HRESULT get_Current([NativeTypeName("ABI::Windows::Perception::Spatial::I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_CurrentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_CurrentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialStageFrameOfReferenceStatics*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ISpatialStageFrameOfReferenceStatics*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -98,9 +98,9 @@ public HRESULT remove_CurrentChanged(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestNewStageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialStageFrameOfReference_t **")] IAsyncOperation** result) + public HRESULT RequestNewStageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialStageFrameOfReference_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ISpatialStageFrameOfReferenceStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((ISpatialStageFrameOfReferenceStatics*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -109,13 +109,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Current([NativeTypeName("ABI::Windows::Perception::Spatial::ISpatialStageFrameOfReference **")] ISpatialStageFrameOfReference** value); [VtblIndex(7)] - HRESULT add_CurrentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_CurrentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_CurrentChanged(EventRegistrationToken cookie); [VtblIndex(9)] - HRESULT RequestNewStageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialStageFrameOfReference_t **")] IAsyncOperation** result); + HRESULT RequestNewStageAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialStageFrameOfReference_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -143,12 +143,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Current; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CurrentChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_CurrentChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CurrentChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CPerception__CSpatial__CSpatialStageFrameOfReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestNewStageAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestNewStageAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IFindAllAccountsResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IFindAllAccountsResult.cs index 4e1cbf4984..f710a29297 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IFindAllAccountsResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IFindAllAccountsResult.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Accounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView** value) + public HRESULT get_Accounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFindAllAccountsResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFindAllAccountsResult*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_ProviderError([NativeTypeName("ABI::Windows::Security::Authen public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Accounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView** value); + HRESULT get_Accounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Status([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus *")] FindAllWebAccountsStatus* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Accounts; + public delegate* unmanaged[MemberFunction]>**, int> get_Accounts; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Status; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor.cs index 5ad86ba60a..e1823921dc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_DefaultSignInAccountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DefaultSignInAccountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IWebAccountMonitor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,19 +122,19 @@ public HRESULT remove_DefaultSignInAccountChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_DefaultSignInAccountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DefaultSignInAccountChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_DefaultSignInAccountChanged(EventRegistrationToken token); @@ -162,19 +162,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DefaultSignInAccountChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DefaultSignInAccountChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DefaultSignInAccountChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor2.cs index 9f1a6a7a13..2ad4f4dbcd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAccountMonitor2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AccountPictureUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AccountPictureUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWebAccountMonitor2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IWebAccountMonitor2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_AccountPictureUpdated(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AccountPictureUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AccountPictureUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_AccountPictureUpdated(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountMonitor_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebAccountEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AccountPictureUpdated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AccountPictureUpdated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AccountPictureUpdated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics.cs index 3f4b49c1cf..cc4ccf2918 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics.cs @@ -74,81 +74,81 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetTokenSilentlyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetTokenSilentlyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetTokenSilentlyWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetTokenSilentlyWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, webAccount, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, webAccount, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT RequestTokenAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT RequestTokenAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestTokenWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT RequestTokenWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, webAccount, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), request, webAccount, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING webAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT FindAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING webAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), provider, webAccountId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), provider, webAccountId, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT FindAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo) + public HRESULT FindAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), webAccountProviderId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), webAccountProviderId, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT FindAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo) + public HRESULT FindAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IWebAuthenticationCoreManagerStatics*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetTokenSilentlyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo); + HRESULT GetTokenSilentlyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(7)] - HRESULT GetTokenSilentlyWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo); + HRESULT GetTokenSilentlyWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(8)] - HRESULT RequestTokenAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo); + HRESULT RequestTokenAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(9)] - HRESULT RequestTokenWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation** asyncInfo); + HRESULT RequestTokenWithWebAccountAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *")] IWebTokenRequest* request, [NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(10)] - HRESULT FindAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING webAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT FindAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING webAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(11)] - HRESULT FindAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo); + HRESULT FindAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(12)] - HRESULT FindAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo); + HRESULT FindAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -173,24 +173,24 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTokenSilentlyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetTokenSilentlyAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *, ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTokenSilentlyWithWebAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetTokenSilentlyWithWebAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestTokenAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestTokenAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest *, ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenRequestResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestTokenWithWebAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestTokenWithWebAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccountProvider *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAccountAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAccountProviderAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAccountProviderAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAccountProviderWithAuthorityAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAccountProviderWithAuthorityAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics2.cs index fbaceebf6b..7a133535c2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo) + public HRESULT FindAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics2*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, user, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics2*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, user, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** asyncInfo); + HRESULT FindAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::System::IUser *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAccountProviderWithAuthorityForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAccountProviderWithAuthorityForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics3.cs index e861e3197b..73dd100dbd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateWebAccountMonitor([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCredentials__CWebAccount_t *")] IIterable* webAccounts, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebAccountMonitor **")] IWebAccountMonitor** result) + public HRESULT CreateWebAccountMonitor([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCredentials__CWebAccount_t *")] IIterable>* webAccounts, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebAccountMonitor **")] IWebAccountMonitor** result) { - return ((delegate* unmanaged[MemberFunction]*, IWebAccountMonitor**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics3*)Unsafe.AsPointer(ref this), webAccounts, result); + return ((delegate* unmanaged[MemberFunction]>*, IWebAccountMonitor**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics3*)Unsafe.AsPointer(ref this), webAccounts, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateWebAccountMonitor([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCredentials__CWebAccount_t *")] IIterable* webAccounts, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebAccountMonitor **")] IWebAccountMonitor** result); + HRESULT CreateWebAccountMonitor([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCredentials__CWebAccount_t *")] IIterable>* webAccounts, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebAccountMonitor **")] IWebAccountMonitor** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCredentials__CWebAccount_t *, ABI::Windows::Security::Authentication::Web::Core::IWebAccountMonitor **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IWebAccountMonitor**, int> CreateWebAccountMonitor; + public delegate* unmanaged[MemberFunction]>*, IWebAccountMonitor**, int> CreateWebAccountMonitor; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics4.cs index 01c43d40da..994f00576e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebAuthenticationCoreManagerStatics4.cs @@ -74,59 +74,59 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAllAccountsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation** operation) + public HRESULT FindAllAccountsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), provider, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), provider, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllAccountsWithClientIdAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING clientId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation** operation) + public HRESULT FindAllAccountsWithClientIdAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING clientId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), provider, clientId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), provider, clientId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FindSystemAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation) + public HRESULT FindSystemAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindSystemAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation) + public HRESULT FindSystemAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindSystemAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation) + public HRESULT FindSystemAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, user, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IWebAuthenticationCoreManagerStatics4*)Unsafe.AsPointer(ref this), webAccountProviderId, authority, user, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAllAccountsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation** operation); + HRESULT FindAllAccountsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT FindAllAccountsWithClientIdAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING clientId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation** operation); + HRESULT FindAllAccountsWithClientIdAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccountProvider *")] IWebAccountProvider* provider, HSTRING clientId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT FindSystemAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation); + HRESULT FindSystemAccountProviderAsync(HSTRING webAccountProviderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT FindSystemAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation); + HRESULT FindSystemAccountProviderWithAuthorityAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT FindSystemAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation** operation); + HRESULT FindSystemAccountProviderWithAuthorityForUserAsync(HSTRING webAccountProviderId, HSTRING authority, [NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -151,18 +151,18 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccountProvider *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAccountsAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAllAccountsAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccountProvider *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CFindAllAccountsResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAccountsWithClientIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindAllAccountsWithClientIdAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindSystemAccountProviderAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindSystemAccountProviderAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindSystemAccountProviderWithAuthorityAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindSystemAccountProviderWithAuthorityAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::System::IUser *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccountProvider_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindSystemAccountProviderWithAuthorityForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindSystemAccountProviderWithAuthorityForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebTokenRequestResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebTokenRequestResult.cs index 491969745e..d8b4b99daf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebTokenRequestResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.core/IWebTokenRequestResult.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_ResponseData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenResponse_t **")] IVectorView** value) + public HRESULT get_ResponseData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenResponse_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebTokenRequestResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebTokenRequestResult*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT InvalidateCacheAsync([NativeTypeName("ABI::Windows::Foundation::I public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_ResponseData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenResponse_t **")] IVectorView** value); + HRESULT get_ResponseData([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenResponse_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_ResponseStatus([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus *")] WebTokenRequestStatus* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CCore__CWebTokenResponse_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ResponseData; + public delegate* unmanaged[MemberFunction]>**, int> get_ResponseData; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ResponseStatus; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics.cs index df581e0f43..e4eb41b4b1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics.cs @@ -82,9 +82,9 @@ public HRESULT UpdateWebAccountPropertiesAsync([NativeTypeName("ABI::Windows::Se /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT AddWebAccountAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT AddWebAccountAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[7]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, asyncInfo); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[7]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, asyncInfo); } /// @@ -98,17 +98,17 @@ public HRESULT DeleteWebAccountAsync([NativeTypeName("ABI::Windows::Security::Cr /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindAllProviderWebAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT FindAllProviderWebAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>>>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT PushCookiesAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t *")] IVectorView* cookies, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) + public HRESULT PushCookiesAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t *")] IVectorView>* cookies, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[10]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), uri, cookies, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[10]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), uri, cookies, asyncInfo); } /// @@ -130,9 +130,9 @@ public HRESULT ClearViewAsync([NativeTypeName("ABI::Windows::Security::Credentia /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetViewsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebAccountClientView_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetViewsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebAccountClientView_t **")] IAsyncOperation>>>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), webAccount, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IWebAccountManagerStatics*)Unsafe.AsPointer(ref this), webAccount, asyncInfo); } /// @@ -157,16 +157,16 @@ public interface Interface : IInspectable.Interface HRESULT UpdateWebAccountPropertiesAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* additionalProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(7)] - HRESULT AddWebAccountAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT AddWebAccountAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(8)] HRESULT DeleteWebAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(9)] - HRESULT FindAllProviderWebAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT FindAllProviderWebAccountsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>>>** asyncInfo); [VtblIndex(10)] - HRESULT PushCookiesAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t *")] IVectorView* cookies, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); + HRESULT PushCookiesAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t *")] IVectorView>* cookies, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(11)] HRESULT SetViewAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::IWebAccountClientView *")] IWebAccountClientView* view, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -175,7 +175,7 @@ public interface Interface : IInspectable.Interface HRESULT ClearViewAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* applicationCallbackUri, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(13)] - HRESULT GetViewsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebAccountClientView_t **")] IAsyncOperation** asyncInfo); + HRESULT GetViewsAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebAccountClientView_t **")] IAsyncOperation>>>** asyncInfo); [VtblIndex(14)] HRESULT SetWebAccountPictureAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream *")] IRandomAccessStream* webAccountPicture, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -209,16 +209,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> UpdateWebAccountPropertiesAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> AddWebAccountAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> AddWebAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] DeleteWebAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllProviderWebAccountsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllProviderWebAccountsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> PushCookiesAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> PushCookiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Security::Authentication::Web::Provider::IWebAccountClientView *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetViewAsync; @@ -227,7 +227,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ClearViewAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebAccountClientView_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetViewsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetViewsAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Storage::Streams::IRandomAccessStream *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetWebAccountPictureAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics3.cs index 097695470c..b4c0f35e49 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountManagerStatics3.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAllProviderWebAccountsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation) + public HRESULT FindAllProviderWebAccountsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT AddWebAccountForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation) + public HRESULT AddWebAccountForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[7]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[7]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT AddWebAccountWithScopeForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation) + public HRESULT AddWebAccountWithScopeForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation**, int>)(lpVtbl[8]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, scope, operation); + return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation>**, int>)(lpVtbl[8]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, scope, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT AddWebAccountWithScopeAndMapForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation) + public HRESULT AddWebAccountWithScopeAndMapForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation**, int>)(lpVtbl[9]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, scope, perUserWebAccountId, operation); + return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation>**, int>)(lpVtbl[9]))((IWebAccountManagerStatics3*)Unsafe.AsPointer(ref this), user, webAccountId, webAccountUserName, props, scope, perUserWebAccountId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAllProviderWebAccountsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation); + HRESULT FindAllProviderWebAccountsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT AddWebAccountForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation); + HRESULT AddWebAccountForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT AddWebAccountWithScopeForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation); + HRESULT AddWebAccountWithScopeForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT AddWebAccountWithScopeAndMapForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** operation); + HRESULT AddWebAccountWithScopeAndMapForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllProviderWebAccountsForUserAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllProviderWebAccountsForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> AddWebAccountForUserAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> AddWebAccountForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation**, int> AddWebAccountWithScopeForUserAsync; + public delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation>**, int> AddWebAccountWithScopeForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation**, int> AddWebAccountWithScopeAndMapForUserAsync; + public delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation>**, int> AddWebAccountWithScopeAndMapForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountMapManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountMapManagerStatics.cs index 8cd4b3a833..bccff3b208 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountMapManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountMapManagerStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AddWebAccountWithScopeAndMapAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT AddWebAccountWithScopeAndMapAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation**, int>)(lpVtbl[6]))((IWebAccountMapManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, scope, perUserWebAccountId, asyncInfo); + return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation>**, int>)(lpVtbl[6]))((IWebAccountMapManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, scope, perUserWebAccountId, asyncInfo); } /// @@ -90,9 +90,9 @@ public HRESULT SetPerAppToPerUserAccountAsync([NativeTypeName("ABI::Windows::Sec /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWebAccountMapManagerStatics*)Unsafe.AsPointer(ref this), perAppAccount, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWebAccountMapManagerStatics*)Unsafe.AsPointer(ref this), perAppAccount, asyncInfo); } /// @@ -106,13 +106,13 @@ public HRESULT ClearPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AddWebAccountWithScopeAndMapAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT AddWebAccountWithScopeAndMapAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(7)] HRESULT SetPerAppToPerUserAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, HSTRING perUserWebAccountId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); [VtblIndex(8)] - HRESULT GetPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT GetPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(9)] HRESULT ClearPerUserFromPerAppAccountAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* perAppAccount, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation**, int> AddWebAccountWithScopeAndMapAsync; + public delegate* unmanaged[MemberFunction]*, WebAccountScope, HSTRING, IAsyncOperation>**, int> AddWebAccountWithScopeAndMapAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetPerAppToPerUserAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPerUserFromPerAppAccountAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPerUserFromPerAppAccountAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ClearPerUserFromPerAppAccountAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderRetrieveCookiesOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderRetrieveCookiesOperation.cs index 153d63fc12..1c7a2512b3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderRetrieveCookiesOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderRetrieveCookiesOperation.cs @@ -82,9 +82,9 @@ public HRESULT get_Context([NativeTypeName("ABI::Windows::Foundation::IUriRuntim /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Cookies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVector** cookies) + public HRESULT get_Cookies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVector>** cookies) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebAccountProviderRetrieveCookiesOperation*)Unsafe.AsPointer(ref this), cookies); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebAccountProviderRetrieveCookiesOperation*)Unsafe.AsPointer(ref this), cookies); } /// @@ -117,7 +117,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Context([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass **")] IUriRuntimeClass** webCookieRequestContext); [VtblIndex(7)] - HRESULT get_Cookies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVector** cookies); + HRESULT get_Cookies([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVector>** cookies); [VtblIndex(8)] HRESULT put_Uri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri); @@ -154,7 +154,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Context; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHttpCookie_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Cookies; + public delegate* unmanaged[MemberFunction]>**, int> get_Cookies; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_Uri; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderTokenOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderTokenOperation.cs index 22236d1443..edaef0d163 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderTokenOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountProviderTokenOperation.cs @@ -82,9 +82,9 @@ public HRESULT get_ProviderRequest([NativeTypeName("ABI::Windows::Security::Auth /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_ProviderResponses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebProviderTokenResponse_t **")] IVector** value) + public HRESULT get_ProviderResponses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebProviderTokenResponse_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProviderRequest([NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest **")] IWebProviderTokenRequest** webTokenRequest); [VtblIndex(7)] - HRESULT get_ProviderResponses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebProviderTokenResponse_t **")] IVector** value); + HRESULT get_ProviderResponses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebProviderTokenResponse_t **")] IVector>** value); [VtblIndex(8)] HRESULT put_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ProviderRequest; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CAuthentication__CWeb__CProvider__CWebProviderTokenResponse_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ProviderResponses; + public delegate* unmanaged[MemberFunction]>**, int> get_ProviderResponses; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] put_CacheExpirationTime; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountScopeManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountScopeManagerStatics.cs index 392fbc96ad..e64d69e699 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountScopeManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebAccountScopeManagerStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AddWebAccountWithScopeAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo) + public HRESULT AddWebAccountWithScopeAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation**, int>)(lpVtbl[6]))((IWebAccountScopeManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, scope, asyncInfo); + return ((delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation>**, int>)(lpVtbl[6]))((IWebAccountScopeManagerStatics*)Unsafe.AsPointer(ref this), webAccountId, webAccountUserName, props, scope, asyncInfo); } /// @@ -98,7 +98,7 @@ public HRESULT GetScope([NativeTypeName("ABI::Windows::Security::Credentials::IW public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AddWebAccountWithScopeAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation** asyncInfo); + HRESULT AddWebAccountWithScopeAsync(HSTRING webAccountId, HSTRING webAccountUserName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *")] IMapView* props, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(7)] HRESULT SetScopeAsync([NativeTypeName("ABI::Windows::Security::Credentials::IWebAccount *")] IWebAccount* webAccount, [NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope")] WebAccountScope scope, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t *, ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation**, int> AddWebAccountWithScopeAsync; + public delegate* unmanaged[MemberFunction]*, WebAccountScope, IAsyncOperation>**, int> AddWebAccountWithScopeAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::IWebAccount *, ABI::Windows::Security::Authentication::Web::Provider::WebAccountScope, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetScopeAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest.cs index fbd1521d83..5813aedc1b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest.cs @@ -82,9 +82,9 @@ public HRESULT get_ClientRequest([NativeTypeName("ABI::Windows::Security::Authen /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_WebAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView** value) + public HRESULT get_WebAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebProviderTokenRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebProviderTokenRequest*)Unsafe.AsPointer(ref this), value); } /// @@ -106,9 +106,9 @@ public HRESULT get_ApplicationCallbackUri([NativeTypeName("ABI::Windows::Foundat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetApplicationTokenBindingKeyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetApplicationTokenBindingKeyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IWebProviderTokenRequest*)Unsafe.AsPointer(ref this), keyType, target, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IWebProviderTokenRequest*)Unsafe.AsPointer(ref this), keyType, target, asyncInfo); } public interface Interface : IInspectable.Interface @@ -117,7 +117,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ClientRequest([NativeTypeName("ABI::Windows::Security::Authentication::Web::Core::IWebTokenRequest **")] IWebTokenRequest** value); [VtblIndex(7)] - HRESULT get_WebAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView** value); + HRESULT get_WebAccounts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_WebAccountSelectionOptions([NativeTypeName("ABI::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions *")] WebAccountSelectionOptions* value); @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ApplicationCallbackUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass **")] IUriRuntimeClass** value); [VtblIndex(10)] - HRESULT GetApplicationTokenBindingKeyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation** asyncInfo); + HRESULT GetApplicationTokenBindingKeyAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -154,7 +154,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ClientRequest; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CWebAccount_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_WebAccounts; + public delegate* unmanaged[MemberFunction]>**, int> get_WebAccounts; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_WebAccountSelectionOptions; @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ApplicationCallbackUri; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::TokenBindingKeyType, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetApplicationTokenBindingKeyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetApplicationTokenBindingKeyAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest2.cs index 1ef8ddbf64..359dbb4294 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web.provider/IWebProviderTokenRequest2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetApplicationTokenBindingKeyIdAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetApplicationTokenBindingKeyIdAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebProviderTokenRequest2*)Unsafe.AsPointer(ref this), keyType, target, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebProviderTokenRequest2*)Unsafe.AsPointer(ref this), keyType, target, asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetApplicationTokenBindingKeyIdAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** asyncInfo); + HRESULT GetApplicationTokenBindingKeyIdAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::TokenBindingKeyType")] TokenBindingKeyType keyType, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::TokenBindingKeyType, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetApplicationTokenBindingKeyIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetApplicationTokenBindingKeyIdAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics.cs index 8923cc7565..f0e8c56461 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT AuthenticateWithCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* callbackUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT AuthenticateWithCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* callbackUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWebAuthenticationBrokerStatics*)Unsafe.AsPointer(ref this), options, requestUri, callbackUri, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWebAuthenticationBrokerStatics*)Unsafe.AsPointer(ref this), options, requestUri, callbackUri, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT AuthenticateWithoutCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT AuthenticateWithoutCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWebAuthenticationBrokerStatics*)Unsafe.AsPointer(ref this), options, requestUri, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWebAuthenticationBrokerStatics*)Unsafe.AsPointer(ref this), options, requestUri, asyncInfo); } /// @@ -98,10 +98,10 @@ public HRESULT GetCurrentApplicationCallbackUri([NativeTypeName("ABI::Windows::F public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT AuthenticateWithCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* callbackUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo); + HRESULT AuthenticateWithCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* callbackUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(7)] - HRESULT AuthenticateWithoutCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo); + HRESULT AuthenticateWithoutCallbackUriAsync([NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(8)] HRESULT GetCurrentApplicationCallbackUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass **")] IUriRuntimeClass** callbackUri); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AuthenticateWithCallbackUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> AuthenticateWithCallbackUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AuthenticateWithoutCallbackUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> AuthenticateWithoutCallbackUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetCurrentApplicationCallbackUri; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics2.cs index 3b216c36ed..decdda43b4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.authentication.web/IWebAuthenticationBrokerStatics2.cs @@ -98,17 +98,17 @@ public HRESULT AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue( /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT AuthenticateSilentlyAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT AuthenticateSilentlyAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IWebAuthenticationBrokerStatics2*)Unsafe.AsPointer(ref this), requestUri, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IWebAuthenticationBrokerStatics2*)Unsafe.AsPointer(ref this), requestUri, asyncInfo); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT AuthenticateSilentlyWithOptionsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo) + public HRESULT AuthenticateSilentlyWithOptionsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IWebAuthenticationBrokerStatics2*)Unsafe.AsPointer(ref this), requestUri, options, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IWebAuthenticationBrokerStatics2*)Unsafe.AsPointer(ref this), requestUri, options, asyncInfo); } public interface Interface : IInspectable.Interface @@ -123,10 +123,10 @@ public interface Interface : IInspectable.Interface HRESULT AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* callbackUri, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* continuationData, [NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options); [VtblIndex(9)] - HRESULT AuthenticateSilentlyAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo); + HRESULT AuthenticateSilentlyAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(10)] - HRESULT AuthenticateSilentlyWithOptionsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation** asyncInfo); + HRESULT AuthenticateSilentlyWithOptionsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* requestUri, [NativeTypeName("ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions")] WebAuthenticationOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -160,9 +160,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AuthenticateSilentlyAsync; + public delegate* unmanaged[MemberFunction]>**, int> AuthenticateSilentlyAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Security::Authentication::Web::WebAuthenticationOptions, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CAuthentication__CWeb__CWebAuthenticationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> AuthenticateSilentlyWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> AuthenticateSilentlyWithOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredential.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredential.cs index 88b9913bc2..cee3d49849 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredential.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredential.cs @@ -98,17 +98,17 @@ public HRESULT RetrievePublicKeyWithBlobType([NativeTypeName("ABI::Windows::Secu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestSignAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialOperationResult_t **")] IAsyncOperation** value) + public HRESULT RequestSignAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialOperationResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IKeyCredential*)Unsafe.AsPointer(ref this), data, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IKeyCredential*)Unsafe.AsPointer(ref this), data, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetAttestationAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialAttestationResult_t **")] IAsyncOperation** value) + public HRESULT GetAttestationAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialAttestationResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IKeyCredential*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IKeyCredential*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -123,10 +123,10 @@ public interface Interface : IInspectable.Interface HRESULT RetrievePublicKeyWithBlobType([NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType")] CryptographicPublicKeyBlobType blobType, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer **")] IBuffer** value); [VtblIndex(9)] - HRESULT RequestSignAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialOperationResult_t **")] IAsyncOperation** value); + HRESULT RequestSignAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialOperationResult_t **")] IAsyncOperation>** value); [VtblIndex(10)] - HRESULT GetAttestationAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialAttestationResult_t **")] IAsyncOperation** value); + HRESULT GetAttestationAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialAttestationResult_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -160,9 +160,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RetrievePublicKeyWithBlobType; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialOperationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestSignAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestSignAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialAttestationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAttestationAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetAttestationAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredentialManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredentialManagerStatics.cs index e9d12ad1c3..052f7f20d6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredentialManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IKeyCredentialManagerStatics.cs @@ -90,17 +90,17 @@ public HRESULT RenewAttestationAsync([NativeTypeName("ABI::Windows::Foundation:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT RequestCreateAsync(HSTRING name, [NativeTypeName("ABI::Windows::Security::Credentials::KeyCredentialCreationOption")] KeyCredentialCreationOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation** value) + public HRESULT RequestCreateAsync(HSTRING name, [NativeTypeName("ABI::Windows::Security::Credentials::KeyCredentialCreationOption")] KeyCredentialCreationOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IKeyCredentialManagerStatics*)Unsafe.AsPointer(ref this), name, option, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IKeyCredentialManagerStatics*)Unsafe.AsPointer(ref this), name, option, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT OpenAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation** value) + public HRESULT OpenAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IKeyCredentialManagerStatics*)Unsafe.AsPointer(ref this), name, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IKeyCredentialManagerStatics*)Unsafe.AsPointer(ref this), name, value); } /// @@ -120,10 +120,10 @@ public interface Interface : IInspectable.Interface HRESULT RenewAttestationAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(8)] - HRESULT RequestCreateAsync(HSTRING name, [NativeTypeName("ABI::Windows::Security::Credentials::KeyCredentialCreationOption")] KeyCredentialCreationOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation** value); + HRESULT RequestCreateAsync(HSTRING name, [NativeTypeName("ABI::Windows::Security::Credentials::KeyCredentialCreationOption")] KeyCredentialCreationOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation>** value); [VtblIndex(9)] - HRESULT OpenAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation** value); + HRESULT OpenAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **")] IAsyncOperation>** value); [VtblIndex(10)] HRESULT DeleteAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -157,10 +157,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RenewAttestationAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Security::Credentials::KeyCredentialCreationOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestCreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestCreateAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCredentials__CKeyCredentialRetrievalResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] DeleteAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IPasswordVault.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IPasswordVault.cs index 39f747f293..04453d0d78 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IPasswordVault.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IPasswordVault.cs @@ -98,25 +98,25 @@ public HRESULT Retrieve(HSTRING resource, HSTRING userName, [NativeTypeName("ABI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT FindAllByResource(HSTRING resource, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials) + public HRESULT FindAllByResource(HSTRING resource, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPasswordVault*)Unsafe.AsPointer(ref this), resource, credentials); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IPasswordVault*)Unsafe.AsPointer(ref this), resource, credentials); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT FindAllByUserName(HSTRING userName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials) + public HRESULT FindAllByUserName(HSTRING userName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IPasswordVault*)Unsafe.AsPointer(ref this), userName, credentials); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IPasswordVault*)Unsafe.AsPointer(ref this), userName, credentials); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT RetrieveAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials) + public HRESULT RetrieveAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IPasswordVault*)Unsafe.AsPointer(ref this), credentials); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IPasswordVault*)Unsafe.AsPointer(ref this), credentials); } public interface Interface : IInspectable.Interface @@ -131,13 +131,13 @@ public interface Interface : IInspectable.Interface HRESULT Retrieve(HSTRING resource, HSTRING userName, [NativeTypeName("ABI::Windows::Security::Credentials::IPasswordCredential **")] IPasswordCredential** credential); [VtblIndex(9)] - HRESULT FindAllByResource(HSTRING resource, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials); + HRESULT FindAllByResource(HSTRING resource, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials); [VtblIndex(10)] - HRESULT FindAllByUserName(HSTRING userName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials); + HRESULT FindAllByUserName(HSTRING userName, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials); [VtblIndex(11)] - HRESULT RetrieveAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView** credentials); + HRESULT RetrieveAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **")] IVectorView>** credentials); } public partial struct Vtbl @@ -171,12 +171,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Retrieve; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllByResource; + public delegate* unmanaged[MemberFunction]>**, int> FindAllByResource; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllByUserName; + public delegate* unmanaged[MemberFunction]>**, int> FindAllByUserName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCredentials__CPasswordCredential_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RetrieveAll; + public delegate* unmanaged[MemberFunction]>**, int> RetrieveAll; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IWebAccount2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IWebAccount2.cs index 560327f380..e28f53f533 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IWebAccount2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.credentials/IWebAccount2.cs @@ -90,9 +90,9 @@ public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::Security::Credentials::WebAccountPictureSize")] WebAccountPictureSize desizedSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo) + public HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::Security::Credentials::WebAccountPictureSize")] WebAccountPictureSize desizedSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWebAccount2*)Unsafe.AsPointer(ref this), desizedSize, asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWebAccount2*)Unsafe.AsPointer(ref this), desizedSize, asyncInfo); } /// @@ -120,7 +120,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_HSTRING_t **")] IMapView** value); [VtblIndex(8)] - HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::Security::Credentials::WebAccountPictureSize")] WebAccountPictureSize desizedSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** asyncInfo); + HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::Security::Credentials::WebAccountPictureSize")] WebAccountPictureSize desizedSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** asyncInfo); [VtblIndex(9)] HRESULT SignOutAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncInfo); @@ -157,7 +157,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Security::Credentials::WebAccountPictureSize, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPictureAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPictureAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SignOutAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificate.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificate.cs index 6aa4cd486b..c851754212 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificate.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificate.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT BuildChainAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation** value) + public HRESULT BuildChainAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((ICertificate*)Unsafe.AsPointer(ref this), certificates, value); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int>)(lpVtbl[6]))((ICertificate*)Unsafe.AsPointer(ref this), certificates, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT BuildChainWithParametersAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::IChainBuildingParameters *")] IChainBuildingParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation** value) + public HRESULT BuildChainWithParametersAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::IChainBuildingParameters *")] IChainBuildingParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]*, IChainBuildingParameters*, IAsyncOperation**, int>)(lpVtbl[7]))((ICertificate*)Unsafe.AsPointer(ref this), certificates, parameters, value); + return ((delegate* unmanaged[MemberFunction]>*, IChainBuildingParameters*, IAsyncOperation>**, int>)(lpVtbl[7]))((ICertificate*)Unsafe.AsPointer(ref this), certificates, parameters, value); } /// @@ -194,10 +194,10 @@ public HRESULT get_FriendlyName(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT BuildChainAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation** value); + HRESULT BuildChainAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation>** value); [VtblIndex(7)] - HRESULT BuildChainWithParametersAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::IChainBuildingParameters *")] IChainBuildingParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation** value); + HRESULT BuildChainWithParametersAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::IChainBuildingParameters *")] IChainBuildingParameters* parameters, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **")] IAsyncOperation>** value); [VtblIndex(8)] HRESULT get_SerialNumber([NativeTypeName("UINT32 *")] uint* valueLength, byte** value); @@ -261,10 +261,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> BuildChainAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation>**, int> BuildChainAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *, ABI::Windows::Security::Cryptography::Certificates::IChainBuildingParameters *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateChain_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IChainBuildingParameters*, IAsyncOperation**, int> BuildChainWithParametersAsync; + public delegate* unmanaged[MemberFunction]>*, IChainBuildingParameters*, IAsyncOperation>**, int> BuildChainWithParametersAsync; [NativeTypeName("HRESULT (UINT32 *, BYTE **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SerialNumber; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateChain.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateChain.cs index 21def26493..e6c3d89984 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateChain.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateChain.cs @@ -90,9 +90,9 @@ public HRESULT ValidateWithParameters([NativeTypeName("ABI::Windows::Security::C /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetCertificates([NativeTypeName("boolean")] byte includeRoot, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** certificates) + public HRESULT GetCertificates([NativeTypeName("boolean")] byte includeRoot, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** certificates) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICertificateChain*)Unsafe.AsPointer(ref this), includeRoot, certificates); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICertificateChain*)Unsafe.AsPointer(ref this), includeRoot, certificates); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT ValidateWithParameters([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::IChainValidationParameters *")] IChainValidationParameters* parameter, [NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ChainValidationResult *")] ChainValidationResult* status); [VtblIndex(8)] - HRESULT GetCertificates([NativeTypeName("boolean")] byte includeRoot, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** certificates); + HRESULT GetCertificates([NativeTypeName("boolean")] byte includeRoot, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** certificates); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ValidateWithParameters; [NativeTypeName("HRESULT (boolean, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCertificates; + public delegate* unmanaged[MemberFunction]>**, int> GetCertificates; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateRequestProperties4.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateRequestProperties4.cs index 0ecebfce25..52f410f5ce 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateRequestProperties4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateRequestProperties4.cs @@ -90,9 +90,9 @@ public HRESULT get_SubjectAlternativeName([NativeTypeName("ABI::Windows::Securit /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Extensions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateExtension_t **")] IVector** value) + public HRESULT get_Extensions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateExtension_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICertificateRequestProperties4*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICertificateRequestProperties4*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SubjectAlternativeName([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo **")] ISubjectAlternativeNameInfo** value); [VtblIndex(8)] - HRESULT get_Extensions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateExtension_t **")] IVector** value); + HRESULT get_Extensions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateExtension_t **")] IVector>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SubjectAlternativeName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificateExtension_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Extensions; + public delegate* unmanaged[MemberFunction]>**, int> get_Extensions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateStoresStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateStoresStatics.cs index aa18618f5d..1bc544a0b3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateStoresStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICertificateStoresStatics.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation** value) + public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICertificateStoresStatics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((ICertificateStoresStatics*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllWithQueryAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificateQuery *")] ICertificateQuery* query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation** value) + public HRESULT FindAllWithQueryAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificateQuery *")] ICertificateQuery* query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation>>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICertificateStoresStatics*)Unsafe.AsPointer(ref this), query, value); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((ICertificateStoresStatics*)Unsafe.AsPointer(ref this), query, value); } /// @@ -114,10 +114,10 @@ public HRESULT GetStoreByName(HSTRING storeName, [NativeTypeName("ABI::Windows:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation** value); + HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation>>>** value); [VtblIndex(7)] - HRESULT FindAllWithQueryAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificateQuery *")] ICertificateQuery* query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation** value); + HRESULT FindAllWithQueryAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificateQuery *")] ICertificateQuery* query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IAsyncOperation>>>** value); [VtblIndex(8)] HRESULT get_TrustedRootCertificationAuthorities([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificateStore **")] ICertificateStore** value); @@ -151,10 +151,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Certificates::ICertificateQuery *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllWithQueryAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllWithQueryAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Certificates::ICertificateStore **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_TrustedRootCertificationAuthorities; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/IChainBuildingParameters.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/IChainBuildingParameters.cs index 8c4f1f5527..c9325599e3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/IChainBuildingParameters.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/IChainBuildingParameters.cs @@ -162,9 +162,9 @@ public HRESULT put_CurrentTimeValidationEnabled([NativeTypeName("boolean")] byte /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT get_ExclusiveTrustRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVector** certificates) + public HRESULT get_ExclusiveTrustRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVector>** certificates) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), certificates); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[17]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), certificates); } public interface Interface : IInspectable.Interface @@ -203,7 +203,7 @@ public interface Interface : IInspectable.Interface HRESULT put_CurrentTimeValidationEnabled([NativeTypeName("boolean")] byte value); [VtblIndex(17)] - HRESULT get_ExclusiveTrustRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVector** certificates); + HRESULT get_ExclusiveTrustRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVector>** certificates); } public partial struct Vtbl @@ -261,6 +261,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_CurrentTimeValidationEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ExclusiveTrustRoots; + public delegate* unmanaged[MemberFunction]>**, int> get_ExclusiveTrustRoots; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignature.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignature.cs index c4b1498460..50de42e558 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignature.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignature.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICmsAttachedSignature*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICmsAttachedSignature*)Unsafe.AsPointer(ref this), value); } /// @@ -90,9 +90,9 @@ public HRESULT get_Content([NativeTypeName("UINT32 *")] uint* valueLength, byte* /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView** value) + public HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICmsAttachedSignature*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICmsAttachedSignature*)Unsafe.AsPointer(ref this), value); } /// @@ -106,13 +106,13 @@ public HRESULT VerifySignature([NativeTypeName("ABI::Windows::Security::Cryptogr public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Content([NativeTypeName("UINT32 *")] uint* valueLength, byte** value); [VtblIndex(8)] - HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView** value); + HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView>** value); [VtblIndex(9)] HRESULT VerifySignature([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::SignatureValidationResult *")] SignatureValidationResult* value); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Certificates; + public delegate* unmanaged[MemberFunction]>**, int> get_Certificates; [NativeTypeName("HRESULT (UINT32 *, BYTE **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Content; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Signers; + public delegate* unmanaged[MemberFunction]>**, int> get_Signers; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Certificates::SignatureValidationResult *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] VerifySignature; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignatureStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignatureStatics.cs index cd99cbdd62..4a2211cc34 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignatureStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsAttachedSignatureStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** outputBlob) + public HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable>* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** outputBlob) { - return ((delegate* unmanaged[MemberFunction]*, IIterable*, IAsyncOperation**, int>)(lpVtbl[6]))((ICmsAttachedSignatureStatics*)Unsafe.AsPointer(ref this), data, signers, certificates, outputBlob); + return ((delegate* unmanaged[MemberFunction]>*, IIterable>*, IAsyncOperation>**, int>)(lpVtbl[6]))((ICmsAttachedSignatureStatics*)Unsafe.AsPointer(ref this), data, signers, certificates, outputBlob); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** outputBlob); + HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable>* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** outputBlob); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIterable*, IAsyncOperation**, int> GenerateSignatureAsync; + public delegate* unmanaged[MemberFunction]>*, IIterable>*, IAsyncOperation>**, int> GenerateSignatureAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignature.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignature.cs index bf582a3144..5d06b43c7d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignature.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignature.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICmsDetachedSignature*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICmsDetachedSignature*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView** value) + public HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICmsDetachedSignature*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICmsDetachedSignature*)Unsafe.AsPointer(ref this), value); } /// @@ -98,10 +98,10 @@ public HRESULT VerifySignatureAsync([NativeTypeName("ABI::Windows::Storage::Stre public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); [VtblIndex(7)] - HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView** value); + HRESULT get_Signers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT VerifySignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CSignatureValidationResult_t **")] IAsyncOperation** value); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Certificates; + public delegate* unmanaged[MemberFunction]>**, int> get_Certificates; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Signers; + public delegate* unmanaged[MemberFunction]>**, int> get_Signers; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCertificates__CSignatureValidationResult_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> VerifySignatureAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignatureStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignatureStatics.cs index 6ae5389902..f9f4634e60 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignatureStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsDetachedSignatureStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** outputBlob) + public HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable>* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** outputBlob) { - return ((delegate* unmanaged[MemberFunction]*, IIterable*, IAsyncOperation**, int>)(lpVtbl[6]))((ICmsDetachedSignatureStatics*)Unsafe.AsPointer(ref this), data, signers, certificates, outputBlob); + return ((delegate* unmanaged[MemberFunction]>*, IIterable>*, IAsyncOperation>**, int>)(lpVtbl[6]))((ICmsDetachedSignatureStatics*)Unsafe.AsPointer(ref this), data, signers, certificates, outputBlob); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** outputBlob); + HRESULT GenerateSignatureAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* data, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *")] IIterable>* signers, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *")] IIterable>* certificates, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** outputBlob); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCmsSignerInfo_t *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IIterable*, IAsyncOperation**, int> GenerateSignatureAsync; + public delegate* unmanaged[MemberFunction]>*, IIterable>*, IAsyncOperation>**, int> GenerateSignatureAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsTimestampInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsTimestampInfo.cs index c88dbddb7d..54228ec8d7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsTimestampInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.certificates/ICmsTimestampInfo.cs @@ -82,9 +82,9 @@ public HRESULT get_SigningCertificate([NativeTypeName("ABI::Windows::Security::C /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICmsTimestampInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICmsTimestampInfo*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_SigningCertificate([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate **")] ICertificate** value); [VtblIndex(7)] - HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_SigningCertificate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Certificates; + public delegate* unmanaged[MemberFunction]>**, int> get_Certificates; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Timestamp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/ICryptographicEngineStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/ICryptographicEngineStatics2.cs index ffab961125..d1d917cf16 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/ICryptographicEngineStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/ICryptographicEngineStatics2.cs @@ -90,25 +90,25 @@ public HRESULT VerifySignatureWithHashInput([NativeTypeName("ABI::Windows::Secur /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT DecryptAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* iv, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value) + public HRESULT DecryptAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* iv, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, iv, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, iv, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT SignAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value) + public HRESULT SignAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT SignHashedDataAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value) + public HRESULT SignHashedDataAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((ICryptographicEngineStatics2*)Unsafe.AsPointer(ref this), key, data, value); } public interface Interface : IInspectable.Interface @@ -120,13 +120,13 @@ public interface Interface : IInspectable.Interface HRESULT VerifySignatureWithHashInput([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* signature, [NativeTypeName("boolean *")] byte* isAuthenticated); [VtblIndex(8)] - HRESULT DecryptAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* iv, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value); + HRESULT DecryptAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* iv, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value); [VtblIndex(9)] - HRESULT SignAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value); + HRESULT SignAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value); [VtblIndex(10)] - HRESULT SignHashedDataAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** value); + HRESULT SignHashedDataAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey *")] ICryptographicKey* key, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** value); } public partial struct Vtbl @@ -157,12 +157,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] VerifySignatureWithHashInput; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Core::ICryptographicKey *, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> DecryptAsync; + public delegate* unmanaged[MemberFunction]>**, int> DecryptAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Core::ICryptographicKey *, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SignAsync; + public delegate* unmanaged[MemberFunction]>**, int> SignAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Core::ICryptographicKey *, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SignHashedDataAsync; + public delegate* unmanaged[MemberFunction]>**, int> SignHashedDataAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/IPersistedKeyProviderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/IPersistedKeyProviderStatics.cs index e5812171f9..8e92902b10 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/IPersistedKeyProviderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.cryptography.core/IPersistedKeyProviderStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OpenKeyPairFromCertificateAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate *")] ICertificate* certificate, HSTRING hashAlgorithmName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPadding")] CryptographicPadding padding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation** operation) + public HRESULT OpenKeyPairFromCertificateAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate *")] ICertificate* certificate, HSTRING hashAlgorithmName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPadding")] CryptographicPadding padding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPersistedKeyProviderStatics*)Unsafe.AsPointer(ref this), certificate, hashAlgorithmName, padding, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPersistedKeyProviderStatics*)Unsafe.AsPointer(ref this), certificate, hashAlgorithmName, padding, operation); } /// @@ -90,7 +90,7 @@ public HRESULT OpenPublicKeyFromCertificate([NativeTypeName("ABI::Windows::Secur public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT OpenKeyPairFromCertificateAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate *")] ICertificate* certificate, HSTRING hashAlgorithmName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPadding")] CryptographicPadding padding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation** operation); + HRESULT OpenKeyPairFromCertificateAsync([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate *")] ICertificate* certificate, HSTRING hashAlgorithmName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPadding")] CryptographicPadding padding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT OpenPublicKeyFromCertificate([NativeTypeName("ABI::Windows::Security::Cryptography::Certificates::ICertificate *")] ICertificate* certificate, HSTRING hashAlgorithmName, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::CryptographicPadding")] CryptographicPadding padding, [NativeTypeName("ABI::Windows::Security::Cryptography::Core::ICryptographicKey **")] ICryptographicKey** key); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Certificates::ICertificate *, HSTRING, ABI::Windows::Security::Cryptography::Core::CryptographicPadding, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CCryptography__CCore__CCryptographicKey_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenKeyPairFromCertificateAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenKeyPairFromCertificateAsync; [NativeTypeName("HRESULT (ABI::Windows::Security::Cryptography::Certificates::ICertificate *, HSTRING, ABI::Windows::Security::Cryptography::Core::CryptographicPadding, ABI::Windows::Security::Cryptography::Core::ICryptographicKey **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] OpenPublicKeyFromCertificate; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IDataProtectionManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IDataProtectionManagerStatics.cs index 727d3085c9..a84f2b0c52 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IDataProtectionManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IDataProtectionManagerStatics.cs @@ -74,70 +74,70 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation** result) + public HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), data, identity, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), data, identity, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation** result) + public HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), data, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), data, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ProtectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* unprotectedStream, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT ProtectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* unprotectedStream, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), unprotectedStream, identity, protectedStream, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), unprotectedStream, identity, protectedStream, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT UnprotectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* unprotectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT UnprotectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* unprotectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedStream, unprotectedStream, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedStream, unprotectedStream, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* protectedData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* protectedData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedData, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedData, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetStreamProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT GetStreamProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedStream, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IDataProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedStream, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation** result); + HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation** result); + HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* data, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT ProtectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* unprotectedStream, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result); + HRESULT ProtectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* unprotectedStream, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT UnprotectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* unprotectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result); + HRESULT UnprotectStreamAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Storage::Streams::IOutputStream *")] IOutputStream* unprotectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* protectedData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result); + HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* protectedData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(11)] - HRESULT GetStreamProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation** result); + HRESULT GetStreamProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::Streams::IInputStream *")] IInputStream* protectedStream, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -162,21 +162,21 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ProtectAsync; + public delegate* unmanaged[MemberFunction]>**, int> ProtectAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CBufferProtectUnprotectResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UnprotectAsync; + public delegate* unmanaged[MemberFunction]>**, int> UnprotectAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, HSTRING, ABI::Windows::Storage::Streams::IOutputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ProtectStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> ProtectStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Storage::Streams::IOutputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UnprotectStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> UnprotectStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetProtectionInfoAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetProtectionInfoAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IInputStream *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CDataProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetStreamProtectionInfoAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetStreamProtectionInfoAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics.cs index 53bef7210e..2d5b1f92b0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), target, identity, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), target, identity, result); } /// @@ -90,65 +90,65 @@ public HRESULT CopyProtectionAsync([NativeTypeName("ABI::Windows::Storage::IStor /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* source, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* source, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), source, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), source, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT SaveFileAsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation** result) + public HRESULT SaveFileAsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedFile, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), protectedFile, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT LoadFileFromContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result) + public HRESULT LoadFileFromContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), containerFile, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), containerFile, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT LoadFileFromContainerWithTargetAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result) + public HRESULT LoadFileFromContainerWithTargetAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), containerFile, target, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), containerFile, target, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CreateProtectedAndOpenAsync([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* parentFolder, HSTRING desiredName, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedFileCreateResult_t **")] IAsyncOperation** result) + public HRESULT CreateProtectedAndOpenAsync([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* parentFolder, HSTRING desiredName, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedFileCreateResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), parentFolder, desiredName, identity, collisionOption, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IFileProtectionManagerStatics*)Unsafe.AsPointer(ref this), parentFolder, desiredName, identity, collisionOption, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result); + HRESULT ProtectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(7)] HRESULT CopyProtectionAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* source, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(8)] - HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* source, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result); + HRESULT GetProtectionInfoAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* source, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(9)] - HRESULT SaveFileAsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation** result); + HRESULT SaveFileAsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation>** result); [VtblIndex(10)] - HRESULT LoadFileFromContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result); + HRESULT LoadFileFromContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result); [VtblIndex(11)] - HRESULT LoadFileFromContainerWithTargetAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result); + HRESULT LoadFileFromContainerWithTargetAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result); [VtblIndex(12)] - HRESULT CreateProtectedAndOpenAsync([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* parentFolder, HSTRING desiredName, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedFileCreateResult_t **")] IAsyncOperation** result); + HRESULT CreateProtectedAndOpenAsync([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* parentFolder, HSTRING desiredName, HSTRING identity, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedFileCreateResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -173,24 +173,24 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ProtectAsync; + public delegate* unmanaged[MemberFunction]>**, int> ProtectAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, ABI::Windows::Storage::IStorageItem *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> CopyProtectionAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetProtectionInfoAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetProtectionInfoAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SaveFileAsContainerAsync; + public delegate* unmanaged[MemberFunction]>**, int> SaveFileAsContainerAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFileFromContainerAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFileFromContainerAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::IStorageItem *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFileFromContainerWithTargetAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFileFromContainerWithTargetAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder *, HSTRING, HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedFileCreateResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateProtectedAndOpenAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateProtectedAndOpenAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics2.cs index a847313768..6285997e2e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics2.cs @@ -82,17 +82,17 @@ public HRESULT IsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorage /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT LoadFileFromContainerWithTargetAndNameCollisionOptionAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result) + public HRESULT LoadFileFromContainerWithTargetAndNameCollisionOptionAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFileProtectionManagerStatics2*)Unsafe.AsPointer(ref this), containerFile, target, collisionOption, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IFileProtectionManagerStatics2*)Unsafe.AsPointer(ref this), containerFile, target, collisionOption, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT SaveFileAsContainerWithSharingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* sharedWithIdentities, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation** result) + public HRESULT SaveFileAsContainerWithSharingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* sharedWithIdentities, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[8]))((IFileProtectionManagerStatics2*)Unsafe.AsPointer(ref this), protectedFile, sharedWithIdentities, result); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[8]))((IFileProtectionManagerStatics2*)Unsafe.AsPointer(ref this), protectedFile, sharedWithIdentities, result); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT IsContainerAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(7)] - HRESULT LoadFileFromContainerWithTargetAndNameCollisionOptionAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation** result); + HRESULT LoadFileFromContainerWithTargetAndNameCollisionOptionAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* containerFile, [NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption collisionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **")] IAsyncOperation>** result); [VtblIndex(8)] - HRESULT SaveFileAsContainerWithSharingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* sharedWithIdentities, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation** result); + HRESULT SaveFileAsContainerWithSharingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* protectedFile, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* sharedWithIdentities, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> IsContainerAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::IStorageItem *, ABI::Windows::Storage::NameCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerImportResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LoadFileFromContainerWithTargetAndNameCollisionOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> LoadFileFromContainerWithTargetAndNameCollisionOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectedContainerExportResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> SaveFileAsContainerWithSharingAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> SaveFileAsContainerWithSharingAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics3.cs index ddf5d3f380..5a56aaab35 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IFileProtectionManagerStatics3.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileProtectionManagerStatics3*)Unsafe.AsPointer(ref this), target, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileProtectionManagerStatics3*)Unsafe.AsPointer(ref this), target, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT UnprotectWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IFileUnprotectOptions *")] IFileUnprotectOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result) + public HRESULT UnprotectWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IFileUnprotectOptions *")] IFileUnprotectOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFileProtectionManagerStatics3*)Unsafe.AsPointer(ref this), target, options, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IFileProtectionManagerStatics3*)Unsafe.AsPointer(ref this), target, options, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result); + HRESULT UnprotectAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result); [VtblIndex(7)] - HRESULT UnprotectWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IFileUnprotectOptions *")] IFileUnprotectOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation** result); + HRESULT UnprotectWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IFileUnprotectOptions *")] IFileUnprotectOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **")] IAsyncOperation>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UnprotectAsync; + public delegate* unmanaged[MemberFunction]>**, int> UnprotectAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, ABI::Windows::Security::EnterpriseData::IFileUnprotectOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CFileProtectionInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UnprotectWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> UnprotectWithOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics.cs index 9adaf06a51..680d11222f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics.cs @@ -130,9 +130,9 @@ public HRESULT GetForCurrentView([NativeTypeName("ABI::Windows::Security::Enterp /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_ProtectedAccessSuspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessSuspendingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ProtectedAccessSuspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessSuspendingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_ProtectedAccessSuspending(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_ProtectedAccessResumed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessResumedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ProtectedAccessResumed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessResumedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_ProtectedAccessResumed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_ProtectedContentRevoked([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedContentRevokedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ProtectedContentRevoked([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedContentRevokedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IProtectionPolicyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -215,19 +215,19 @@ public interface Interface : IInspectable.Interface HRESULT GetForCurrentView([NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyManager **")] IProtectionPolicyManager** result); [VtblIndex(13)] - HRESULT add_ProtectedAccessSuspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessSuspendingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ProtectedAccessSuspending([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessSuspendingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_ProtectedAccessSuspending(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_ProtectedAccessResumed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessResumedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ProtectedAccessResumed([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessResumedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_ProtectedAccessResumed(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_ProtectedContentRevoked([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedContentRevokedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ProtectedContentRevoked([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedContentRevokedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_ProtectedContentRevoked(EventRegistrationToken token); @@ -282,19 +282,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetForCurrentView; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessSuspendingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ProtectedAccessSuspending; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ProtectedAccessSuspending; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ProtectedAccessSuspending; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedAccessResumedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ProtectedAccessResumed; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ProtectedAccessResumed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ProtectedAccessResumed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSecurity__CEnterpriseData__CProtectedContentRevokedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ProtectedContentRevoked; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ProtectedContentRevoked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ProtectedContentRevoked; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs index fc2d81f6dc..1636b621ea 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs @@ -122,9 +122,9 @@ public HRESULT IsProtectionUnderLockRequired(HSTRING identity, [NativeTypeName(" /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_PolicyChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PolicyChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IProtectionPolicyManagerStatics2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IProtectionPolicyManagerStatics2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -164,7 +164,7 @@ public interface Interface : IInspectable.Interface HRESULT IsProtectionUnderLockRequired(HSTRING identity, [NativeTypeName("boolean *")] byte* value); [VtblIndex(12)] - HRESULT add_PolicyChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PolicyChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_PolicyChanged(EventRegistrationToken token); @@ -213,7 +213,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsProtectionUnderLockRequired; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PolicyChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PolicyChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PolicyChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics4.cs index 2d85fe4fb1..acffb929d0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics4.cs @@ -98,33 +98,33 @@ public HRESULT RequestAccessForAppWithBehaviorAsync(HSTRING sourceIdentity, HSTR /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestAccessToFilesForAppAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) + public HRESULT RequestAccessToFilesForAppAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, HSTRING, IProtectionPolicyAuditInfo*, IAsyncOperation**, int>)(lpVtbl[9]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, appPackageFamilyName, auditInfo, result); + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, IProtectionPolicyAuditInfo*, IAsyncOperation**, int>)(lpVtbl[9]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, appPackageFamilyName, auditInfo, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT RequestAccessToFilesForAppWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) + public HRESULT RequestAccessToFilesForAppWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, HSTRING, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int>)(lpVtbl[10]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, appPackageFamilyName, auditInfo, messageFromApp, behavior, result); + return ((delegate* unmanaged[MemberFunction]>*, HSTRING, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int>)(lpVtbl[10]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, appPackageFamilyName, auditInfo, messageFromApp, behavior, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT RequestAccessToFilesForProcessAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) + public HRESULT RequestAccessToFilesForProcessAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, uint, IProtectionPolicyAuditInfo*, IAsyncOperation**, int>)(lpVtbl[11]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, processId, auditInfo, result); + return ((delegate* unmanaged[MemberFunction]>*, uint, IProtectionPolicyAuditInfo*, IAsyncOperation**, int>)(lpVtbl[11]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, processId, auditInfo, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT RequestAccessToFilesForProcessWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) + public HRESULT RequestAccessToFilesForProcessWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]*, uint, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int>)(lpVtbl[12]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, processId, auditInfo, messageFromApp, behavior, result); + return ((delegate* unmanaged[MemberFunction]>*, uint, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int>)(lpVtbl[12]))((IProtectionPolicyManagerStatics4*)Unsafe.AsPointer(ref this), sourceItemList, processId, auditInfo, messageFromApp, behavior, result); } /// @@ -171,16 +171,16 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessForAppWithBehaviorAsync(HSTRING sourceIdentity, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); [VtblIndex(9)] - HRESULT RequestAccessToFilesForAppAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); + HRESULT RequestAccessToFilesForAppAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); [VtblIndex(10)] - HRESULT RequestAccessToFilesForAppWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); + HRESULT RequestAccessToFilesForAppWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); [VtblIndex(11)] - HRESULT RequestAccessToFilesForProcessAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); + HRESULT RequestAccessToFilesForProcessAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); [VtblIndex(12)] - HRESULT RequestAccessToFilesForProcessWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); + HRESULT RequestAccessToFilesForProcessWithMessageAndBehaviorAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *")] IIterable>* sourceItemList, [NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *")] IProtectionPolicyAuditInfo* auditInfo, HSTRING messageFromApp, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior")] ProtectionPolicyRequestAccessBehavior behavior, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **")] IAsyncOperation** result); [VtblIndex(13)] HRESULT IsFileProtectionRequiredAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* target, HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -226,16 +226,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessForAppWithBehaviorAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *, HSTRING, ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HSTRING, IProtectionPolicyAuditInfo*, IAsyncOperation**, int> RequestAccessToFilesForAppAsync; + public delegate* unmanaged[MemberFunction]>*, HSTRING, IProtectionPolicyAuditInfo*, IAsyncOperation**, int> RequestAccessToFilesForAppAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *, HSTRING, ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *, HSTRING, ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, HSTRING, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int> RequestAccessToFilesForAppWithMessageAndBehaviorAsync; + public delegate* unmanaged[MemberFunction]>*, HSTRING, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int> RequestAccessToFilesForAppWithMessageAndBehaviorAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *, UINT32, ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, uint, IProtectionPolicyAuditInfo*, IAsyncOperation**, int> RequestAccessToFilesForProcessAsync; + public delegate* unmanaged[MemberFunction]>*, uint, IProtectionPolicyAuditInfo*, IAsyncOperation**, int> RequestAccessToFilesForProcessAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CIStorageItem_t *, UINT32, ABI::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo *, HSTRING, ABI::Windows::Security::EnterpriseData::ProtectionPolicyRequestAccessBehavior, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSecurity__CEnterpriseData__CProtectionPolicyEvaluationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, uint, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int> RequestAccessToFilesForProcessWithMessageAndBehaviorAsync; + public delegate* unmanaged[MemberFunction]>*, uint, IProtectionPolicyAuditInfo*, HSTRING, ProtectionPolicyRequestAccessBehavior, IAsyncOperation**, int> RequestAccessToFilesForProcessWithMessageAndBehaviorAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> IsFileProtectionRequiredAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IGeotagHelperStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IGeotagHelperStatics.cs index b39afbb4e6..97793cbb9a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IGeotagHelperStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IGeotagHelperStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetGeotagAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeopoint_t **")] IAsyncOperation** operation) + public HRESULT GetGeotagAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeopoint_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IGeotagHelperStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IGeotagHelperStatics*)Unsafe.AsPointer(ref this), file, operation); } /// @@ -98,7 +98,7 @@ public HRESULT SetGeotagAsync([NativeTypeName("ABI::Windows::Storage::IStorageFi public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetGeotagAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeopoint_t **")] IAsyncOperation** operation); + HRESULT GetGeotagAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeopoint_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT SetGeotagFromGeolocatorAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Devices::Geolocation::IGeolocator *")] IGeolocator* geolocator, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CDevices__CGeolocation__CGeopoint_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetGeotagAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetGeotagAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Devices::Geolocation::IGeolocator *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetGeotagFromGeolocatorAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemContentProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemContentProperties.cs index a3aba395ae..ff2dc16fe2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemContentProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemContentProperties.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetMusicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CMusicProperties_t **")] IAsyncOperation** operation) + public HRESULT GetMusicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CMusicProperties_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetVideoPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CVideoProperties_t **")] IAsyncOperation** operation) + public HRESULT GetVideoPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CVideoProperties_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetImagePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CImageProperties_t **")] IAsyncOperation** operation) + public HRESULT GetImagePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CImageProperties_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetDocumentPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CDocumentProperties_t **")] IAsyncOperation** operation) + public HRESULT GetDocumentPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CDocumentProperties_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IStorageItemContentProperties*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetMusicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CMusicProperties_t **")] IAsyncOperation** operation); + HRESULT GetMusicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CMusicProperties_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetVideoPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CVideoProperties_t **")] IAsyncOperation** operation); + HRESULT GetVideoPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CVideoProperties_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT GetImagePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CImageProperties_t **")] IAsyncOperation** operation); + HRESULT GetImagePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CImageProperties_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT GetDocumentPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CDocumentProperties_t **")] IAsyncOperation** operation); + HRESULT GetDocumentPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CDocumentProperties_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CMusicProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetMusicPropertiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetMusicPropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CVideoProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetVideoPropertiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetVideoPropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CImageProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetImagePropertiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetImagePropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CDocumentProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDocumentPropertiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetDocumentPropertiesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemExtraProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemExtraProperties.cs index eb693a61f9..25066606f9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemExtraProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IStorageItemExtraProperties.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RetrievePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMap_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT RetrievePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMap_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[6]))((IStorageItemExtraProperties*)Unsafe.AsPointer(ref this), propertiesToRetrieve, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int>)(lpVtbl[6]))((IStorageItemExtraProperties*)Unsafe.AsPointer(ref this), propertiesToRetrieve, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT SavePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_IInspectable_t *")] IIterable* propertiesToSave, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) + public HRESULT SavePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_IInspectable_t *")] IIterable>>>* propertiesToSave, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[7]))((IStorageItemExtraProperties*)Unsafe.AsPointer(ref this), propertiesToSave, operation); + return ((delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int>)(lpVtbl[7]))((IStorageItemExtraProperties*)Unsafe.AsPointer(ref this), propertiesToSave, operation); } /// @@ -98,10 +98,10 @@ public HRESULT SavePropertiesAsyncOverloadDefault([NativeTypeName("ABI::Windows: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RetrievePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMap_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation); + HRESULT RetrievePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMap_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT SavePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_IInspectable_t *")] IIterable* propertiesToSave, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); + HRESULT SavePropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_IInspectable_t *")] IIterable>>>* propertiesToSave, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(8)] HRESULT SavePropertiesAsyncOverloadDefault([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIMap_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RetrievePropertiesAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int> RetrievePropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_IInspectable_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SavePropertiesAsync; + public delegate* unmanaged[MemberFunction]>>>*, IAsyncAction**, int> SavePropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SavePropertiesAsyncOverloadDefault; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileOpenPickerUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileOpenPickerUI.cs index 3f6ecbc84f..a98d4d2a82 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileOpenPickerUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileOpenPickerUI.cs @@ -147,9 +147,9 @@ public HRESULT put_Title(HSTRING value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] [Obsolete("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.")] - public HRESULT add_FileRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CFileRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FileRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CFileRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IFileOpenPickerUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IFileOpenPickerUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -164,9 +164,9 @@ public HRESULT remove_FileRemoved(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CPickerClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CPickerClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IFileOpenPickerUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IFileOpenPickerUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -208,14 +208,14 @@ public interface Interface : IInspectable.Interface [VtblIndex(15)] [Obsolete("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.")] - HRESULT add_FileRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CFileRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FileRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CFileRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] [Obsolete("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.")] HRESULT remove_FileRemoved(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CPickerClosingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CPickerClosingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_Closing(EventRegistrationToken token); @@ -271,14 +271,14 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CFileRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FileRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FileRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.")] public delegate* unmanaged[MemberFunction] remove_FileRemoved; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileOpenPickerUI_Windows__CStorage__CPickers__CProvider__CPickerClosingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closing; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileSavePickerUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileSavePickerUI.cs index b5225f302b..d7ca864da4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileSavePickerUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IFileSavePickerUI.cs @@ -122,9 +122,9 @@ public HRESULT TrySetFileName(HSTRING value, [NativeTypeName("ABI::Windows::Stor /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_FileNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FileNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IFileSavePickerUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IFileSavePickerUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_FileNameChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_TargetFileRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_Windows__CStorage__CPickers__CProvider__CTargetFileRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_TargetFileRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_Windows__CStorage__CPickers__CProvider__CTargetFileRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IFileSavePickerUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IFileSavePickerUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -172,13 +172,13 @@ public interface Interface : IInspectable.Interface HRESULT TrySetFileName(HSTRING value, [NativeTypeName("ABI::Windows::Storage::Pickers::Provider::SetFileNameResult *")] SetFileNameResult* result); [VtblIndex(12)] - HRESULT add_FileNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FileNameChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_FileNameChanged(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_TargetFileRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_Windows__CStorage__CPickers__CProvider__CTargetFileRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_TargetFileRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_Windows__CStorage__CPickers__CProvider__CTargetFileRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_TargetFileRequested(EventRegistrationToken token); @@ -224,13 +224,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] TrySetFileName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FileNameChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FileNameChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FileNameChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CPickers__CProvider__CFileSavePickerUI_Windows__CStorage__CPickers__CProvider__CTargetFileRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TargetFileRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TargetFileRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TargetFileRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPicker.cs index cc18c7601b..ed5303aeac 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPicker.cs @@ -146,17 +146,17 @@ public HRESULT get_FileTypeFilter([NativeTypeName("ABI::Windows::Foundation::Col /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT PickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT PickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IFileOpenPicker*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IFileOpenPicker*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT PickMultipleFilesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT PickMultipleFilesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IFileOpenPicker*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[16]))((IFileOpenPicker*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -189,10 +189,10 @@ public interface Interface : IInspectable.Interface HRESULT get_FileTypeFilter([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(15)] - HRESULT PickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT PickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(16)] - HRESULT PickMultipleFilesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT PickMultipleFilesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -244,9 +244,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_FileTypeFilter; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickMultipleFilesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> PickMultipleFilesAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerStatics.cs index b8804ac3dc..ef728811ac 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerStatics.cs @@ -75,16 +75,16 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("Instead, use PickSingleFileAsync")] - public HRESULT ResumePickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT ResumePickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileOpenPickerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileOpenPickerStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("Instead, use PickSingleFileAsync")] - HRESULT ResumePickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT ResumePickSingleFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -110,6 +110,6 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] [Obsolete("Instead, use PickSingleFileAsync")] - public delegate* unmanaged[MemberFunction]**, int> ResumePickSingleFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> ResumePickSingleFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerWithOperationId.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerWithOperationId.cs index ae1bb0a2aa..a4481ea356 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerWithOperationId.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileOpenPickerWithOperationId.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT PickSingleFileAsync(HSTRING pickerOperationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT PickSingleFileAsync(HSTRING pickerOperationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileOpenPickerWithOperationId*)Unsafe.AsPointer(ref this), pickerOperationId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileOpenPickerWithOperationId*)Unsafe.AsPointer(ref this), pickerOperationId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT PickSingleFileAsync(HSTRING pickerOperationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT PickSingleFileAsync(HSTRING pickerOperationId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileSavePicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileSavePicker.cs index 0f6c201dff..63cda8cf0a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileSavePicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFileSavePicker.cs @@ -122,9 +122,9 @@ public HRESULT put_CommitButtonText(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_FileTypeChoices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVector_1_HSTRING_t **")] IMap** value) + public HRESULT get_FileTypeChoices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVector_1_HSTRING_t **")] IMap>>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IFileSavePicker*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[12]))((IFileSavePicker*)Unsafe.AsPointer(ref this), value); } /// @@ -178,9 +178,9 @@ public HRESULT put_SuggestedFileName(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT PickSaveFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT PickSaveFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IFileSavePicker*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((IFileSavePicker*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -204,7 +204,7 @@ public interface Interface : IInspectable.Interface HRESULT put_CommitButtonText(HSTRING value); [VtblIndex(12)] - HRESULT get_FileTypeChoices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVector_1_HSTRING_t **")] IMap** value); + HRESULT get_FileTypeChoices([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVector_1_HSTRING_t **")] IMap>>** value); [VtblIndex(13)] HRESULT get_DefaultFileExtension(HSTRING* value); @@ -225,7 +225,7 @@ public interface Interface : IInspectable.Interface HRESULT put_SuggestedFileName(HSTRING value); [VtblIndex(19)] - HRESULT PickSaveFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT PickSaveFileAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -268,7 +268,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_CommitButtonText; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVector_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_FileTypeChoices; + public delegate* unmanaged[MemberFunction]>>**, int> get_FileTypeChoices; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultFileExtension; @@ -289,6 +289,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_SuggestedFileName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSaveFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSaveFileAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFolderPicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFolderPicker.cs index 829d53ba5a..b8fda1eca9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFolderPicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers/IFolderPicker.cs @@ -146,9 +146,9 @@ public HRESULT get_FileTypeFilter([NativeTypeName("ABI::Windows::Foundation::Col /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT PickSingleFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT PickSingleFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IFolderPicker*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IFolderPicker*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -181,7 +181,7 @@ public interface Interface : IInspectable.Interface HRESULT get_FileTypeFilter([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(15)] - HRESULT PickSingleFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT PickSingleFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -233,6 +233,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_FileTypeFilter; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleFolderAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/ICachedFileUpdaterUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/ICachedFileUpdaterUI.cs index 9f87271d50..22372d1723 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/ICachedFileUpdaterUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/ICachedFileUpdaterUI.cs @@ -98,9 +98,9 @@ public HRESULT get_UpdateTarget([NativeTypeName("ABI::Windows::Storage::Provider /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_FileUpdateRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_Windows__CStorage__CProvider__CFileUpdateRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_FileUpdateRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_Windows__CStorage__CProvider__CFileUpdateRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICachedFileUpdaterUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICachedFileUpdaterUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_FileUpdateRequested(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_UIRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UIRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICachedFileUpdaterUI*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICachedFileUpdaterUI*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -147,13 +147,13 @@ public interface Interface : IInspectable.Interface HRESULT get_UpdateTarget([NativeTypeName("ABI::Windows::Storage::Provider::CachedFileTarget *")] CachedFileTarget* value); [VtblIndex(9)] - HRESULT add_FileUpdateRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_Windows__CStorage__CProvider__CFileUpdateRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_FileUpdateRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_Windows__CStorage__CProvider__CFileUpdateRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_FileUpdateRequested(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_UIRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UIRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_UIRequested(EventRegistrationToken token); @@ -193,13 +193,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_UpdateTarget; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_Windows__CStorage__CProvider__CFileUpdateRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FileUpdateRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FileUpdateRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FileUpdateRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CCachedFileUpdaterUI_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UIRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_UIRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UIRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertiesStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertiesStatics.cs index bf3f45bb00..ed104582a8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertiesStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertiesStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SetAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* item, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t *")] IIterable* itemProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) + public HRESULT SetAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* item, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t *")] IIterable>* itemProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[6]))((IStorageProviderItemPropertiesStatics*)Unsafe.AsPointer(ref this), item, itemProperties, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[6]))((IStorageProviderItemPropertiesStatics*)Unsafe.AsPointer(ref this), item, itemProperties, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SetAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* item, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t *")] IIterable* itemProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); + HRESULT SetAsync([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* item, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t *")] IIterable>* itemProperties, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> SetAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertySource.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertySource.cs index 2d6aa43210..1443cef182 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertySource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderItemPropertySource.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetItemProperties(HSTRING itemPath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t **")] IIterable** result) + public HRESULT GetItemProperties(HSTRING itemPath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t **")] IIterable>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageProviderItemPropertySource*)Unsafe.AsPointer(ref this), itemPath, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageProviderItemPropertySource*)Unsafe.AsPointer(ref this), itemPath, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetItemProperties(HSTRING itemPath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t **")] IIterable** result); + HRESULT GetItemProperties(HSTRING itemPath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t **")] IIterable>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CStorage__CProvider__CStorageProviderItemProperty_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemProperties; + public delegate* unmanaged[MemberFunction]>**, int> GetItemProperties; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfo.cs index c0d2439f86..1a14dd2498 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfo.cs @@ -90,9 +90,9 @@ public HRESULT put_ProviderDisplayName(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_KnownFolderEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderKnownFolderEntry_t **")] IVector** value) + public HRESULT get_KnownFolderEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderKnownFolderEntry_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageProviderKnownFolderSyncInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageProviderKnownFolderSyncInfo*)Unsafe.AsPointer(ref this), value); } /// @@ -120,7 +120,7 @@ public interface Interface : IInspectable.Interface HRESULT put_ProviderDisplayName(HSTRING value); [VtblIndex(8)] - HRESULT get_KnownFolderEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderKnownFolderEntry_t **")] IVector** value); + HRESULT get_KnownFolderEntries([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderKnownFolderEntry_t **")] IVector>** value); [VtblIndex(9)] HRESULT get_SyncRequested([NativeTypeName("ABI::Windows::Storage::Provider::IStorageProviderKnownFolderSyncRequestedHandler **")] IStorageProviderKnownFolderSyncRequestedHandler** value); @@ -157,7 +157,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_ProviderDisplayName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderKnownFolderEntry_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_KnownFolderEntries; + public delegate* unmanaged[MemberFunction]>**, int> get_KnownFolderEntries; [NativeTypeName("HRESULT (ABI::Windows::Storage::Provider::IStorageProviderKnownFolderSyncRequestedHandler **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SyncRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfoSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfoSource.cs index 249176e834..c410c4510a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfoSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderKnownFolderSyncInfoSource.cs @@ -82,9 +82,9 @@ public HRESULT GetKnownFolderSyncInfo([NativeTypeName("ABI::Windows::Storage::Pr /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_KnownFolderSyncInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderKnownFolderSyncInfoSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_KnownFolderSyncInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderKnownFolderSyncInfoSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IStorageProviderKnownFolderSyncInfoSource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IStorageProviderKnownFolderSyncInfoSource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT GetKnownFolderSyncInfo([NativeTypeName("ABI::Windows::Storage::Provider::IStorageProviderKnownFolderSyncInfo **")] IStorageProviderKnownFolderSyncInfo** result); [VtblIndex(7)] - HRESULT add_KnownFolderSyncInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderKnownFolderSyncInfoSource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_KnownFolderSyncInfoChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderKnownFolderSyncInfoSource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_KnownFolderSyncInfoChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetKnownFolderSyncInfo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderKnownFolderSyncInfoSource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KnownFolderSyncInfoChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KnownFolderSyncInfoChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KnownFolderSyncInfoChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUI.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUI.cs index cb400464fc..11fed879e3 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUI.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUI.cs @@ -186,17 +186,17 @@ public HRESULT put_ProviderPrimaryCommand([NativeTypeName("ABI::Windows::Storage /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT get_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t **")] IVector** value) + public HRESULT get_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IStorageProviderStatusUI*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IStorageProviderStatusUI*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT put_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t *")] IVector* value) + public HRESULT put_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t *")] IVector>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[21]))((IStorageProviderStatusUI*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[21]))((IStorageProviderStatusUI*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -244,10 +244,10 @@ public interface Interface : IInspectable.Interface HRESULT put_ProviderPrimaryCommand([NativeTypeName("ABI::Windows::Storage::Provider::IStorageProviderUICommand *")] IStorageProviderUICommand* value); [VtblIndex(20)] - HRESULT get_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t **")] IVector** value); + HRESULT get_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t **")] IVector>** value); [VtblIndex(21)] - HRESULT put_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t *")] IVector* value); + HRESULT put_ProviderSecondaryCommands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t *")] IVector>* value); } public partial struct Vtbl @@ -314,9 +314,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_ProviderPrimaryCommand; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ProviderSecondaryCommands; + public delegate* unmanaged[MemberFunction]>**, int> get_ProviderSecondaryCommands; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CIStorageProviderUICommand_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> put_ProviderSecondaryCommands; + public delegate* unmanaged[MemberFunction]>*, int> put_ProviderSecondaryCommands; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUISource.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUISource.cs index 17f60e7aba..254dfe8612 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUISource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderStatusUISource.cs @@ -82,9 +82,9 @@ public HRESULT GetStatusUI([NativeTypeName("ABI::Windows::Storage::Provider::ISt /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_StatusUIChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderStatusUISource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_StatusUIChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderStatusUISource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IStorageProviderStatusUISource*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IStorageProviderStatusUISource*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT GetStatusUI([NativeTypeName("ABI::Windows::Storage::Provider::IStorageProviderStatusUI **")] IStorageProviderStatusUI** result); [VtblIndex(7)] - HRESULT add_StatusUIChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderStatusUISource_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_StatusUIChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderStatusUISource_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_StatusUIChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetStatusUI; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CProvider__CIStorageProviderStatusUISource_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_StatusUIChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_StatusUIChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_StatusUIChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo.cs index c2daddc341..7ed146c42f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo.cs @@ -298,9 +298,9 @@ public HRESULT put_AllowPinning([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public HRESULT get_StorageProviderItemPropertyDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderItemPropertyDefinition_t **")] IVector** value) + public HRESULT get_StorageProviderItemPropertyDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderItemPropertyDefinition_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[34]))((IStorageProviderSyncRootInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[34]))((IStorageProviderSyncRootInfo*)Unsafe.AsPointer(ref this), value); } /// @@ -406,7 +406,7 @@ public interface Interface : IInspectable.Interface HRESULT put_AllowPinning([NativeTypeName("boolean")] byte value); [VtblIndex(34)] - HRESULT get_StorageProviderItemPropertyDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderItemPropertyDefinition_t **")] IVector** value); + HRESULT get_StorageProviderItemPropertyDefinitions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderItemPropertyDefinition_t **")] IVector>** value); [VtblIndex(35)] HRESULT get_RecycleBinUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass **")] IUriRuntimeClass** value); @@ -521,7 +521,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_AllowPinning; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderItemPropertyDefinition_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_StorageProviderItemPropertyDefinitions; + public delegate* unmanaged[MemberFunction]>**, int> get_StorageProviderItemPropertyDefinitions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RecycleBinUri; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo3.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo3.cs index 7dfcfff4b4..2a74560acf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootInfo3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_FallbackFileTypeInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderFileTypeInfo_t **")] IVector** value) + public HRESULT get_FallbackFileTypeInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderFileTypeInfo_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageProviderSyncRootInfo3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageProviderSyncRootInfo3*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_FallbackFileTypeInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderFileTypeInfo_t **")] IVector** value); + HRESULT get_FallbackFileTypeInfo([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderFileTypeInfo_t **")] IVector>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CProvider__CStorageProviderFileTypeInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_FallbackFileTypeInfo; + public delegate* unmanaged[MemberFunction]>**, int> get_FallbackFileTypeInfo; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootManagerStatics.cs index 675e19e52b..7c5345a729 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.provider/IStorageProviderSyncRootManagerStatics.cs @@ -106,9 +106,9 @@ public HRESULT GetSyncRootInformationForId(HSTRING id, [NativeTypeName("ABI::Win /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetCurrentSyncRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CProvider__CStorageProviderSyncRootInfo_t **")] IVectorView** result) + public HRESULT GetCurrentSyncRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CProvider__CStorageProviderSyncRootInfo_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageProviderSyncRootManagerStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageProviderSyncRootManagerStatics*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT GetSyncRootInformationForId(HSTRING id, [NativeTypeName("ABI::Windows::Storage::Provider::IStorageProviderSyncRootInfo **")] IStorageProviderSyncRootInfo** result); [VtblIndex(10)] - HRESULT GetCurrentSyncRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CProvider__CStorageProviderSyncRootInfo_t **")] IVectorView** result); + HRESULT GetCurrentSyncRoots([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CProvider__CStorageProviderSyncRootInfo_t **")] IVectorView>** result); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetSyncRootInformationForId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CStorage__CProvider__CStorageProviderSyncRootInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCurrentSyncRoots; + public delegate* unmanaged[MemberFunction]>**, int> GetCurrentSyncRoots; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexer.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexer.cs index ac514aaa7f..be55ebc87f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexer.cs @@ -114,9 +114,9 @@ public HRESULT DeleteAllAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncA /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT RetrievePropertiesAsync(HSTRING contentId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT RetrievePropertiesAsync(HSTRING contentId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[11]))((IContentIndexer*)Unsafe.AsPointer(ref this), contentId, propertiesToRetrieve, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int>)(lpVtbl[11]))((IContentIndexer*)Unsafe.AsPointer(ref this), contentId, propertiesToRetrieve, operation); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT DeleteAllAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(11)] - HRESULT RetrievePropertiesAsync(HSTRING contentId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation); + HRESULT RetrievePropertiesAsync(HSTRING contentId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* propertiesToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>** operation); [VtblIndex(12)] HRESULT get_Revision([NativeTypeName("UINT64 *")] ulong* value); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteAllAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> RetrievePropertiesAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>>>**, int> RetrievePropertiesAsync; [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Revision; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexerQuery.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexerQuery.cs index 064cf58582..fa2566f3b7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexerQuery.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IContentIndexerQuery.cs @@ -82,33 +82,33 @@ public HRESULT GetCountAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyn /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>>>**, int>)(lpVtbl[7]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetPropertiesRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT GetPropertiesRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), startIndex, maxItems, operation); + return ((delegate* unmanaged[MemberFunction]>>>>>**, int>)(lpVtbl[8]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), startIndex, maxItems, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation** operation) + public HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation** operation) + public HRESULT GetRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), startIndex, maxItems, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IContentIndexerQuery*)Unsafe.AsPointer(ref this), startIndex, maxItems, operation); } /// @@ -125,16 +125,16 @@ public interface Interface : IInspectable.Interface HRESULT GetCountAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_UINT32_t **")] IAsyncOperation** operation); [VtblIndex(7)] - HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation); + HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>>>** operation); [VtblIndex(8)] - HRESULT GetPropertiesRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation** operation); + HRESULT GetPropertiesRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **")] IAsyncOperation>>>>>** operation); [VtblIndex(9)] - HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation** operation); + HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] - HRESULT GetRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation** operation); + HRESULT GetRangeAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **")] IAsyncOperation>>>** operation); [VtblIndex(11)] HRESULT get_QueryFolder([NativeTypeName("ABI::Windows::Storage::IStorageFolder **")] IStorageFolder** value); @@ -165,16 +165,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> GetCountAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPropertiesAsync; + public delegate* unmanaged[MemberFunction]>>>>>**, int> GetPropertiesAsync; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1___FIMapView_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPropertiesRangeAsync; + public delegate* unmanaged[MemberFunction]>>>>>**, int> GetPropertiesRangeAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetAsync; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CSearch__CIIndexableContent_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetRangeAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetRangeAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_QueryFolder; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IIndexableContent.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IIndexableContent.cs index d7e3b9511f..80396789ec 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IIndexableContent.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IIndexableContent.cs @@ -90,9 +90,9 @@ public HRESULT put_Id(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IIndexableContent*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IIndexableContent*)Unsafe.AsPointer(ref this), value); } /// @@ -136,7 +136,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Id(HSTRING value); [VtblIndex(8)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap>** value); [VtblIndex(9)] HRESULT get_Stream([NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStream **")] IRandomAccessStream** value); @@ -179,7 +179,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IRandomAccessStream **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Stream; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult.cs index 6fc413233b..28684e4b5a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFilesAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFilesAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFileQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStorageFileQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetFilesAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFilesAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageFileQueryResult*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IStorageFileQueryResult*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFilesAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFilesAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetFilesAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFilesAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFilesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFilesAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFilesAsyncDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFilesAsyncDefaultStartAndCount; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult2.cs index 947b85f339..2b359e355f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFileQueryResult2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetMatchingPropertiesWithRanges([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVectorView_1_Windows__CData__CText__CTextSegment_t **")] IMap** result) + public HRESULT GetMatchingPropertiesWithRanges([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVectorView_1_Windows__CData__CText__CTextSegment_t **")] IMap>>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFileQueryResult2*)Unsafe.AsPointer(ref this), file, result); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[6]))((IStorageFileQueryResult2*)Unsafe.AsPointer(ref this), file, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetMatchingPropertiesWithRanges([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVectorView_1_Windows__CData__CText__CTextSegment_t **")] IMap** result); + HRESULT GetMatchingPropertiesWithRanges([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVectorView_1_Windows__CData__CText__CTextSegment_t **")] IMap>>** result); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING___FIVectorView_1_Windows__CData__CText__CTextSegment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetMatchingPropertiesWithRanges; + public delegate* unmanaged[MemberFunction]>>**, int> GetMatchingPropertiesWithRanges; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryOperations.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryOperations.cs index a6da5fe1bf..95f9df7780 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryOperations.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryOperations.cs @@ -146,41 +146,41 @@ public HRESULT CreateItemQueryWithOptions([NativeTypeName("ABI::Windows::Storage /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetFilesAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFilesAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, startIndex, maxItemsToRetrieve, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[15]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, startIndex, maxItemsToRetrieve, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetFilesAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFilesAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[16]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[16]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT GetFoldersAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFoldersAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[17]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, startIndex, maxItemsToRetrieve, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[17]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, startIndex, maxItemsToRetrieve, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT GetFoldersAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFoldersAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[18]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), query, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), startIndex, maxItemsToRetrieve, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[19]))((IStorageFolderQueryOperations*)Unsafe.AsPointer(ref this), startIndex, maxItemsToRetrieve, operation); } /// @@ -237,19 +237,19 @@ public interface Interface : IInspectable.Interface HRESULT CreateItemQueryWithOptions([NativeTypeName("ABI::Windows::Storage::Search::IQueryOptions *")] IQueryOptions* queryOptions, [NativeTypeName("ABI::Windows::Storage::Search::IStorageItemQueryResult **")] IStorageItemQueryResult** value); [VtblIndex(15)] - HRESULT GetFilesAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFilesAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); [VtblIndex(16)] - HRESULT GetFilesAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFilesAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFileQuery")] CommonFileQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); [VtblIndex(17)] - HRESULT GetFoldersAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFoldersAsync([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation); [VtblIndex(18)] - HRESULT GetFoldersAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFoldersAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Storage::Search::CommonFolderQuery")] CommonFolderQuery query, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation); [VtblIndex(19)] - HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxItemsToRetrieve, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation); [VtblIndex(20)] HRESULT AreQueryOptionsSupported([NativeTypeName("ABI::Windows::Storage::Search::IQueryOptions *")] IQueryOptions* queryOptions, [NativeTypeName("boolean *")] byte* value); @@ -310,19 +310,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateItemQueryWithOptions; [NativeTypeName("HRESULT (ABI::Windows::Storage::Search::CommonFileQuery, UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFilesAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFilesAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Search::CommonFileQuery, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFilesAsyncOverloadDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFilesAsyncOverloadDefaultStartAndCount; [NativeTypeName("HRESULT (ABI::Windows::Storage::Search::CommonFolderQuery, UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFoldersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFoldersAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Search::CommonFolderQuery, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFoldersAsyncOverloadDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFoldersAsyncOverloadDefaultStartAndCount; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::Search::IQueryOptions *, boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AreQueryOptionsSupported; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryResult.cs index 617e809418..d85a128a0e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageFolderQueryResult.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFoldersAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFoldersAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFolderQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStorageFolderQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetFoldersAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFoldersAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageFolderQueryResult*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IStorageFolderQueryResult*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFoldersAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFoldersAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetFoldersAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFoldersAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFoldersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFoldersAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFoldersAsyncDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFoldersAsyncDefaultStartAndCount; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageItemQueryResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageItemQueryResult.cs index 69aa468b6b..3003287eda 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageItemQueryResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageItemQueryResult.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageItemQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStorageItemQueryResult*)Unsafe.AsPointer(ref this), startIndex, maxNumberOfItems, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetItemsAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageItemQueryResult*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IStorageItemQueryResult*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsAsync([NativeTypeName("UINT32")] uint startIndex, [NativeTypeName("UINT32")] uint maxNumberOfItems, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] - HRESULT GetItemsAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsAsyncDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (UINT32, UINT32, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsAsyncDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsAsyncDefaultStartAndCount; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageQueryResultBase.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageQueryResultBase.cs index 1ea9e05243..2aae1ed61f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageQueryResultBase.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageQueryResultBase.cs @@ -90,9 +90,9 @@ public HRESULT get_Folder([NativeTypeName("ABI::Windows::Storage::IStorageFolder /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ContentsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* eventCookie) + public HRESULT add_ContentsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IStorageQueryResultBase*)Unsafe.AsPointer(ref this), handler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IStorageQueryResultBase*)Unsafe.AsPointer(ref this), handler, eventCookie); } /// @@ -106,9 +106,9 @@ public HRESULT remove_ContentsChanged(EventRegistrationToken eventCookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_OptionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler* changedHandler, EventRegistrationToken* eventCookie) + public HRESULT add_OptionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler, Pointer>* changedHandler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStorageQueryResultBase*)Unsafe.AsPointer(ref this), changedHandler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStorageQueryResultBase*)Unsafe.AsPointer(ref this), changedHandler, eventCookie); } /// @@ -152,13 +152,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Folder([NativeTypeName("ABI::Windows::Storage::IStorageFolder **")] IStorageFolder** container); [VtblIndex(8)] - HRESULT add_ContentsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* eventCookie); + HRESULT add_ContentsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie); [VtblIndex(9)] HRESULT remove_ContentsChanged(EventRegistrationToken eventCookie); [VtblIndex(10)] - HRESULT add_OptionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler* changedHandler, EventRegistrationToken* eventCookie); + HRESULT add_OptionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *")] ITypedEventHandler, Pointer>* changedHandler, EventRegistrationToken* eventCookie); [VtblIndex(11)] HRESULT remove_OptionsChanged(EventRegistrationToken eventCookie); @@ -201,13 +201,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Folder; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ContentsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ContentsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ContentsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CSearch__CIStorageQueryResultBase_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OptionsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OptionsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OptionsChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IFileRandomAccessStreamStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IFileRandomAccessStreamStatics.cs index 014baae7a4..03704f20a8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IFileRandomAccessStreamStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IFileRandomAccessStreamStatics.cs @@ -74,92 +74,92 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OpenAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, accessMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, accessMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT OpenWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, accessMode, sharingOptions, openDisposition, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, accessMode, sharingOptions, openDisposition, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT OpenTransactedWriteAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT OpenTransactedWriteWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, openOptions, openDisposition, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), filePath, openOptions, openDisposition, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT OpenForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, accessMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, accessMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT OpenForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, accessMode, sharingOptions, openDisposition, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, accessMode, sharingOptions, openDisposition, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT OpenTransactedWriteForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT OpenTransactedWriteForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, openOptions, openDisposition, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((IFileRandomAccessStreamStatics*)Unsafe.AsPointer(ref this), user, filePath, openOptions, openDisposition, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT OpenAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT OpenWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT OpenTransactedWriteAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT OpenTransactedWriteWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteWithOptionsAsync(HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT OpenForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT OpenForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions sharingOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT OpenTransactedWriteForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); [VtblIndex(13)] - HRESULT OpenTransactedWriteForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteForUserWithOptionsAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING filePath, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions openOptions, [NativeTypeName("ABI::Windows::Storage::Streams::FileOpenDisposition")] FileOpenDisposition openDisposition, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -184,27 +184,27 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::FileAccessMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::FileAccessMode, ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Storage::Streams::FileOpenDisposition, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenWithOptionsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Storage::Streams::FileOpenDisposition, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteWithOptionsAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Storage::FileAccessMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Storage::FileAccessMode, ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Storage::Streams::FileOpenDisposition, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenForUserWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenForUserWithOptionsAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Storage::Streams::FileOpenDisposition, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteForUserWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteForUserWithOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStream.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStream.cs index 9284b83e41..c380693724 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStream.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStream.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Storage::Streams::InputStreamOptions")] InputStreamOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT32_t **")] IAsyncOperationWithProgress** operation) + public HRESULT ReadAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Storage::Streams::InputStreamOptions")] InputStreamOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT32_t **")] IAsyncOperationWithProgress, uint>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IInputStream*)Unsafe.AsPointer(ref this), buffer, count, options, operation); + return ((delegate* unmanaged[MemberFunction], uint>**, int>)(lpVtbl[6]))((IInputStream*)Unsafe.AsPointer(ref this), buffer, count, options, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Storage::Streams::InputStreamOptions")] InputStreamOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT32_t **")] IAsyncOperationWithProgress** operation); + HRESULT ReadAsync([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("UINT32")] uint count, [NativeTypeName("ABI::Windows::Storage::Streams::InputStreamOptions")] InputStreamOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT32_t **")] IAsyncOperationWithProgress, uint>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::Streams::IBuffer *, UINT32, ABI::Windows::Storage::Streams::InputStreamOptions, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT32_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadAsync; + public delegate* unmanaged[MemberFunction], uint>**, int> ReadAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStreamReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStreamReference.cs index bf0bbb077e..fcf2d4fb52 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStreamReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IInputStreamReference.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OpenSequentialReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation** operation) + public HRESULT OpenSequentialReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IInputStreamReference*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IInputStreamReference*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT OpenSequentialReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation** operation); + HRESULT OpenSequentialReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenSequentialReadAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenSequentialReadAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IRandomAccessStreamReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IRandomAccessStreamReference.cs index b373552216..bb2e1c36d7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IRandomAccessStreamReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IRandomAccessStreamReference.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OpenReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation) + public HRESULT OpenReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRandomAccessStreamReference*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRandomAccessStreamReference*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT OpenReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation** operation); + HRESULT OpenReadAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamWithContentType_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenReadAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenReadAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationData.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationData.cs index d4aad6ff76..db3e403c92 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationData.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationData.cs @@ -146,9 +146,9 @@ public HRESULT get_TemporaryFolder([NativeTypeName("ABI::Windows::Storage::IStor /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_DataChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CApplicationData_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_DataChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CApplicationData_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IApplicationData*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IApplicationData*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -205,7 +205,7 @@ public interface Interface : IInspectable.Interface HRESULT get_TemporaryFolder([NativeTypeName("ABI::Windows::Storage::IStorageFolder **")] IStorageFolder** value); [VtblIndex(15)] - HRESULT add_DataChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CApplicationData_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_DataChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CApplicationData_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_DataChanged(EventRegistrationToken token); @@ -266,7 +266,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_TemporaryFolder; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CApplicationData_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DataChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DataChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DataChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataContainer.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataContainer.cs index 31a4f801ca..3278d4f7ef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataContainer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataContainer.cs @@ -98,9 +98,9 @@ public HRESULT get_Values([NativeTypeName("ABI::Windows::Foundation::Collections /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Containers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CStorage__CApplicationDataContainer_t **")] IMapView** value) + public HRESULT get_Containers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CStorage__CApplicationDataContainer_t **")] IMapView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IApplicationDataContainer*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IApplicationDataContainer*)Unsafe.AsPointer(ref this), value); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Values([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet **")] IPropertySet** value); [VtblIndex(9)] - HRESULT get_Containers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CStorage__CApplicationDataContainer_t **")] IMapView** value); + HRESULT get_Containers([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CStorage__CApplicationDataContainer_t **")] IMapView>** value); [VtblIndex(10)] HRESULT CreateContainer(HSTRING name, [NativeTypeName("ABI::Windows::Storage::ApplicationDataCreateDisposition")] ApplicationDataCreateDisposition disposition, [NativeTypeName("ABI::Windows::Storage::IApplicationDataContainer **")] IApplicationDataContainer** container); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Values; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMapView_2_HSTRING_Windows__CStorage__CApplicationDataContainer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Containers; + public delegate* unmanaged[MemberFunction]>**, int> get_Containers; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::ApplicationDataCreateDisposition, ABI::Windows::Storage::IApplicationDataContainer **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateContainer; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataStatics2.cs index 73365e0a11..0d44332a6c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IApplicationDataStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CApplicationData_t **")] IAsyncOperation** getForUserOperation) + public HRESULT GetForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CApplicationData_t **")] IAsyncOperation>** getForUserOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IApplicationDataStatics2*)Unsafe.AsPointer(ref this), user, getForUserOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IApplicationDataStatics2*)Unsafe.AsPointer(ref this), user, getForUserOperation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CApplicationData_t **")] IAsyncOperation** getForUserOperation); + HRESULT GetForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CApplicationData_t **")] IAsyncOperation>** getForUserOperation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CApplicationData_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics.cs index 4c39981e02..9fb684edf7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFileWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, option, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, option, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateFolderWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, option, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IDownloadsFolderStatics*)Unsafe.AsPointer(ref this), desiredName, option, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateFileWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT CreateFolderWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderWithCollisionOptionAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileWithCollisionOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileWithCollisionOptionAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderWithCollisionOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderWithCollisionOptionAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics2.cs index 82a3d50aee..7060808903 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IDownloadsFolderStatics2.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateFileForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFileForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, option, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, option, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateFolderForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, option, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IDownloadsFolderStatics2*)Unsafe.AsPointer(ref this), user, desiredName, option, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateFileForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT CreateFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateFileForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT CreateFolderForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderForUserWithCollisionOptionAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileForUserWithCollisionOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileForUserWithCollisionOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderForUserWithCollisionOptionAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderForUserWithCollisionOptionAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IFileIOStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IFileIOStatics.cs index 37968e7b1a..3e1de1f181 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IFileIOStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IFileIOStatics.cs @@ -122,17 +122,17 @@ public HRESULT AppendTextWithEncodingAsync([NativeTypeName("ABI::Windows::Storag /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT ReadLinesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation) + public HRESULT ReadLinesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, linesOperation); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[12]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, linesOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT ReadLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation) + public HRESULT ReadLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, encoding, linesOperation); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[13]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, encoding, linesOperation); } /// @@ -170,9 +170,9 @@ public HRESULT AppendLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Stora /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT ReadBufferAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** operation) + public HRESULT ReadBufferAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IFileIOStatics*)Unsafe.AsPointer(ref this), file, operation); } /// @@ -212,10 +212,10 @@ public interface Interface : IInspectable.Interface HRESULT AppendTextWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, HSTRING contents, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** textOperation); [VtblIndex(12)] - HRESULT ReadLinesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation); + HRESULT ReadLinesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation); [VtblIndex(13)] - HRESULT ReadLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation); + HRESULT ReadLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation); [VtblIndex(14)] HRESULT WriteLinesAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* lines, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -230,7 +230,7 @@ public interface Interface : IInspectable.Interface HRESULT AppendLinesWithEncodingAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* lines, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(18)] - HRESULT ReadBufferAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** operation); + HRESULT ReadBufferAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** operation); [VtblIndex(19)] HRESULT WriteBufferAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -279,10 +279,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AppendTextWithEncodingAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadLinesAsync; + public delegate* unmanaged[MemberFunction]>>**, int> ReadLinesAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::Streams::UnicodeEncoding, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadLinesWithEncodingAsync; + public delegate* unmanaged[MemberFunction]>>**, int> ReadLinesWithEncodingAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> WriteLinesAsync; @@ -297,7 +297,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]*, UnicodeEncoding, IAsyncAction**, int> AppendLinesWithEncodingAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBufferAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadBufferAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] WriteBufferAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics3.cs index 34ceb1eda1..7be75aace8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IKnownFoldersStatics3*)Unsafe.AsPointer(ref this), user, folderId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IKnownFoldersStatics3*)Unsafe.AsPointer(ref this), user, folderId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFolderForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Storage::KnownFolderId, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFolderForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFolderForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics4.cs index f686afb5ae..174967a5e5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IKnownFoldersStatics4.cs @@ -90,9 +90,9 @@ public HRESULT RequestAccessForUserAsync([NativeTypeName("ABI::Windows::System:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetFolderAsync([NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFolderAsync([NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IKnownFoldersStatics4*)Unsafe.AsPointer(ref this), folderId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IKnownFoldersStatics4*)Unsafe.AsPointer(ref this), folderId, operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CKnownFoldersAccessStatus_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT GetFolderAsync([NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFolderAsync([NativeTypeName("ABI::Windows::Storage::KnownFolderId")] KnownFolderId folderId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::KnownFolderId, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFolderAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IPathIOStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IPathIOStatics.cs index c66ab8a69e..1c9aa90991 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IPathIOStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IPathIOStatics.cs @@ -122,17 +122,17 @@ public HRESULT AppendTextWithEncodingAsync(HSTRING absolutePath, HSTRING content /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT ReadLinesAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation) + public HRESULT ReadLinesAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, linesOperation); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[12]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, linesOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT ReadLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation) + public HRESULT ReadLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, encoding, linesOperation); + return ((delegate* unmanaged[MemberFunction]>>**, int>)(lpVtbl[13]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, encoding, linesOperation); } /// @@ -170,9 +170,9 @@ public HRESULT AppendLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeNam /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT ReadBufferAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** operation) + public HRESULT ReadBufferAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[18]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[18]))((IPathIOStatics*)Unsafe.AsPointer(ref this), absolutePath, operation); } /// @@ -212,10 +212,10 @@ public interface Interface : IInspectable.Interface HRESULT AppendTextWithEncodingAsync(HSTRING absolutePath, HSTRING contents, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** textOperation); [VtblIndex(12)] - HRESULT ReadLinesAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation); + HRESULT ReadLinesAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation); [VtblIndex(13)] - HRESULT ReadLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation** linesOperation); + HRESULT ReadLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **")] IAsyncOperation>>** linesOperation); [VtblIndex(14)] HRESULT WriteLinesAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* lines, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -230,7 +230,7 @@ public interface Interface : IInspectable.Interface HRESULT AppendLinesWithEncodingAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *")] IIterable* lines, [NativeTypeName("ABI::Windows::Storage::Streams::UnicodeEncoding")] UnicodeEncoding encoding, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(18)] - HRESULT ReadBufferAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation** operation); + HRESULT ReadBufferAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **")] IAsyncOperation>** operation); [VtblIndex(19)] HRESULT WriteBufferAsync(HSTRING absolutePath, [NativeTypeName("ABI::Windows::Storage::Streams::IBuffer *")] IBuffer* buffer, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -279,10 +279,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AppendTextWithEncodingAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadLinesAsync; + public delegate* unmanaged[MemberFunction]>>**, int> ReadLinesAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::UnicodeEncoding, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadLinesWithEncodingAsync; + public delegate* unmanaged[MemberFunction]>>**, int> ReadLinesWithEncodingAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIIterable_1_HSTRING_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> WriteLinesAsync; @@ -297,7 +297,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]*, UnicodeEncoding, IAsyncAction**, int> AppendLinesWithEncodingAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIBuffer_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBufferAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReadBufferAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::Streams::IBuffer *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] WriteBufferAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile.cs index c1283e3091..a402d8ef23 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile.cs @@ -90,41 +90,41 @@ public HRESULT get_ContentType(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageFile*)Unsafe.AsPointer(ref this), accessMode, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageFile*)Unsafe.AsPointer(ref this), accessMode, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT OpenTransactedWriteAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStorageFile*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IStorageFile*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CopyOverloadDefaultNameAndOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CopyOverloadDefaultNameAndOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT CopyOverloadDefaultOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CopyOverloadDefaultOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, desiredNewName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, desiredNewName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT CopyOverload([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CopyOverload([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, desiredNewName, option, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IStorageFile*)Unsafe.AsPointer(ref this), destinationFolder, desiredNewName, option, operation); } /// @@ -176,19 +176,19 @@ public interface Interface : IInspectable.Interface HRESULT get_ContentType(HSTRING* value); [VtblIndex(8)] - HRESULT OpenAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT OpenTransactedWriteAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT CopyOverloadDefaultNameAndOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CopyOverloadDefaultNameAndOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT CopyOverloadDefaultOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CopyOverloadDefaultOptions([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT CopyOverload([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CopyOverload([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* destinationFolder, HSTRING desiredNewName, [NativeTypeName("ABI::Windows::Storage::NameCollisionOption")] NameCollisionOption option, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(13)] HRESULT CopyAndReplaceAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -234,19 +234,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ContentType; [NativeTypeName("HRESULT (ABI::Windows::Storage::FileAccessMode, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CopyOverloadDefaultNameAndOptions; + public delegate* unmanaged[MemberFunction]>**, int> CopyOverloadDefaultNameAndOptions; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CopyOverloadDefaultOptions; + public delegate* unmanaged[MemberFunction]>**, int> CopyOverloadDefaultOptions; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder *, HSTRING, ABI::Windows::Storage::NameCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CopyOverload; + public delegate* unmanaged[MemberFunction]>**, int> CopyOverload; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CopyAndReplaceAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile2.cs index 3a13f0d867..2368aef264 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFile2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT OpenWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation) + public HRESULT OpenWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFile2*)Unsafe.AsPointer(ref this), accessMode, options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFile2*)Unsafe.AsPointer(ref this), accessMode, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT OpenTransactedWriteWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation) + public HRESULT OpenTransactedWriteWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageFile2*)Unsafe.AsPointer(ref this), options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IStorageFile2*)Unsafe.AsPointer(ref this), options, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT OpenWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation** operation); + HRESULT OpenWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::FileAccessMode")] FileAccessMode accessMode, [NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT OpenTransactedWriteWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation** operation); + HRESULT OpenTransactedWriteWithOptionsAsync([NativeTypeName("ABI::Windows::Storage::StorageOpenOptions")] StorageOpenOptions options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::FileAccessMode, ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenWithOptionsAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::StorageOpenOptions, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageStreamTransaction_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> OpenTransactedWriteWithOptionsAsync; + public delegate* unmanaged[MemberFunction]>**, int> OpenTransactedWriteWithOptionsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics.cs index e2c572a43c..23f2913030 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics.cs @@ -74,70 +74,70 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFileFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFileFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), path, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), path, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetFileFromApplicationUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFileFromApplicationUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateStreamedFileAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateStreamedFileAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), displayNameWithExtension, dataRequested, thumbnail, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), displayNameWithExtension, dataRequested, thumbnail, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT ReplaceWithStreamedFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT ReplaceWithStreamedFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), fileToReplace, dataRequested, thumbnail, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), fileToReplace, dataRequested, thumbnail, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT CreateStreamedFileFromUriAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateStreamedFileFromUriAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), displayNameWithExtension, uri, thumbnail, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), displayNameWithExtension, uri, thumbnail, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT ReplaceWithStreamedFileFromUriAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT ReplaceWithStreamedFileFromUriAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), fileToReplace, uri, thumbnail, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IStorageFileStatics*)Unsafe.AsPointer(ref this), fileToReplace, uri, thumbnail, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFileFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFileFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetFileFromApplicationUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFileFromApplicationUriAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateStreamedFileAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateStreamedFileAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT ReplaceWithStreamedFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT ReplaceWithStreamedFileAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Storage::IStreamedFileDataRequestedHandler *")] IStreamedFileDataRequestedHandler* dataRequested, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT CreateStreamedFileFromUriAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateStreamedFileFromUriAsync(HSTRING displayNameWithExtension, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT ReplaceWithStreamedFileFromUriAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT ReplaceWithStreamedFileFromUriAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* fileToReplace, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Storage::Streams::IRandomAccessStreamReference *")] IRandomAccessStreamReference* thumbnail, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -162,21 +162,21 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFileFromPathAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFileFromPathAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFileFromApplicationUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFileFromApplicationUriAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::IStreamedFileDataRequestedHandler *, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateStreamedFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateStreamedFileAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Storage::IStreamedFileDataRequestedHandler *, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReplaceWithStreamedFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReplaceWithStreamedFileAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateStreamedFileFromUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateStreamedFileFromUriAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFile *, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Storage::Streams::IRandomAccessStreamReference *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReplaceWithStreamedFileFromUriAsync; + public delegate* unmanaged[MemberFunction]>**, int> ReplaceWithStreamedFileFromUriAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics2.cs index 924d40347f..29252d6dff 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFileStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFileFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFileFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFileStatics2*)Unsafe.AsPointer(ref this), user, path, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFileStatics2*)Unsafe.AsPointer(ref this), user, path, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFileFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFileFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFileFromPathForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFileFromPathForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder.cs index 614368fcf6..345c1e7fb5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder.cs @@ -74,114 +74,114 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateFileAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateFolderAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IStorageFolder*)Unsafe.AsPointer(ref this), desiredName, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetFileAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFileAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((IStorageFolder*)Unsafe.AsPointer(ref this), name, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT GetFilesAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation) + public HRESULT GetFilesAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT GetFoldersAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFoldersAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[14]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT GetItemsAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetItemsAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[15]))((IStorageFolder*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateFileAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT CreateFileAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT CreateFolderAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderAsyncOverloadDefaultOptions(HSTRING desiredName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(9)] - HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT CreateFolderAsync(HSTRING desiredName, [NativeTypeName("ABI::Windows::Storage::CreationCollisionOption")] CreationCollisionOption options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT GetFileAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFileAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT GetFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFolderAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(12)] - HRESULT GetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation); [VtblIndex(13)] - HRESULT GetFilesAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation** operation); + HRESULT GetFilesAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **")] IAsyncOperation>>>** operation); [VtblIndex(14)] - HRESULT GetFoldersAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFoldersAsyncOverloadDefaultOptionsStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>>>** operation); [VtblIndex(15)] - HRESULT GetItemsAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetItemsAsyncOverloadDefaultStartAndCount([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -206,33 +206,33 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileAsyncOverloadDefaultOptions; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileAsyncOverloadDefaultOptions; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFileAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderAsyncOverloadDefaultOptions; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderAsyncOverloadDefaultOptions; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Storage::CreationCollisionOption, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateFolderAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFileAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFileAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFolderAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetItemAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFile_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFilesAsyncOverloadDefaultOptionsStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFilesAsyncOverloadDefaultOptionsStartAndCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFoldersAsyncOverloadDefaultOptionsStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetFoldersAsyncOverloadDefaultOptionsStartAndCount; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetItemsAsyncOverloadDefaultStartAndCount; + public delegate* unmanaged[MemberFunction]>>>**, int> GetItemsAsyncOverloadDefaultStartAndCount; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder2.cs index ea287c3c6e..da46d313ea 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolder2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT TryGetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT TryGetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFolder2*)Unsafe.AsPointer(ref this), name, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFolder2*)Unsafe.AsPointer(ref this), name, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT TryGetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT TryGetItemAsync(HSTRING name, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetItemAsync; + public delegate* unmanaged[MemberFunction]>**, int> TryGetItemAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics.cs index fc5b5429ee..3de242726a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFolderFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFolderFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFolderStatics*)Unsafe.AsPointer(ref this), path, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFolderStatics*)Unsafe.AsPointer(ref this), path, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFolderFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFolderFromPathAsync(HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFolderFromPathAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFolderFromPathAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics2.cs index e359c6b6b4..126e39592d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageFolderStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetFolderFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetFolderFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageFolderStatics2*)Unsafe.AsPointer(ref this), user, path, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageFolderStatics2*)Unsafe.AsPointer(ref this), user, path, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetFolderFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetFolderFromPathForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, HSTRING path, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetFolderFromPathForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetFolderFromPathForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs index 68a7516974..a0ad4422b5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs @@ -106,9 +106,9 @@ public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Storage::StorageDelete /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetBasicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CBasicProperties_t **")] IAsyncOperation** operation) + public HRESULT GetBasicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CBasicProperties_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageItem*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageItem*)Unsafe.AsPointer(ref this), operation); } /// @@ -166,7 +166,7 @@ public interface Interface : IInspectable.Interface HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Storage::StorageDeleteOption")] StorageDeleteOption option, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(10)] - HRESULT GetBasicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CBasicProperties_t **")] IAsyncOperation** operation); + HRESULT GetBasicPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CBasicProperties_t **")] IAsyncOperation>** operation); [VtblIndex(11)] HRESULT get_Name(HSTRING* value); @@ -218,7 +218,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CFileProperties__CBasicProperties_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetBasicPropertiesAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetBasicPropertiesAsync; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Name; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem2.cs index abcb512ec2..784c3b76bc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetParentAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT GetParentAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageItem2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageItem2*)Unsafe.AsPointer(ref this), operation); } /// @@ -90,7 +90,7 @@ public HRESULT IsEqual([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetParentAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT GetParentAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT IsEqual([NativeTypeName("ABI::Windows::Storage::IStorageItem *")] IStorageItem* item, [NativeTypeName("boolean *")] byte* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetParentAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetParentAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageItem *, boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] IsEqual; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibrary.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibrary.cs index 95fcdfb914..4d6133a966 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibrary.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibrary.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestAddFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation) + public HRESULT RequestAddFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageLibrary*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageLibrary*)Unsafe.AsPointer(ref this), operation); } /// @@ -90,9 +90,9 @@ public HRESULT RequestRemoveFolderAsync([NativeTypeName("ABI::Windows::Storage:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Folders([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CStorage__CStorageFolder_t **")] IObservableVector** value) + public HRESULT get_Folders([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CStorage__CStorageFolder_t **")] IObservableVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IStorageLibrary*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IStorageLibrary*)Unsafe.AsPointer(ref this), value); } /// @@ -106,9 +106,9 @@ public HRESULT get_SaveFolder([NativeTypeName("ABI::Windows::Storage::IStorageFo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_DefinitionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CStorageLibrary_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* eventCookie) + public HRESULT add_DefinitionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CStorageLibrary_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStorageLibrary*)Unsafe.AsPointer(ref this), handler, eventCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IStorageLibrary*)Unsafe.AsPointer(ref this), handler, eventCookie); } /// @@ -122,19 +122,19 @@ public HRESULT remove_DefinitionChanged(EventRegistrationToken eventCookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestAddFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation** operation); + HRESULT RequestAddFolderAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT RequestRemoveFolderAsync([NativeTypeName("ABI::Windows::Storage::IStorageFolder *")] IStorageFolder* folder, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT get_Folders([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CStorage__CStorageFolder_t **")] IObservableVector** value); + HRESULT get_Folders([NativeTypeName("ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CStorage__CStorageFolder_t **")] IObservableVector>** value); [VtblIndex(9)] HRESULT get_SaveFolder([NativeTypeName("ABI::Windows::Storage::IStorageFolder **")] IStorageFolder** value); [VtblIndex(10)] - HRESULT add_DefinitionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CStorageLibrary_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* eventCookie); + HRESULT add_DefinitionChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CStorageLibrary_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* eventCookie); [VtblIndex(11)] HRESULT remove_DefinitionChanged(EventRegistrationToken eventCookie); @@ -162,19 +162,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestAddFolderAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestAddFolderAsync; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestRemoveFolderAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIObservableVector_1_Windows__CStorage__CStorageFolder_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Folders; + public delegate* unmanaged[MemberFunction]>**, int> get_Folders; [NativeTypeName("HRESULT (ABI::Windows::Storage::IStorageFolder **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_SaveFolder; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CStorage__CStorageLibrary_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_DefinitionChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_DefinitionChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_DefinitionChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChange.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChange.cs index f2522a0942..56579296ba 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChange.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChange.cs @@ -106,9 +106,9 @@ public HRESULT IsOfType([NativeTypeName("ABI::Windows::Storage::StorageItemTypes /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetStorageItemAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation) + public HRESULT GetStorageItemAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IStorageLibraryChange*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IStorageLibraryChange*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT IsOfType([NativeTypeName("ABI::Windows::Storage::StorageItemTypes")] StorageItemTypes type, [NativeTypeName("boolean *")] byte* value); [VtblIndex(10)] - HRESULT GetStorageItemAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation** operation); + HRESULT GetStorageItemAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsOfType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetStorageItemAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetStorageItemAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChangeReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChangeReader.cs index 39ddd5a624..a13840b7aa 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChangeReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryChangeReader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageLibraryChange_t **")] IAsyncOperation** operation) + public HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageLibraryChange_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageLibraryChangeReader*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IStorageLibraryChangeReader*)Unsafe.AsPointer(ref this), operation); } /// @@ -90,7 +90,7 @@ public HRESULT AcceptChangesAsync([NativeTypeName("ABI::Windows::Foundation::IAs public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageLibraryChange_t **")] IAsyncOperation** operation); + HRESULT ReadBatchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageLibraryChange_t **")] IAsyncOperation>>>** operation); [VtblIndex(7)] HRESULT AcceptChangesAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CStorage__CStorageLibraryChange_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadBatchAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> ReadBatchAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] AcceptChangesAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics.cs index 717a09911a..46b0e69d0d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetLibraryAsync([NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation** operation) + public HRESULT GetLibraryAsync([NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageLibraryStatics*)Unsafe.AsPointer(ref this), libraryId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageLibraryStatics*)Unsafe.AsPointer(ref this), libraryId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetLibraryAsync([NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation** operation); + HRESULT GetLibraryAsync([NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Storage::KnownLibraryId, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetLibraryAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetLibraryAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics2.cs index 47b8b849ae..e65517933f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageLibraryStatics2.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetLibraryForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation** operation) + public HRESULT GetLibraryForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IStorageLibraryStatics2*)Unsafe.AsPointer(ref this), user, libraryId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IStorageLibraryStatics2*)Unsafe.AsPointer(ref this), user, libraryId, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetLibraryForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation** operation); + HRESULT GetLibraryForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Storage::KnownLibraryId")] KnownLibraryId libraryId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Storage::KnownLibraryId, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStorageLibrary_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetLibraryForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetLibraryForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/DiagnosticActionState.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/DiagnosticActionState.cs new file mode 100644 index 0000000000..26130548b0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/DiagnosticActionState.cs @@ -0,0 +1,31 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +/// +public enum DiagnosticActionState +{ + /// + DiagnosticActionState_Initializing = 0, + + /// + DiagnosticActionState_Downloading = 1, + + /// + DiagnosticActionState_VerifyingTrust = 2, + + /// + DiagnosticActionState_Detecting = 3, + + /// + DiagnosticActionState_Resolving = 4, + + /// + DiagnosticActionState_VerifyingResolution = 5, + + /// + DiagnosticActionState_Executing = 6, +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResult.cs new file mode 100644 index 0000000000..08c19addc1 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResult.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("C265A296-E73B-4097-B28F-3442F03DD831")] +[NativeTypeName("struct IDiagnosticActionResult : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IDiagnosticActionResult : IDiagnosticActionResult.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiagnosticActionResult)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ExtendedError(HRESULT* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_Results([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet **")] IPropertySet** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDiagnosticActionResult*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ExtendedError(HRESULT* value); + + [VtblIndex(7)] + HRESULT get_Results([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet **")] IPropertySet** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HRESULT *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ExtendedError; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::IPropertySet **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Results; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker.cs new file mode 100644 index 0000000000..11dd91e8d5 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("187B270A-02E3-4F86-84FC-FDD892B5940F")] +[NativeTypeName("struct IDiagnosticInvoker : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IDiagnosticInvoker : IDiagnosticInvoker.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiagnosticInvoker)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT RunDiagnosticActionAsync([NativeTypeName("ABI::Windows::Data::Json::IJsonObject *")] IJsonObject* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **")] IAsyncOperationWithProgress, DiagnosticActionState>** operation) + { + return ((delegate* unmanaged[MemberFunction], DiagnosticActionState>**, int>)(lpVtbl[6]))((IDiagnosticInvoker*)Unsafe.AsPointer(ref this), context, operation); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT RunDiagnosticActionAsync([NativeTypeName("ABI::Windows::Data::Json::IJsonObject *")] IJsonObject* context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **")] IAsyncOperationWithProgress, DiagnosticActionState>** operation); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Data::Json::IJsonObject *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], DiagnosticActionState>**, int> RunDiagnosticActionAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2.cs new file mode 100644 index 0000000000..050f22a5e8 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("E3BF945C-155A-4B52-A8EC-070C44F95000")] +[NativeTypeName("struct IDiagnosticInvoker2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IDiagnosticInvoker2 : IDiagnosticInvoker2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiagnosticInvoker2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT RunDiagnosticActionFromStringAsync(HSTRING context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **")] IAsyncOperationWithProgress, DiagnosticActionState>** operation) + { + return ((delegate* unmanaged[MemberFunction], DiagnosticActionState>**, int>)(lpVtbl[6]))((IDiagnosticInvoker2*)Unsafe.AsPointer(ref this), context, operation); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT RunDiagnosticActionFromStringAsync(HSTRING context, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **")] IAsyncOperationWithProgress, DiagnosticActionState>** operation); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CSystem__CDiagnostics__CDiagnosticActionResult_Windows__CSystem__CDiagnostics__CDiagnosticActionState_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction], DiagnosticActionState>**, int> RunDiagnosticActionFromStringAsync; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStatics.cs new file mode 100644 index 0000000000..926480cd7d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStatics.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5CFAD8DE-F15C-4554-A813-C113C3881B09")] +[NativeTypeName("struct IDiagnosticInvokerStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IDiagnosticInvokerStatics : IDiagnosticInvokerStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiagnosticInvokerStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetDefault([NativeTypeName("ABI::Windows::System::Diagnostics::IDiagnosticInvoker **")] IDiagnosticInvoker** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::System::Diagnostics::IDiagnosticInvoker **")] IDiagnosticInvoker** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), user, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IDiagnosticInvokerStatics*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetDefault([NativeTypeName("ABI::Windows::System::Diagnostics::IDiagnosticInvoker **")] IDiagnosticInvoker** result); + + [VtblIndex(7)] + HRESULT GetForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::System::Diagnostics::IDiagnosticInvoker **")] IDiagnosticInvoker** result); + + [VtblIndex(8)] + HRESULT get_IsSupported([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IDiagnosticInvoker **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetDefault; + + [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::System::Diagnostics::IDiagnosticInvoker **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetForUser; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsSupported; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IID.Manual.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IID.Manual.cs new file mode 100644 index 0000000000..a78471afdc --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IID.Manual.cs @@ -0,0 +1,497 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace TerraFX.Interop.Windows; + +public static unsafe partial class IID +{ + public static ref readonly Guid IID_IDiagnosticActionResult + { + get + { + ReadOnlySpan data = [ + 0x96, 0xA2, 0x65, 0xC2, + 0x3B, 0xE7, + 0x97, 0x40, + 0xB2, + 0x8F, + 0x34, + 0x42, + 0xF0, + 0x3D, + 0xD8, + 0x31 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IDiagnosticInvoker + { + get + { + ReadOnlySpan data = [ + 0x0A, 0x27, 0x7B, 0x18, + 0xE3, 0x02, + 0x86, 0x4F, + 0x84, + 0xFC, + 0xFD, + 0xD8, + 0x92, + 0xB5, + 0x94, + 0x0F + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IDiagnosticInvoker2 + { + get + { + ReadOnlySpan data = [ + 0x5C, 0x94, 0xBF, 0xE3, + 0x5A, 0x15, + 0x52, 0x4B, + 0xA8, + 0xEC, + 0x07, + 0x0C, + 0x44, + 0xF9, + 0x50, + 0x00 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IDiagnosticInvokerStatics + { + get + { + ReadOnlySpan data = [ + 0xDE, 0xD8, 0xFA, 0x5C, + 0x5C, 0xF1, + 0x54, 0x45, + 0xA8, + 0x13, + 0xC1, + 0x13, + 0xC3, + 0x88, + 0x1B, + 0x09 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessCpuUsage + { + get + { + ReadOnlySpan data = [ + 0x72, 0x24, 0xBB, 0x0B, + 0xBF, 0xC8, + 0x3A, 0x42, + 0xA8, + 0x10, + 0xB5, + 0x59, + 0xAE, + 0x43, + 0x54, + 0xE2 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessCpuUsageReport + { + get + { + ReadOnlySpan data = [ + 0xAC, 0x9C, 0x6D, 0x8A, + 0x87, 0x39, + 0x2F, 0x4E, + 0xA1, + 0x19, + 0x6B, + 0x5F, + 0xA2, + 0x14, + 0xF1, + 0xB4 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiagnosticInfo + { + get + { + ReadOnlySpan data = [ + 0x4B, 0xB0, 0x30, 0xE8, + 0x0E, 0x30, + 0xE6, 0x4E, + 0xA0, + 0xAB, + 0x5B, + 0x5F, + 0x52, + 0x31, + 0xB4, + 0x34 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiagnosticInfo2 + { + get + { + ReadOnlySpan data = [ + 0x1A, 0xCB, 0x58, 0x95, + 0x0B, 0x3D, + 0xEC, 0x49, + 0xAB, + 0x70, + 0x4F, + 0x7A, + 0x11, + 0x28, + 0x05, + 0xDE + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiagnosticInfoStatics + { + get + { + ReadOnlySpan data = [ + 0x60, 0xB2, 0x41, 0x2F, + 0x9F, 0xB4, + 0x8C, 0x42, + 0xAA, + 0x0E, + 0x84, + 0x74, + 0x4F, + 0x49, + 0xCA, + 0x95 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiagnosticInfoStatics2 + { + get + { + ReadOnlySpan data = [ + 0x97, 0x98, 0x86, 0x4A, + 0x99, 0x98, + 0x44, 0x4A, + 0xA2, + 0x9B, + 0x09, + 0x16, + 0x63, + 0xBE, + 0x09, + 0xB6 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiskUsage + { + get + { + ReadOnlySpan data = [ + 0xFD, 0x8B, 0xD7, 0x5A, + 0x51, 0x7E, + 0x53, 0x4E, + 0xBF, + 0xAA, + 0x5A, + 0x6E, + 0xE1, + 0xAA, + 0xBB, + 0xF8 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessDiskUsageReport + { + get + { + ReadOnlySpan data = [ + 0xFD, 0x27, 0x16, 0x40, + 0x5D, 0x53, + 0x1F, 0x4C, + 0x81, + 0xB8, + 0xDA, + 0x54, + 0xE1, + 0xBE, + 0x63, + 0x5E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessMemoryUsage + { + get + { + ReadOnlySpan data = [ + 0x9B, 0x22, 0x0B, 0xF5, + 0x7C, 0x82, + 0xB7, 0x42, + 0xB0, + 0x7C, + 0x0E, + 0x32, + 0x62, + 0x7E, + 0x6B, + 0x3E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_IProcessMemoryUsageReport + { + get + { + ReadOnlySpan data = [ + 0xBA, 0x7C, 0xC7, 0xC2, + 0x51, 0x19, + 0x85, 0x46, + 0x85, + 0x32, + 0x7E, + 0x74, + 0x9E, + 0xCF, + 0x8E, + 0xEB + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemCpuUsage + { + get + { + ReadOnlySpan data = [ + 0xAC, 0xB3, 0x37, 0x60, + 0xD6, 0x02, + 0x34, 0x42, + 0x83, + 0x62, + 0x7F, + 0xE3, + 0xAD, + 0xC8, + 0x1F, + 0x5F + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemCpuUsageReport + { + get + { + ReadOnlySpan data = [ + 0xB2, 0xD0, 0x26, 0x2C, + 0x83, 0x94, + 0x62, 0x4F, + 0xAB, + 0x57, + 0x82, + 0xB2, + 0x9D, + 0x97, + 0x19, + 0xB8 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemDiagnosticInfo + { + get + { + ReadOnlySpan data = [ + 0x05, 0xFE, 0x90, 0xA2, + 0xF3, 0xDF, + 0x7F, 0x40, + 0x9A, + 0x1B, + 0x0B, + 0x2B, + 0x31, + 0x7C, + 0xA8, + 0x00 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemDiagnosticInfoStatics + { + get + { + ReadOnlySpan data = [ + 0x21, 0xAC, 0x04, 0xD4, + 0x7D, 0xFC, + 0xF0, 0x45, + 0x9A, + 0x3F, + 0x39, + 0x20, + 0x3A, + 0xED, + 0x9F, + 0x7E + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemDiagnosticInfoStatics2 + { + get + { + ReadOnlySpan data = [ + 0x89, 0xD1, 0xDE, 0x79, + 0xF9, 0x6A, + 0xA9, 0x4D, + 0xA4, + 0x22, + 0x15, + 0xF7, + 0x32, + 0x55, + 0xB3, + 0xEB + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemMemoryUsage + { + get + { + ReadOnlySpan data = [ + 0x95, 0xC5, 0xFF, 0x17, + 0x02, 0x17, + 0xCF, 0x49, + 0xAA, + 0x27, + 0x2F, + 0x0A, + 0x32, + 0x59, + 0x14, + 0x04 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid IID_ISystemMemoryUsageReport + { + get + { + ReadOnlySpan data = [ + 0x87, 0x3C, 0x66, 0x38, + 0x9F, 0x2A, + 0x3A, 0x40, + 0xBD, + 0x19, + 0x2C, + 0xF3, + 0xE8, + 0x16, + 0x95, + 0x00 + ]; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsage.cs new file mode 100644 index 0000000000..66544c03d0 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsage.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("0BBB2472-C8BF-423A-A810-B559AE4354E2")] +[NativeTypeName("struct IProcessCpuUsage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessCpuUsage : IProcessCpuUsage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessCpuUsage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessCpuUsageReport **")] IProcessCpuUsageReport** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessCpuUsage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessCpuUsageReport **")] IProcessCpuUsageReport** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessCpuUsageReport **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetReport; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReport.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReport.cs new file mode 100644 index 0000000000..890297ca54 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReport.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("8A6D9CAC-3987-4E2F-A119-6B5FA214F1B4")] +[NativeTypeName("struct IProcessCpuUsageReport : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessCpuUsageReport : IProcessCpuUsageReport.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessCpuUsageReport)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_KernelTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_UserTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessCpuUsageReport*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_KernelTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + + [VtblIndex(7)] + HRESULT get_UserTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_KernelTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UserTime; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo.cs new file mode 100644 index 0000000000..89b4b310b3 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo.cs @@ -0,0 +1,196 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("E830B04B-300E-4EE6-A0AB-5B5F5231B434")] +[NativeTypeName("struct IProcessDiagnosticInfo : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiagnosticInfo : IProcessDiagnosticInfo.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiagnosticInfo)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ProcessId([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_ExecutableFileName(HSTRING* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_Parent([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_ProcessStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_DiskUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiskUsage **")] IProcessDiskUsage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_MemoryUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessMemoryUsage **")] IProcessMemoryUsage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_CpuUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessCpuUsage **")] IProcessCpuUsage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IProcessDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ProcessId([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(7)] + HRESULT get_ExecutableFileName(HSTRING* value); + + [VtblIndex(8)] + HRESULT get_Parent([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** value); + + [VtblIndex(9)] + HRESULT get_ProcessStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); + + [VtblIndex(10)] + HRESULT get_DiskUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiskUsage **")] IProcessDiskUsage** value); + + [VtblIndex(11)] + HRESULT get_MemoryUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessMemoryUsage **")] IProcessMemoryUsage** value); + + [VtblIndex(12)] + HRESULT get_CpuUsage([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessCpuUsage **")] IProcessCpuUsage** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ProcessId; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ExecutableFileName; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_Parent; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ProcessStartTime; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessDiskUsage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_DiskUsage; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessMemoryUsage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MemoryUsage; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessCpuUsage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CpuUsage; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2.cs new file mode 100644 index 0000000000..06b4a5454f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("9558CB1A-3D0B-49EC-AB70-4F7A112805DE")] +[NativeTypeName("struct IProcessDiagnosticInfo2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiagnosticInfo2 : IProcessDiagnosticInfo2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiagnosticInfo2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetAppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVector>** result) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_IsPackaged([NativeTypeName("boolean *")] byte* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessDiagnosticInfo2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetAppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVector>** result); + + [VtblIndex(7)] + HRESULT get_IsPackaged([NativeTypeName("boolean *")] byte* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetAppDiagnosticInfos; + + [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IsPackaged; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics.cs new file mode 100644 index 0000000000..757b56be85 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("2F41B260-B49F-428C-AA0E-84744F49CA95")] +[NativeTypeName("struct IProcessDiagnosticInfoStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiagnosticInfoStatics : IProcessDiagnosticInfoStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiagnosticInfoStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetForProcesses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVectorView>** processes) + { + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), processes); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT GetForCurrentProcess([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** processes) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), processes); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetForProcesses([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVectorView>** processes); + + [VtblIndex(7)] + HRESULT GetForCurrentProcess([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** processes); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction]>**, int> GetForProcesses; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetForCurrentProcess; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2.cs new file mode 100644 index 0000000000..fb2b0b0112 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("4A869897-9899-4A44-A29B-091663BE09B6")] +[NativeTypeName("struct IProcessDiagnosticInfoStatics2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiagnosticInfoStatics2 : IProcessDiagnosticInfoStatics2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiagnosticInfoStatics2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT TryGetForProcessId([NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), processId, result); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT TryGetForProcessId([NativeTypeName("UINT32")] uint processId, [NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **")] IProcessDiagnosticInfo** result); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT32, ABI::Windows::System::Diagnostics::IProcessDiagnosticInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] TryGetForProcessId; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsage.cs new file mode 100644 index 0000000000..b337edbc7d --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsage.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("5AD78BFD-7E51-4E53-BFAA-5A6EE1AABBF8")] +[NativeTypeName("struct IProcessDiskUsage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiskUsage : IProcessDiskUsage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiskUsage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiskUsageReport **")] IProcessDiskUsageReport** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessDiskUsage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessDiskUsageReport **")] IProcessDiskUsageReport** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessDiskUsageReport **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetReport; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReport.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReport.cs new file mode 100644 index 0000000000..ec0123c7ca --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReport.cs @@ -0,0 +1,182 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("401627FD-535D-4C1F-81B8-DA54E1BE635E")] +[NativeTypeName("struct IProcessDiskUsageReport : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessDiskUsageReport : IProcessDiskUsageReport.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessDiskUsageReport)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_ReadOperationCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_WriteOperationCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_OtherOperationCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_BytesReadCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_BytesWrittenCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_OtherBytesCount([NativeTypeName("INT64 *")] long* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IProcessDiskUsageReport*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_ReadOperationCount([NativeTypeName("INT64 *")] long* value); + + [VtblIndex(7)] + HRESULT get_WriteOperationCount([NativeTypeName("INT64 *")] long* value); + + [VtblIndex(8)] + HRESULT get_OtherOperationCount([NativeTypeName("INT64 *")] long* value); + + [VtblIndex(9)] + HRESULT get_BytesReadCount([NativeTypeName("INT64 *")] long* value); + + [VtblIndex(10)] + HRESULT get_BytesWrittenCount([NativeTypeName("INT64 *")] long* value); + + [VtblIndex(11)] + HRESULT get_OtherBytesCount([NativeTypeName("INT64 *")] long* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_ReadOperationCount; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_WriteOperationCount; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherOperationCount; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_BytesReadCount; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_BytesWrittenCount; + + [NativeTypeName("HRESULT (INT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_OtherBytesCount; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsage.cs new file mode 100644 index 0000000000..dc7fd3abdd --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsage.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("F50B229B-827C-42B7-B07C-0E32627E6B3E")] +[NativeTypeName("struct IProcessMemoryUsage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessMemoryUsage : IProcessMemoryUsage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessMemoryUsage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessMemoryUsageReport **")] IProcessMemoryUsageReport** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessMemoryUsage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::IProcessMemoryUsageReport **")] IProcessMemoryUsageReport** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::IProcessMemoryUsageReport **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetReport; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReport.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReport.cs new file mode 100644 index 0000000000..dc747a02e8 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReport.cs @@ -0,0 +1,266 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("C2C77CBA-1951-4685-8532-7E749ECF8EEB")] +[NativeTypeName("struct IProcessMemoryUsageReport : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct IProcessMemoryUsageReport : IProcessMemoryUsageReport.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProcessMemoryUsageReport)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_NonPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_PageFaultCount([NativeTypeName("UINT32 *")] uint* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_PageFileSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(9)] + public HRESULT get_PagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(10)] + public HRESULT get_PeakNonPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(11)] + public HRESULT get_PeakPageFileSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(12)] + public HRESULT get_PeakPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(13)] + public HRESULT get_PeakVirtualMemorySizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(14)] + public HRESULT get_PeakWorkingSetSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(15)] + public HRESULT get_PrivatePageCount([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[15]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(16)] + public HRESULT get_VirtualMemorySizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(17)] + public HRESULT get_WorkingSetSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IProcessMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_NonPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(7)] + HRESULT get_PageFaultCount([NativeTypeName("UINT32 *")] uint* value); + + [VtblIndex(8)] + HRESULT get_PageFileSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(9)] + HRESULT get_PagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(10)] + HRESULT get_PeakNonPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(11)] + HRESULT get_PeakPageFileSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(12)] + HRESULT get_PeakPagedPoolSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(13)] + HRESULT get_PeakVirtualMemorySizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(14)] + HRESULT get_PeakWorkingSetSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(15)] + HRESULT get_PrivatePageCount([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(16)] + HRESULT get_VirtualMemorySizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(17)] + HRESULT get_WorkingSetSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_NonPagedPoolSizeInBytes; + + [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PageFaultCount; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PageFileSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PagedPoolSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PeakNonPagedPoolSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PeakPageFileSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PeakPagedPoolSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PeakVirtualMemorySizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PeakWorkingSetSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PrivatePageCount; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_VirtualMemorySizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_WorkingSetSizeInBytes; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsage.cs new file mode 100644 index 0000000000..0c44aacf39 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsage.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("6037B3AC-02D6-4234-8362-7FE3ADC81F5F")] +[NativeTypeName("struct ISystemCpuUsage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemCpuUsage : ISystemCpuUsage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemCpuUsage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemCpuUsageReport **")] ISystemCpuUsageReport** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemCpuUsage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemCpuUsageReport **")] ISystemCpuUsageReport** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::ISystemCpuUsageReport **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetReport; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReport.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReport.cs new file mode 100644 index 0000000000..b5dd00588e --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReport.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("2C26D0B2-9483-4F62-AB57-82B29D9719B8")] +[NativeTypeName("struct ISystemCpuUsageReport : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemCpuUsageReport : ISystemCpuUsageReport.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemCpuUsageReport)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_KernelTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_UserTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_IdleTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ISystemCpuUsageReport*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_KernelTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + + [VtblIndex(7)] + HRESULT get_UserTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + + [VtblIndex(8)] + HRESULT get_IdleTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_KernelTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_UserTime; + + [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_IdleTime; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfo.cs new file mode 100644 index 0000000000..4035f1963f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfo.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("A290FE05-DFF3-407F-9A1B-0B2B317CA800")] +[NativeTypeName("struct ISystemDiagnosticInfo : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemDiagnosticInfo : ISystemDiagnosticInfo.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemDiagnosticInfo)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_MemoryUsage([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemMemoryUsage **")] ISystemMemoryUsage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_CpuUsage([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemCpuUsage **")] ISystemCpuUsage** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISystemDiagnosticInfo*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_MemoryUsage([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemMemoryUsage **")] ISystemMemoryUsage** value); + + [VtblIndex(7)] + HRESULT get_CpuUsage([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemCpuUsage **")] ISystemCpuUsage** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::ISystemMemoryUsage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_MemoryUsage; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::ISystemCpuUsage **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CpuUsage; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics.cs new file mode 100644 index 0000000000..a50936c8a6 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("D404AC21-FC7D-45F0-9A3F-39203AED9F7E")] +[NativeTypeName("struct ISystemDiagnosticInfoStatics : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemDiagnosticInfoStatics : ISystemDiagnosticInfoStatics.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemDiagnosticInfoStatics)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetForCurrentSystem([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemDiagnosticInfo **")] ISystemDiagnosticInfo** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetForCurrentSystem([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemDiagnosticInfo **")] ISystemDiagnosticInfo** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::ISystemDiagnosticInfo **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetForCurrentSystem; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2.cs new file mode 100644 index 0000000000..34c03d1c72 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2.cs @@ -0,0 +1,126 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("79DED189-6AF9-4DA9-A422-15F73255B3EB")] +[NativeTypeName("struct ISystemDiagnosticInfoStatics2 : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemDiagnosticInfoStatics2 : ISystemDiagnosticInfoStatics2.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemDiagnosticInfoStatics2)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT IsArchitectureSupported([NativeTypeName("ABI::Windows::System::ProcessorArchitecture")] ProcessorArchitecture type, [NativeTypeName("boolean *")] byte* result) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), type, result); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_PreferredArchitecture([NativeTypeName("ABI::Windows::System::ProcessorArchitecture *")] ProcessorArchitecture* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISystemDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT IsArchitectureSupported([NativeTypeName("ABI::Windows::System::ProcessorArchitecture")] ProcessorArchitecture type, [NativeTypeName("boolean *")] byte* result); + + [VtblIndex(7)] + HRESULT get_PreferredArchitecture([NativeTypeName("ABI::Windows::System::ProcessorArchitecture *")] ProcessorArchitecture* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::ProcessorArchitecture, boolean *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] IsArchitectureSupported; + + [NativeTypeName("HRESULT (ABI::Windows::System::ProcessorArchitecture *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_PreferredArchitecture; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsage.cs new file mode 100644 index 0000000000..d3a0eccf16 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsage.cs @@ -0,0 +1,112 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("17FFC595-1702-49CF-AA27-2F0A32591404")] +[NativeTypeName("struct ISystemMemoryUsage : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemMemoryUsage : ISystemMemoryUsage.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemMemoryUsage)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemMemoryUsageReport **")] ISystemMemoryUsageReport** value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemMemoryUsage*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT GetReport([NativeTypeName("ABI::Windows::System::Diagnostics::ISystemMemoryUsageReport **")] ISystemMemoryUsageReport** value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (ABI::Windows::System::Diagnostics::ISystemMemoryUsageReport **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetReport; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReport.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReport.cs new file mode 100644 index 0000000000..95e041ce1f --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReport.cs @@ -0,0 +1,140 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using TerraFX.Interop.Windows; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT; + +/// +[Guid("38663C87-2A9F-403A-BD19-2CF3E8169500")] +[NativeTypeName("struct ISystemMemoryUsageReport : IInspectable")] +[NativeInheritance("IInspectable")] +public unsafe partial struct ISystemMemoryUsageReport : ISystemMemoryUsageReport.Interface, INativeGuid +{ + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemMemoryUsageReport)); + + public void** lpVtbl; + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(0)] + public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), riid, ppvObject); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(1)] + [return: NativeTypeName("ULONG")] + public uint AddRef() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(2)] + [return: NativeTypeName("ULONG")] + public uint Release() + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this)); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(3)] + public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), iidCount, iids); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(4)] + public HRESULT GetRuntimeClassName(HSTRING* className) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), className); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(5)] + public HRESULT GetTrustLevel(TrustLevel* trustLevel) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), trustLevel); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(6)] + public HRESULT get_TotalPhysicalSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(7)] + public HRESULT get_AvailableSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + [VtblIndex(8)] + public HRESULT get_CommittedSizeInBytes([NativeTypeName("UINT64 *")] ulong* value) + { + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ISystemMemoryUsageReport*)Unsafe.AsPointer(ref this), value); + } + + public interface Interface : IInspectable.Interface + { + [VtblIndex(6)] + HRESULT get_TotalPhysicalSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(7)] + HRESULT get_AvailableSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + + [VtblIndex(8)] + HRESULT get_CommittedSizeInBytes([NativeTypeName("UINT64 *")] ulong* value); + } + + public partial struct Vtbl + where TSelf : unmanaged, Interface + { + [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] QueryInterface; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] AddRef; + + [NativeTypeName("ULONG () __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] Release; + + [NativeTypeName("HRESULT (ULONG *, IID **) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetIids; + + [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetRuntimeClassName; + + [NativeTypeName("HRESULT (TrustLevel *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] GetTrustLevel; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_TotalPhysicalSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_AvailableSizeInBytes; + + [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] + public delegate* unmanaged[MemberFunction] get_CommittedSizeInBytes; + } +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/WinRT.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/WinRT.cs new file mode 100644 index 0000000000..b4e6278252 --- /dev/null +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.diagnostics/WinRT.cs @@ -0,0 +1,114 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +namespace TerraFX.Interop.WinRT; + +public static partial class WinRT +{ + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_System_Diagnostics_IDiagnosticActionResult = "Windows.System.Diagnostics.IDiagnosticActionResult"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_System_Diagnostics_IDiagnosticInvoker = "Windows.System.Diagnostics.IDiagnosticInvoker"; + + [NativeTypeName("const WCHAR[47]")] + public const string InterfaceName_Windows_System_Diagnostics_IDiagnosticInvoker2 = "Windows.System.Diagnostics.IDiagnosticInvoker2"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_System_Diagnostics_IDiagnosticInvokerStatics = "Windows.System.Diagnostics.IDiagnosticInvokerStatics"; + + [NativeTypeName("const WCHAR[44]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessCpuUsage = "Windows.System.Diagnostics.IProcessCpuUsage"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessCpuUsageReport = "Windows.System.Diagnostics.IProcessCpuUsageReport"; + + [NativeTypeName("const WCHAR[50]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiagnosticInfo = "Windows.System.Diagnostics.IProcessDiagnosticInfo"; + + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiagnosticInfo2 = "Windows.System.Diagnostics.IProcessDiagnosticInfo2"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics = "Windows.System.Diagnostics.IProcessDiagnosticInfoStatics"; + + [NativeTypeName("const WCHAR[58]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2 = "Windows.System.Diagnostics.IProcessDiagnosticInfoStatics2"; + + [NativeTypeName("const WCHAR[45]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiskUsage = "Windows.System.Diagnostics.IProcessDiskUsage"; + + [NativeTypeName("const WCHAR[51]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessDiskUsageReport = "Windows.System.Diagnostics.IProcessDiskUsageReport"; + + [NativeTypeName("const WCHAR[47]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessMemoryUsage = "Windows.System.Diagnostics.IProcessMemoryUsage"; + + [NativeTypeName("const WCHAR[53]")] + public const string InterfaceName_Windows_System_Diagnostics_IProcessMemoryUsageReport = "Windows.System.Diagnostics.IProcessMemoryUsageReport"; + + [NativeTypeName("const WCHAR[43]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemCpuUsage = "Windows.System.Diagnostics.ISystemCpuUsage"; + + [NativeTypeName("const WCHAR[49]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemCpuUsageReport = "Windows.System.Diagnostics.ISystemCpuUsageReport"; + + [NativeTypeName("const WCHAR[49]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemDiagnosticInfo = "Windows.System.Diagnostics.ISystemDiagnosticInfo"; + + [NativeTypeName("const WCHAR[56]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics = "Windows.System.Diagnostics.ISystemDiagnosticInfoStatics"; + + [NativeTypeName("const WCHAR[57]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2 = "Windows.System.Diagnostics.ISystemDiagnosticInfoStatics2"; + + [NativeTypeName("const WCHAR[46]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemMemoryUsage = "Windows.System.Diagnostics.ISystemMemoryUsage"; + + [NativeTypeName("const WCHAR[52]")] + public const string InterfaceName_Windows_System_Diagnostics_ISystemMemoryUsageReport = "Windows.System.Diagnostics.ISystemMemoryUsageReport"; + + [NativeTypeName("const WCHAR[50]")] + public const string RuntimeClass_Windows_System_Diagnostics_DiagnosticActionResult = "Windows.System.Diagnostics.DiagnosticActionResult"; + + [NativeTypeName("const WCHAR[45]")] + public const string RuntimeClass_Windows_System_Diagnostics_DiagnosticInvoker = "Windows.System.Diagnostics.DiagnosticInvoker"; + + [NativeTypeName("const WCHAR[43]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessCpuUsage = "Windows.System.Diagnostics.ProcessCpuUsage"; + + [NativeTypeName("const WCHAR[49]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessCpuUsageReport = "Windows.System.Diagnostics.ProcessCpuUsageReport"; + + [NativeTypeName("const WCHAR[49]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessDiagnosticInfo = "Windows.System.Diagnostics.ProcessDiagnosticInfo"; + + [NativeTypeName("const WCHAR[44]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessDiskUsage = "Windows.System.Diagnostics.ProcessDiskUsage"; + + [NativeTypeName("const WCHAR[50]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessDiskUsageReport = "Windows.System.Diagnostics.ProcessDiskUsageReport"; + + [NativeTypeName("const WCHAR[46]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessMemoryUsage = "Windows.System.Diagnostics.ProcessMemoryUsage"; + + [NativeTypeName("const WCHAR[52]")] + public const string RuntimeClass_Windows_System_Diagnostics_ProcessMemoryUsageReport = "Windows.System.Diagnostics.ProcessMemoryUsageReport"; + + [NativeTypeName("const WCHAR[42]")] + public const string RuntimeClass_Windows_System_Diagnostics_SystemCpuUsage = "Windows.System.Diagnostics.SystemCpuUsage"; + + [NativeTypeName("const WCHAR[48]")] + public const string RuntimeClass_Windows_System_Diagnostics_SystemCpuUsageReport = "Windows.System.Diagnostics.SystemCpuUsageReport"; + + [NativeTypeName("const WCHAR[48]")] + public const string RuntimeClass_Windows_System_Diagnostics_SystemDiagnosticInfo = "Windows.System.Diagnostics.SystemDiagnosticInfo"; + + [NativeTypeName("const WCHAR[45]")] + public const string RuntimeClass_Windows_System_Diagnostics_SystemMemoryUsage = "Windows.System.Diagnostics.SystemMemoryUsage"; + + [NativeTypeName("const WCHAR[51]")] + public const string RuntimeClass_Windows_System_Diagnostics_SystemMemoryUsageReport = "Windows.System.Diagnostics.SystemMemoryUsageReport"; +} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IBackgroundEnergyManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IBackgroundEnergyManagerStatics.cs index c5f9b42863..f37e190e30 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IBackgroundEnergyManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IBackgroundEnergyManagerStatics.cs @@ -148,9 +148,9 @@ public HRESULT get_RecentEnergyUsageLevel([NativeTypeName("UINT32 *")] uint* val [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - public HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBackgroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IBackgroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -166,9 +166,9 @@ public HRESULT remove_RecentEnergyUsageIncreased(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - public HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBackgroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IBackgroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -216,7 +216,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(14)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(15)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] @@ -224,7 +224,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(16)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(17)] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] @@ -286,7 +286,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecentEnergyUsageIncreased; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RecentEnergyUsageIncreased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] @@ -294,7 +294,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecentEnergyUsageReturnedToLow; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RecentEnergyUsageReturnedToLow; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Background Energy Manager has been deprecated. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IForegroundEnergyManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IForegroundEnergyManagerStatics.cs index 6a2d21eb08..5172daca97 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IForegroundEnergyManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IForegroundEnergyManagerStatics.cs @@ -130,9 +130,9 @@ public HRESULT get_RecentEnergyUsageLevel([NativeTypeName("UINT32 *")] uint* val [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - public HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IForegroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IForegroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -148,9 +148,9 @@ public HRESULT remove_RecentEnergyUsageIncreased(EventRegistrationToken token) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - public HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IForegroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IForegroundEnergyManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -190,7 +190,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(12)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RecentEnergyUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(13)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] @@ -198,7 +198,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(14)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RecentEnergyUsageReturnedToLow([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(15)] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] @@ -252,7 +252,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecentEnergyUsageIncreased; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RecentEnergyUsageIncreased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] @@ -260,7 +260,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RecentEnergyUsageReturnedToLow; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RecentEnergyUsageReturnedToLow; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] [Obsolete("Foreground Energy Manager has been deprecated. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IPowerManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IPowerManagerStatics.cs index 95dca132cb..38a9ecadbb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.power/IPowerManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.power/IPowerManagerStatics.cs @@ -82,9 +82,9 @@ public HRESULT get_EnergySaverStatus([NativeTypeName("ABI::Windows::System::Powe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_EnergySaverStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnergySaverStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT get_BatteryStatus([NativeTypeName("ABI::Windows::System::Power::B /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_BatteryStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BatteryStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT get_PowerSupplyStatus([NativeTypeName("ABI::Windows::System::Powe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_PowerSupplyStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PowerSupplyStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -154,9 +154,9 @@ public HRESULT get_RemainingChargePercent([NativeTypeName("INT32 *")] int* value /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_RemainingChargePercentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RemainingChargePercentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,9 +178,9 @@ public HRESULT get_RemainingDischargeTime([NativeTypeName("ABI::Windows::Foundat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_RemainingDischargeTimeChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RemainingDischargeTimeChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IPowerManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -197,7 +197,7 @@ public interface Interface : IInspectable.Interface HRESULT get_EnergySaverStatus([NativeTypeName("ABI::Windows::System::Power::EnergySaverStatus *")] EnergySaverStatus* value); [VtblIndex(7)] - HRESULT add_EnergySaverStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnergySaverStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_EnergySaverStatusChanged(EventRegistrationToken token); @@ -206,7 +206,7 @@ public interface Interface : IInspectable.Interface HRESULT get_BatteryStatus([NativeTypeName("ABI::Windows::System::Power::BatteryStatus *")] BatteryStatus* value); [VtblIndex(10)] - HRESULT add_BatteryStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BatteryStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_BatteryStatusChanged(EventRegistrationToken token); @@ -215,7 +215,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PowerSupplyStatus([NativeTypeName("ABI::Windows::System::Power::PowerSupplyStatus *")] PowerSupplyStatus* value); [VtblIndex(13)] - HRESULT add_PowerSupplyStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PowerSupplyStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_PowerSupplyStatusChanged(EventRegistrationToken token); @@ -224,7 +224,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RemainingChargePercent([NativeTypeName("INT32 *")] int* value); [VtblIndex(16)] - HRESULT add_RemainingChargePercentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RemainingChargePercentChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_RemainingChargePercentChanged(EventRegistrationToken token); @@ -233,7 +233,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RemainingDischargeTime([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); [VtblIndex(19)] - HRESULT add_RemainingDischargeTimeChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RemainingDischargeTimeChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_RemainingDischargeTimeChanged(EventRegistrationToken token); @@ -264,7 +264,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_EnergySaverStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnergySaverStatusChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_EnergySaverStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnergySaverStatusChanged; @@ -273,7 +273,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_BatteryStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BatteryStatusChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_BatteryStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BatteryStatusChanged; @@ -282,7 +282,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_PowerSupplyStatus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PowerSupplyStatusChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_PowerSupplyStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PowerSupplyStatusChanged; @@ -291,7 +291,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RemainingChargePercent; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RemainingChargePercentChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RemainingChargePercentChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RemainingChargePercentChanged; @@ -300,7 +300,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RemainingDischargeTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RemainingDischargeTimeChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_RemainingDischargeTimeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RemainingDischargeTimeChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystem5.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystem5.cs index 58fdae0e7c..7c39160c63 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystem5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystem5.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Apps([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CRemoteSystems__CRemoteSystemApp_t **")] IVectorView** value) + public HRESULT get_Apps([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CRemoteSystems__CRemoteSystemApp_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRemoteSystem5*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRemoteSystem5*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Apps([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CRemoteSystems__CRemoteSystemApp_t **")] IVectorView** value); + HRESULT get_Apps([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CRemoteSystems__CRemoteSystemApp_t **")] IVectorView>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CRemoteSystems__CRemoteSystemApp_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Apps; + public delegate* unmanaged[MemberFunction]>**, int> get_Apps; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSession.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSession.cs index ed9b41608c..b59e1ff854 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSession.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSession.cs @@ -98,9 +98,9 @@ public HRESULT get_ControllerDisplayName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Disconnected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSession_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionDisconnectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Disconnected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSession_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionDisconnectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSession*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSession*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,7 +139,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ControllerDisplayName(HSTRING* value); [VtblIndex(9)] - HRESULT add_Disconnected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSession_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionDisconnectedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Disconnected([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSession_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionDisconnectedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Disconnected(EventRegistrationToken token); @@ -182,7 +182,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ControllerDisplayName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSession_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionDisconnectedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Disconnected; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Disconnected; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Disconnected; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionController.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionController.cs index 8c7580c4c9..2cff06bb91 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionController.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_JoinRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionController_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_JoinRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionController_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemSessionController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemSessionController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,15 +98,15 @@ public HRESULT RemoveParticipantAsync([NativeTypeName("ABI::Windows::System::Rem /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT CreateSessionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionCreationResult_t **")] IAsyncOperation** operation) + public HRESULT CreateSessionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionCreationResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IRemoteSystemSessionController*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IRemoteSystemSessionController*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_JoinRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionController_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_JoinRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionController_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_JoinRequested(EventRegistrationToken token); @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT RemoveParticipantAsync([NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant *")] IRemoteSystemSessionParticipant* pParticipant, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(9)] - HRESULT CreateSessionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionCreationResult_t **")] IAsyncOperation** operation); + HRESULT CreateSessionAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionCreationResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionController_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_JoinRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_JoinRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_JoinRequested; @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RemoveParticipantAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionCreationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CreateSessionAsync; + public delegate* unmanaged[MemberFunction]>**, int> CreateSessionAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInfo.cs index 4bf78cc036..7007839ddd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInfo.cs @@ -90,9 +90,9 @@ public HRESULT get_ControllerDisplayName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT JoinAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinResult_t **")] IAsyncOperation** operation) + public HRESULT JoinAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IRemoteSystemSessionInfo*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IRemoteSystemSessionInfo*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ControllerDisplayName(HSTRING* value); [VtblIndex(8)] - HRESULT JoinAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinResult_t **")] IAsyncOperation** operation); + HRESULT JoinAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ControllerDisplayName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionJoinResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> JoinAsync; + public delegate* unmanaged[MemberFunction]>**, int> JoinAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInvitationListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInvitationListener.cs index c2925c3ffa..b83299d32d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInvitationListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionInvitationListener.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_InvitationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationListener_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_InvitationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationListener_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemSessionInvitationListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemSessionInvitationListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_InvitationReceived(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_InvitationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationListener_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_InvitationReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationListener_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_InvitationReceived(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationListener_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionInvitationReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InvitationReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InvitationReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InvitationReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionMessageChannel.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionMessageChannel.cs index fedab6ebd2..3100fd4269 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionMessageChannel.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionMessageChannel.cs @@ -98,17 +98,17 @@ public HRESULT SendValueSetAsync([NativeTypeName("ABI::Windows::Foundation::Coll /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT SendValueSetToParticipantsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* messageData, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipant_t *")] IIterable* participants, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + public HRESULT SendValueSetToParticipantsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* messageData, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipant_t *")] IIterable>* participants, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[9]))((IRemoteSystemSessionMessageChannel*)Unsafe.AsPointer(ref this), messageData, participants, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int>)(lpVtbl[9]))((IRemoteSystemSessionMessageChannel*)Unsafe.AsPointer(ref this), messageData, participants, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ValueSetReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionMessageChannel_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionValueSetReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ValueSetReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionMessageChannel_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionValueSetReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRemoteSystemSessionMessageChannel*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRemoteSystemSessionMessageChannel*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -131,10 +131,10 @@ public interface Interface : IInspectable.Interface HRESULT SendValueSetAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* messageData, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant *")] IRemoteSystemSessionParticipant* participant, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(9)] - HRESULT SendValueSetToParticipantsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* messageData, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipant_t *")] IIterable* participants, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + HRESULT SendValueSetToParticipantsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* messageData, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipant_t *")] IIterable>* participants, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(10)] - HRESULT add_ValueSetReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionMessageChannel_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionValueSetReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ValueSetReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionMessageChannel_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionValueSetReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ValueSetReceived(EventRegistrationToken token); @@ -171,10 +171,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> SendValueSetAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipant_t *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> SendValueSetToParticipantsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncOperation**, int> SendValueSetToParticipantsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionMessageChannel_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionValueSetReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ValueSetReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ValueSetReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ValueSetReceived; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipant.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipant.cs index 9903f605fc..4a6b06398b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipant.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipant.cs @@ -82,9 +82,9 @@ public HRESULT get_RemoteSystem([NativeTypeName("ABI::Windows::System::RemoteSys /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView** result) + public HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IRemoteSystemSessionParticipant*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IRemoteSystemSessionParticipant*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_RemoteSystem([NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystem **")] IRemoteSystem** value); [VtblIndex(7)] - HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView** result); + HRESULT GetHostNames([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **")] IVectorView>** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_RemoteSystem; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CNetworking__CHostName_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHostNames; + public delegate* unmanaged[MemberFunction]>**, int> GetHostNames; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipantWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipantWatcher.cs index 16b83a2961..4d250b3cae 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipantWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionParticipantWatcher.cs @@ -98,9 +98,9 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::System::RemoteSystems:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRemoteSystemSessionParticipantWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -155,19 +155,19 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus *")] RemoteSystemSessionParticipantWatcherStatus* value); [VtblIndex(9)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); @@ -204,19 +204,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantAddedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionParticipantWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionWatcher.cs index a1e2daba21..4c84a84111 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemSessionWatcher.cs @@ -98,9 +98,9 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::System::RemoteSystems:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRemoteSystemSessionWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -155,19 +155,19 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus *")] RemoteSystemSessionWatcherStatus* value); [VtblIndex(9)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_Removed(EventRegistrationToken token); @@ -204,19 +204,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionAddedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionUpdatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemSessionRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics.cs index ef8ced855e..9e6f43a0ce 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindByHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystem_t **")] IAsyncOperation** operation) + public HRESULT FindByHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystem_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRemoteSystemStatics*)Unsafe.AsPointer(ref this), hostName, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRemoteSystemStatics*)Unsafe.AsPointer(ref this), hostName, operation); } /// @@ -90,9 +90,9 @@ public HRESULT CreateWatcher([NativeTypeName("ABI::Windows::System::RemoteSystem /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT CreateWatcherWithFilters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result) + public HRESULT CreateWatcherWithFilters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable>* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result) { - return ((delegate* unmanaged[MemberFunction]*, IRemoteSystemWatcher**, int>)(lpVtbl[8]))((IRemoteSystemStatics*)Unsafe.AsPointer(ref this), filters, result); + return ((delegate* unmanaged[MemberFunction]>*, IRemoteSystemWatcher**, int>)(lpVtbl[8]))((IRemoteSystemStatics*)Unsafe.AsPointer(ref this), filters, result); } /// @@ -106,13 +106,13 @@ public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__F public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindByHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystem_t **")] IAsyncOperation** operation); + HRESULT FindByHostNameAsync([NativeTypeName("ABI::Windows::Networking::IHostName *")] IHostName* hostName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystem_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT CreateWatcher([NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); [VtblIndex(8)] - HRESULT CreateWatcherWithFilters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); + HRESULT CreateWatcherWithFilters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable>* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); [VtblIndex(9)] HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemAccessStatus_t **")] IAsyncOperation** operation); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Networking::IHostName *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindByHostNameAsync; + public delegate* unmanaged[MemberFunction]>**, int> FindByHostNameAsync; [NativeTypeName("HRESULT (ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateWatcher; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *, ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IRemoteSystemWatcher**, int> CreateWatcherWithFilters; + public delegate* unmanaged[MemberFunction]>*, IRemoteSystemWatcher**, int> CreateWatcherWithFilters; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CRemoteSystems__CRemoteSystemAccessStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics3.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics3.cs index 5e65e04992..78f0b7474d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemStatics3.cs @@ -82,9 +82,9 @@ public HRESULT CreateWatcherForUser([NativeTypeName("ABI::Windows::System::IUser /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateWatcherWithFiltersForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result) + public HRESULT CreateWatcherWithFiltersForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable>* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result) { - return ((delegate* unmanaged[MemberFunction]*, IRemoteSystemWatcher**, int>)(lpVtbl[7]))((IRemoteSystemStatics3*)Unsafe.AsPointer(ref this), user, filters, result); + return ((delegate* unmanaged[MemberFunction]>*, IRemoteSystemWatcher**, int>)(lpVtbl[7]))((IRemoteSystemStatics3*)Unsafe.AsPointer(ref this), user, filters, result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateWatcherForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); [VtblIndex(7)] - HRESULT CreateWatcherWithFiltersForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); + HRESULT CreateWatcherWithFiltersForUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *")] IIterable>* filters, [NativeTypeName("ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **")] IRemoteSystemWatcher** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateWatcherForUser; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CRemoteSystems__CIRemoteSystemFilter_t *, ABI::Windows::System::RemoteSystems::IRemoteSystemWatcher **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IRemoteSystemWatcher**, int> CreateWatcherWithFiltersForUser; + public delegate* unmanaged[MemberFunction]>*, IRemoteSystemWatcher**, int> CreateWatcherWithFiltersForUser; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher.cs index 3407b0e044..3933133d38 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher.cs @@ -90,9 +90,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_RemoteSystemAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RemoteSystemAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_RemoteSystemAdded(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_RemoteSystemUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RemoteSystemUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_RemoteSystemUpdated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_RemoteSystemRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RemoteSystemRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IRemoteSystemWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -144,19 +144,19 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(8)] - HRESULT add_RemoteSystemAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemAddedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RemoteSystemAdded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemAddedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_RemoteSystemAdded(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_RemoteSystemUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RemoteSystemUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_RemoteSystemUpdated(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_RemoteSystemRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemRemovedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RemoteSystemRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemRemovedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_RemoteSystemRemoved(EventRegistrationToken token); @@ -190,19 +190,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemAddedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RemoteSystemAdded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RemoteSystemAdded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RemoteSystemAdded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemUpdatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RemoteSystemUpdated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RemoteSystemUpdated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RemoteSystemUpdated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemRemovedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RemoteSystemRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RemoteSystemRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RemoteSystemRemoved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher2.cs index cc5f57557f..7b339ef669 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system.remotesystems/IRemoteSystemWatcher2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemEnumerationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemEnumerationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemWatcher2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRemoteSystemWatcher2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcherErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcherErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRemoteSystemWatcher2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRemoteSystemWatcher2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,13 +106,13 @@ public HRESULT remove_ErrorOccurred(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemEnumerationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemEnumerationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcherErrorOccurredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ErrorOccurred([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcherErrorOccurredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_ErrorOccurred(EventRegistrationToken token); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemEnumerationCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcher_Windows__CSystem__CRemoteSystems__CRemoteSystemWatcherErrorOccurredEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ErrorOccurred; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ErrorOccurred; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ErrorOccurred; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo2.cs index d6d800b023..f66c65bae7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetResourceGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupInfo_t **")] IVector** result) + public HRESULT GetResourceGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupInfo_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppDiagnosticInfo2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppDiagnosticInfo2*)Unsafe.AsPointer(ref this), result); } /// @@ -90,7 +90,7 @@ public HRESULT CreateResourceGroupWatcher([NativeTypeName("ABI::Windows::System: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetResourceGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupInfo_t **")] IVector** result); + HRESULT GetResourceGroups([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupInfo_t **")] IVector>** result); [VtblIndex(7)] HRESULT CreateResourceGroupWatcher([NativeTypeName("ABI::Windows::System::IAppResourceGroupInfoWatcher **")] IAppResourceGroupInfoWatcher** result); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetResourceGroups; + public delegate* unmanaged[MemberFunction]>**, int> GetResourceGroups; [NativeTypeName("HRESULT (ABI::Windows::System::IAppResourceGroupInfoWatcher **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateResourceGroupWatcher; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo3.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo3.cs index 8fe7bda2ac..995b6ec978 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfo3.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT LaunchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppActivationResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppActivationResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppDiagnosticInfo3*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppDiagnosticInfo3*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT LaunchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppActivationResult_t **")] IAsyncOperation** operation); + HRESULT LaunchAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppActivationResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppActivationResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics.cs index 7fe0dfca77..d477da036c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation) + public HRESULT RequestInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[6]))((IAppDiagnosticInfoStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation); + HRESULT RequestInfoAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestInfoAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> RequestInfoAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics2.cs index 4fb2c160a5..25b1497819 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoStatics2.cs @@ -90,25 +90,25 @@ public HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT RequestInfoForPackageAsync(HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation) + public HRESULT RequestInfoForPackageAsync(HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), packageFamilyName, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), packageFamilyName, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT RequestInfoForAppAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation) + public HRESULT RequestInfoForAppAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT RequestInfoForAppUserModelId(HSTRING appUserModelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation) + public HRESULT RequestInfoForAppUserModelId(HSTRING appUserModelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), appUserModelId, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[10]))((IAppDiagnosticInfoStatics2*)Unsafe.AsPointer(ref this), appUserModelId, operation); } public interface Interface : IInspectable.Interface @@ -120,13 +120,13 @@ public interface Interface : IInspectable.Interface HRESULT RequestAccessAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CDiagnosticAccessStatus_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT RequestInfoForPackageAsync(HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation); + HRESULT RequestInfoForPackageAsync(HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation); [VtblIndex(9)] - HRESULT RequestInfoForAppAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation); + HRESULT RequestInfoForAppAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] - HRESULT RequestInfoForAppUserModelId(HSTRING appUserModelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation** operation); + HRESULT RequestInfoForAppUserModelId(HSTRING appUserModelId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -157,12 +157,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> RequestAccessAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestInfoForPackageAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> RequestInfoForPackageAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestInfoForAppAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> RequestInfoForAppAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestInfoForAppUserModelId; + public delegate* unmanaged[MemberFunction]>>>**, int> RequestInfoForAppUserModelId; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoWatcher.cs index 06d0209ee8..5ad4342e0c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppDiagnosticInfoWatcher.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppDiagnosticInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,25 +162,25 @@ public HRESULT Stop() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -217,25 +217,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_Windows__CSystem__CAppDiagnosticInfoWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppDiagnosticInfoWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo.cs index 9d1d52c97f..7532d49078 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo.cs @@ -90,9 +90,9 @@ public HRESULT get_IsShared([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetBackgroundTaskReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupBackgroundTaskReport_t **")] IVector** result) + public HRESULT GetBackgroundTaskReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupBackgroundTaskReport_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppResourceGroupInfo*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAppResourceGroupInfo*)Unsafe.AsPointer(ref this), result); } /// @@ -106,9 +106,9 @@ public HRESULT GetMemoryReport([NativeTypeName("ABI::Windows::System::IAppResour /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetProcessDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVector** result) + public HRESULT GetProcessDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppResourceGroupInfo*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IAppResourceGroupInfo*)Unsafe.AsPointer(ref this), result); } /// @@ -128,13 +128,13 @@ public interface Interface : IInspectable.Interface HRESULT get_IsShared([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT GetBackgroundTaskReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupBackgroundTaskReport_t **")] IVector** result); + HRESULT GetBackgroundTaskReports([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupBackgroundTaskReport_t **")] IVector>** result); [VtblIndex(9)] HRESULT GetMemoryReport([NativeTypeName("ABI::Windows::System::IAppResourceGroupMemoryReport **")] IAppResourceGroupMemoryReport** result); [VtblIndex(10)] - HRESULT GetProcessDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVector** result); + HRESULT GetProcessDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **")] IVector>** result); [VtblIndex(11)] HRESULT GetStateReport([NativeTypeName("ABI::Windows::System::IAppResourceGroupStateReport **")] IAppResourceGroupStateReport** result); @@ -168,13 +168,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsShared; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppResourceGroupBackgroundTaskReport_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetBackgroundTaskReports; + public delegate* unmanaged[MemberFunction]>**, int> GetBackgroundTaskReports; [NativeTypeName("HRESULT (ABI::Windows::System::IAppResourceGroupMemoryReport **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetMemoryReport; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CDiagnostics__CProcessDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetProcessDiagnosticInfos; + public delegate* unmanaged[MemberFunction]>**, int> GetProcessDiagnosticInfos; [NativeTypeName("HRESULT (ABI::Windows::System::IAppResourceGroupStateReport **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetStateReport; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo2.cs index 6aca66bdbd..c66cf8a630 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfo2.cs @@ -74,37 +74,37 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT StartSuspendAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation) + public HRESULT StartSuspendAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT StartResumeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation) + public HRESULT StartResumeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT StartTerminateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation) + public HRESULT StartTerminateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IAppResourceGroupInfo2*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT StartSuspendAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation); + HRESULT StartSuspendAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT StartResumeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation); + HRESULT StartResumeAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] - HRESULT StartTerminateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation** operation); + HRESULT StartTerminateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -129,12 +129,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StartSuspendAsync; + public delegate* unmanaged[MemberFunction]>**, int> StartSuspendAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StartResumeAsync; + public delegate* unmanaged[MemberFunction]>**, int> StartResumeAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CAppExecutionStateChangeResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> StartTerminateAsync; + public delegate* unmanaged[MemberFunction]>**, int> StartTerminateAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcher.cs index 093daa2cdd..f38aaf3ffb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcher.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,9 +138,9 @@ public HRESULT remove_Stopped(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_ExecutionStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ExecutionStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((IAppResourceGroupInfoWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,31 +178,31 @@ public HRESULT Stop() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_Stopped(EventRegistrationToken token); [VtblIndex(14)] - HRESULT add_ExecutionStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ExecutionStateChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(15)] HRESULT remove_ExecutionStateChanged(EventRegistrationToken token); @@ -239,31 +239,31 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CAppResourceGroupInfoWatcher_Windows__CSystem__CAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ExecutionStateChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ExecutionStateChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ExecutionStateChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherEventArgs.cs index 9ad2591e07..6bd02a5577 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView** value) + public HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcherEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcherEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_AppResourceGroupInfo([NativeTypeName("ABI::Windows::System::I public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView** value); + HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_AppResourceGroupInfo([NativeTypeName("ABI::Windows::System::IAppResourceGroupInfo **")] IAppResourceGroupInfo** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AppDiagnosticInfos; + public delegate* unmanaged[MemberFunction]>**, int> get_AppDiagnosticInfos; [NativeTypeName("HRESULT (ABI::Windows::System::IAppResourceGroupInfo **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AppResourceGroupInfo; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs.cs index 2a78b032f6..1cf53f216a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView** value) + public HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_AppResourceGroupInfo([NativeTypeName("ABI::Windows::System::I public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView** value); + HRESULT get_AppDiagnosticInfos([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_AppResourceGroupInfo([NativeTypeName("ABI::Windows::System::IAppResourceGroupInfo **")] IAppResourceGroupInfo** value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSystem__CAppDiagnosticInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_AppDiagnosticInfos; + public delegate* unmanaged[MemberFunction]>**, int> get_AppDiagnosticInfos; [NativeTypeName("HRESULT (ABI::Windows::System::IAppResourceGroupInfo **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AppResourceGroupInfo; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration.cs index 1bf5b42b8f..a37aa241fd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration.cs @@ -90,17 +90,17 @@ public HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IAsyncOperation** operation) + public HRESULT GetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IAppUriHandlerRegistration*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IAppUriHandlerRegistration*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT SetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable* hosts, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) + public HRESULT SetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable>* hosts, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncAction**, int>)(lpVtbl[9]))((IAppUriHandlerRegistration*)Unsafe.AsPointer(ref this), hosts, operation); + return ((delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int>)(lpVtbl[9]))((IAppUriHandlerRegistration*)Unsafe.AsPointer(ref this), hosts, operation); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface HRESULT get_User([NativeTypeName("ABI::Windows::System::IUser **")] IUser** value); [VtblIndex(8)] - HRESULT GetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IAsyncOperation** operation); + HRESULT GetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IAsyncOperation>>>** operation); [VtblIndex(9)] - HRESULT SetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable* hosts, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); + HRESULT SetAppAddedHostsAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable>* hosts, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_User; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAppAddedHostsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> GetAppAddedHostsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncAction**, int> SetAppAddedHostsAsync; + public delegate* unmanaged[MemberFunction]>*, IAsyncAction**, int> SetAppAddedHostsAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration2.cs index d5d67a8279..a18131eddb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IAppUriHandlerRegistration2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetAllHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IVector** result) + public HRESULT GetAllHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IVector>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppUriHandlerRegistration2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppUriHandlerRegistration2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT UpdateHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable* hosts) + public HRESULT UpdateHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable>* hosts) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[7]))((IAppUriHandlerRegistration2*)Unsafe.AsPointer(ref this), hosts); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[7]))((IAppUriHandlerRegistration2*)Unsafe.AsPointer(ref this), hosts); } /// @@ -98,10 +98,10 @@ public HRESULT get_PackageFamilyName(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetAllHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IVector** result); + HRESULT GetAllHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **")] IVector>** result); [VtblIndex(7)] - HRESULT UpdateHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable* hosts); + HRESULT UpdateHosts([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *")] IIterable>* hosts); [VtblIndex(8)] HRESULT get_PackageFamilyName(HSTRING* value); @@ -129,10 +129,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CSystem__CAppUriHandlerHost_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAllHosts; + public delegate* unmanaged[MemberFunction]>**, int> GetAllHosts; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CSystem__CAppUriHandlerHost_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> UpdateHosts; + public delegate* unmanaged[MemberFunction]>*, int> UpdateHosts; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PackageFamilyName; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueue.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueue.cs index fc61285b9a..dfee96ebb1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueue.cs @@ -98,9 +98,9 @@ public HRESULT TryEnqueueWithPriority([NativeTypeName("ABI::Windows::System::Dis /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_ShutdownStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_Windows__CSystem__CDispatcherQueueShutdownStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShutdownStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_Windows__CSystem__CDispatcherQueueShutdownStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDispatcherQueue*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IDispatcherQueue*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_ShutdownStarting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ShutdownCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ShutdownCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDispatcherQueue*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDispatcherQueue*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -139,13 +139,13 @@ public interface Interface : IInspectable.Interface HRESULT TryEnqueueWithPriority([NativeTypeName("ABI::Windows::System::DispatcherQueuePriority")] DispatcherQueuePriority priority, [NativeTypeName("ABI::Windows::System::IDispatcherQueueHandler *")] IDispatcherQueueHandler* callback, [NativeTypeName("boolean *")] byte* result); [VtblIndex(9)] - HRESULT add_ShutdownStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_Windows__CSystem__CDispatcherQueueShutdownStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShutdownStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_Windows__CSystem__CDispatcherQueueShutdownStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_ShutdownStarting(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_ShutdownCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ShutdownCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_ShutdownCompleted(EventRegistrationToken token); @@ -182,13 +182,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] TryEnqueueWithPriority; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_Windows__CSystem__CDispatcherQueueShutdownStartingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShutdownStarting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShutdownStarting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShutdownStarting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueue_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ShutdownCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ShutdownCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ShutdownCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueueTimer.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueueTimer.cs index ff7d863875..4e9ba4124b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueueTimer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IDispatcherQueueTimer.cs @@ -130,9 +130,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_Tick([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueueTimer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Tick([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueueTimer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IDispatcherQueueTimer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IDispatcherQueueTimer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -167,7 +167,7 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(13)] - HRESULT add_Tick([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueueTimer_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Tick([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueueTimer_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_Tick(EventRegistrationToken token); @@ -216,7 +216,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CDispatcherQueueTimer_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Tick; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Tick; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Tick; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IFolderLauncherOptions.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IFolderLauncherOptions.cs index 0f45f8a223..05616c14d0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IFolderLauncherOptions.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IFolderLauncherOptions.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_ItemsToSelect([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CIStorageItem_t **")] IVector** value) + public HRESULT get_ItemsToSelect([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CIStorageItem_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IFolderLauncherOptions*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IFolderLauncherOptions*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_ItemsToSelect([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CIStorageItem_t **")] IVector** value); + HRESULT get_ItemsToSelect([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CIStorageItem_t **")] IVector>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CStorage__CIStorageItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ItemsToSelect; + public delegate* unmanaged[MemberFunction]>**, int> get_ItemsToSelect; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics2.cs index ff049586f2..b790ae8442 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT LaunchUriForResultsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchUriForResultsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), uri, options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), uri, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT LaunchUriForResultsWithDataAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchUriForResultsWithDataAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), uri, options, inputData, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), uri, options, inputData, operation); } /// @@ -130,34 +130,34 @@ public HRESULT QueryFileSupportWithPackageFamilyNameAsync([NativeTypeName("ABI:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT FindUriSchemeHandlersAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation) + public HRESULT FindUriSchemeHandlersAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), scheme, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[13]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), scheme, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT FindUriSchemeHandlersWithLaunchUriTypeAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::System::LaunchQuerySupportType")] LaunchQuerySupportType launchQuerySupportType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation) + public HRESULT FindUriSchemeHandlersWithLaunchUriTypeAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::System::LaunchQuerySupportType")] LaunchQuerySupportType launchQuerySupportType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), scheme, launchQuerySupportType, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[14]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), scheme, launchQuerySupportType, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT FindFileHandlersAsync(HSTRING extension, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation) + public HRESULT FindFileHandlersAsync(HSTRING extension, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), extension, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[15]))((ILauncherStatics2*)Unsafe.AsPointer(ref this), extension, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT LaunchUriForResultsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation); + HRESULT LaunchUriForResultsAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT LaunchUriForResultsWithDataAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation); + HRESULT LaunchUriForResultsWithDataAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT LaunchUriWithDataAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -175,13 +175,13 @@ public interface Interface : IInspectable.Interface HRESULT QueryFileSupportWithPackageFamilyNameAsync([NativeTypeName("ABI::Windows::Storage::IStorageFile *")] IStorageFile* file, HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchQuerySupportStatus_t **")] IAsyncOperation** operation); [VtblIndex(13)] - HRESULT FindUriSchemeHandlersAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation); + HRESULT FindUriSchemeHandlersAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation); [VtblIndex(14)] - HRESULT FindUriSchemeHandlersWithLaunchUriTypeAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::System::LaunchQuerySupportType")] LaunchQuerySupportType launchQuerySupportType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation); + HRESULT FindUriSchemeHandlersWithLaunchUriTypeAsync(HSTRING scheme, [NativeTypeName("ABI::Windows::System::LaunchQuerySupportType")] LaunchQuerySupportType launchQuerySupportType, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation); [VtblIndex(15)] - HRESULT FindFileHandlersAsync(HSTRING extension, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation); + HRESULT FindFileHandlersAsync(HSTRING extension, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation); } public partial struct Vtbl @@ -206,10 +206,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::System::ILauncherOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchUriForResultsAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchUriForResultsAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::System::ILauncherOptions *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchUriForResultsWithDataAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchUriForResultsWithDataAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::System::ILauncherOptions *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> LaunchUriWithDataAsync; @@ -227,12 +227,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> QueryFileSupportWithPackageFamilyNameAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindUriSchemeHandlersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindUriSchemeHandlersAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::System::LaunchQuerySupportType, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindUriSchemeHandlersWithLaunchUriTypeAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindUriSchemeHandlersWithLaunchUriTypeAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindFileHandlersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindFileHandlersAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics4.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics4.cs index 5b1fb00c00..ddd8d92c2e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/ILauncherStatics4.cs @@ -90,9 +90,9 @@ public HRESULT QueryAppUriSupportWithPackageFamilyNameAsync([NativeTypeName("ABI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT FindAppUriHandlersAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation) + public HRESULT FindAppUriHandlersAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), uri, operation); } /// @@ -122,17 +122,17 @@ public HRESULT LaunchUriWithDataForUserAsync([NativeTypeName("ABI::Windows::Syst /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT LaunchUriForResultsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchUriForResultsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), user, uri, options, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), user, uri, options, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT LaunchUriForResultsWithDataForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation) + public HRESULT LaunchUriForResultsWithDataForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), user, uri, options, inputData, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[13]))((ILauncherStatics4*)Unsafe.AsPointer(ref this), user, uri, options, inputData, operation); } public interface Interface : IInspectable.Interface @@ -144,7 +144,7 @@ public interface Interface : IInspectable.Interface HRESULT QueryAppUriSupportWithPackageFamilyNameAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, HSTRING packageFamilyName, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchQuerySupportStatus_t **")] IAsyncOperation** operation); [VtblIndex(8)] - HRESULT FindAppUriHandlersAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation** operation); + HRESULT FindAppUriHandlersAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **")] IAsyncOperation>>>** operation); [VtblIndex(9)] HRESULT LaunchUriForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriStatus_t **")] IAsyncOperation** operation); @@ -156,10 +156,10 @@ public interface Interface : IInspectable.Interface HRESULT LaunchUriWithDataForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriStatus_t **")] IAsyncOperation** operation); [VtblIndex(12)] - HRESULT LaunchUriForResultsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation); + HRESULT LaunchUriForResultsForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation); [VtblIndex(13)] - HRESULT LaunchUriForResultsWithDataForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation** operation); + HRESULT LaunchUriForResultsWithDataForUserAsync([NativeTypeName("ABI::Windows::System::IUser *")] IUser* user, [NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::System::ILauncherOptions *")] ILauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::Collections::IPropertySet *")] IPropertySet* inputData, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -190,7 +190,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> QueryAppUriSupportWithPackageFamilyNameAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CApplicationModel__CAppInfo_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAppUriHandlersAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAppUriHandlersAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriStatus_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> LaunchUriForUserAsync; @@ -202,9 +202,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> LaunchUriWithDataForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::System::ILauncherOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchUriForResultsForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchUriForResultsForUserAsync; [NativeTypeName("HRESULT (ABI::Windows::System::IUser *, ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::System::ILauncherOptions *, ABI::Windows::Foundation::Collections::IPropertySet *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CLaunchUriResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> LaunchUriForResultsWithDataForUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> LaunchUriForResultsWithDataForUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IMemoryManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IMemoryManagerStatics.cs index 8f157ed240..968dcb9da9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IMemoryManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IMemoryManagerStatics.cs @@ -98,9 +98,9 @@ public HRESULT get_AppMemoryUsageLevel([NativeTypeName("ABI::Windows::System::Ap /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_AppMemoryUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AppMemoryUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_AppMemoryUsageIncreased(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_AppMemoryUsageDecreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AppMemoryUsageDecreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_AppMemoryUsageDecreased(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_AppMemoryUsageLimitChanging([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CAppMemoryUsageLimitChangingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AppMemoryUsageLimitChanging([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CAppMemoryUsageLimitChangingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IMemoryManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -155,19 +155,19 @@ public interface Interface : IInspectable.Interface HRESULT get_AppMemoryUsageLevel([NativeTypeName("ABI::Windows::System::AppMemoryUsageLevel *")] AppMemoryUsageLevel* value); [VtblIndex(9)] - HRESULT add_AppMemoryUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AppMemoryUsageIncreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_AppMemoryUsageIncreased(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_AppMemoryUsageDecreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AppMemoryUsageDecreased([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_AppMemoryUsageDecreased(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_AppMemoryUsageLimitChanging([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CAppMemoryUsageLimitChangingEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AppMemoryUsageLimitChanging([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CAppMemoryUsageLimitChangingEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_AppMemoryUsageLimitChanging(EventRegistrationToken token); @@ -204,19 +204,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AppMemoryUsageLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AppMemoryUsageIncreased; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_AppMemoryUsageIncreased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AppMemoryUsageIncreased; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AppMemoryUsageDecreased; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_AppMemoryUsageDecreased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AppMemoryUsageDecreased; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CAppMemoryUsageLimitChangingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AppMemoryUsageLimitChanging; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_AppMemoryUsageLimitChanging; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AppMemoryUsageLimitChanging; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IProcessLauncherStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IProcessLauncherStatics.cs index 0fd9d6a539..463fb69052 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IProcessLauncherStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IProcessLauncherStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RunToCompletionAsync(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation** asyncOperationResult) + public HRESULT RunToCompletionAsync(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation>** asyncOperationResult) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IProcessLauncherStatics*)Unsafe.AsPointer(ref this), fileName, args, asyncOperationResult); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IProcessLauncherStatics*)Unsafe.AsPointer(ref this), fileName, args, asyncOperationResult); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RunToCompletionAsyncWithOptions(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::System::IProcessLauncherOptions *")] IProcessLauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation** asyncOperationResult) + public HRESULT RunToCompletionAsyncWithOptions(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::System::IProcessLauncherOptions *")] IProcessLauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation>** asyncOperationResult) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IProcessLauncherStatics*)Unsafe.AsPointer(ref this), fileName, args, options, asyncOperationResult); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IProcessLauncherStatics*)Unsafe.AsPointer(ref this), fileName, args, options, asyncOperationResult); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RunToCompletionAsync(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation** asyncOperationResult); + HRESULT RunToCompletionAsync(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation>** asyncOperationResult); [VtblIndex(7)] - HRESULT RunToCompletionAsyncWithOptions(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::System::IProcessLauncherOptions *")] IProcessLauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation** asyncOperationResult); + HRESULT RunToCompletionAsyncWithOptions(HSTRING fileName, HSTRING args, [NativeTypeName("ABI::Windows::System::IProcessLauncherOptions *")] IProcessLauncherOptions* options, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **")] IAsyncOperation>** asyncOperationResult); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RunToCompletionAsync; + public delegate* unmanaged[MemberFunction]>**, int> RunToCompletionAsync; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::System::IProcessLauncherOptions *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CProcessLauncherResult_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RunToCompletionAsyncWithOptions; + public delegate* unmanaged[MemberFunction]>**, int> RunToCompletionAsyncWithOptions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IUser.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IUser.cs index e9e33b378c..cf8027e881 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IUser.cs @@ -98,25 +98,25 @@ public HRESULT get_Type([NativeTypeName("ABI::Windows::System::UserType *")] Use /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetPropertyAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation** operation) + public HRESULT GetPropertyAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IUser*)Unsafe.AsPointer(ref this), value, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IUser*)Unsafe.AsPointer(ref this), value, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t *")] IVectorView* values, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___F__CIPropertySet_t **")] IAsyncOperation** operation) + public HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t *")] IVectorView* values, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___F__CIPropertySet_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int>)(lpVtbl[10]))((IUser*)Unsafe.AsPointer(ref this), values, operation); + return ((delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int>)(lpVtbl[10]))((IUser*)Unsafe.AsPointer(ref this), values, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::System::UserPictureSize")] UserPictureSize desiredSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation** operation) + public HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::System::UserPictureSize")] UserPictureSize desiredSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IUser*)Unsafe.AsPointer(ref this), desiredSize, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IUser*)Unsafe.AsPointer(ref this), desiredSize, operation); } public interface Interface : IInspectable.Interface @@ -131,13 +131,13 @@ public interface Interface : IInspectable.Interface HRESULT get_Type([NativeTypeName("ABI::Windows::System::UserType *")] UserType* value); [VtblIndex(9)] - HRESULT GetPropertyAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation** operation); + HRESULT GetPropertyAsync(HSTRING value, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **")] IAsyncOperation>** operation); [VtblIndex(10)] - HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t *")] IVectorView* values, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___F__CIPropertySet_t **")] IAsyncOperation** operation); + HRESULT GetPropertiesAsync([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t *")] IVectorView* values, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___F__CIPropertySet_t **")] IAsyncOperation>** operation); [VtblIndex(11)] - HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::System::UserPictureSize")] UserPictureSize desiredSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation** operation); + HRESULT GetPictureAsync([NativeTypeName("ABI::Windows::System::UserPictureSize")] UserPictureSize desiredSize, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -171,12 +171,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Type; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPropertyAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPropertyAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t *, ABI::Windows::Foundation::__FIAsyncOperation_1___F__CIPropertySet_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IAsyncOperation**, int> GetPropertiesAsync; + public delegate* unmanaged[MemberFunction]*, IAsyncOperation>**, int> GetPropertiesAsync; [NativeTypeName("HRESULT (ABI::Windows::System::UserPictureSize, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIRandomAccessStreamReference_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetPictureAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetPictureAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserDeviceAssociationStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserDeviceAssociationStatics.cs index 4de8577643..00eb098807 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserDeviceAssociationStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserDeviceAssociationStatics.cs @@ -82,9 +82,9 @@ public HRESULT FindUserFromDeviceId(HSTRING deviceId, [NativeTypeName("ABI::Wind /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_UserDeviceAssociationChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CUserDeviceAssociationChangedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_UserDeviceAssociationChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CUserDeviceAssociationChangedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUserDeviceAssociationStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUserDeviceAssociationStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT FindUserFromDeviceId(HSTRING deviceId, [NativeTypeName("ABI::Windows::System::IUser **")] IUser** user); [VtblIndex(7)] - HRESULT add_UserDeviceAssociationChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CUserDeviceAssociationChangedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_UserDeviceAssociationChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CUserDeviceAssociationChangedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_UserDeviceAssociationChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] FindUserFromDeviceId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CSystem__CUserDeviceAssociationChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_UserDeviceAssociationChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_UserDeviceAssociationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_UserDeviceAssociationChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserPicker.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserPicker.cs index 21344f0dca..1bd785ee56 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserPicker.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserPicker.cs @@ -106,9 +106,9 @@ public HRESULT put_SuggestedSelectedUser([NativeTypeName("ABI::Windows::System:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT PickSingleUserAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation) + public HRESULT PickSingleUserAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CUser_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IUserPicker*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IUserPicker*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT put_SuggestedSelectedUser([NativeTypeName("ABI::Windows::System::IUser *")] IUser* value); [VtblIndex(10)] - HRESULT PickSingleUserAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation); + HRESULT PickSingleUserAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CUser_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_SuggestedSelectedUser; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CSystem__CUser_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PickSingleUserAsync; + public delegate* unmanaged[MemberFunction]>**, int> PickSingleUserAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserStatics.cs index 5c5b429cbb..2f02e4e394 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserStatics.cs @@ -82,27 +82,27 @@ public HRESULT CreateWatcher([NativeTypeName("ABI::Windows::System::IUserWatcher /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation) + public HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IUserStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IUserStatics*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] [Obsolete("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - public HRESULT FindAllAsyncByType([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation) + public HRESULT FindAllAsyncByType([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IUserStatics*)Unsafe.AsPointer(ref this), type, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[8]))((IUserStatics*)Unsafe.AsPointer(ref this), type, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - public HRESULT FindAllAsyncByTypeAndStatus([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::System::UserAuthenticationStatus")] UserAuthenticationStatus status, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation) + public HRESULT FindAllAsyncByTypeAndStatus([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::System::UserAuthenticationStatus")] UserAuthenticationStatus status, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IUserStatics*)Unsafe.AsPointer(ref this), type, status, operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[9]))((IUserStatics*)Unsafe.AsPointer(ref this), type, status, operation); } /// @@ -119,15 +119,15 @@ public interface Interface : IInspectable.Interface HRESULT CreateWatcher([NativeTypeName("ABI::Windows::System::IUserWatcher **")] IUserWatcher** result); [VtblIndex(7)] - HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation); + HRESULT FindAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation); [VtblIndex(8)] [Obsolete("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - HRESULT FindAllAsyncByType([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation); + HRESULT FindAllAsyncByType([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation); [VtblIndex(9)] [Obsolete("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - HRESULT FindAllAsyncByTypeAndStatus([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::System::UserAuthenticationStatus")] UserAuthenticationStatus status, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation** operation); + HRESULT FindAllAsyncByTypeAndStatus([NativeTypeName("ABI::Windows::System::UserType")] UserType type, [NativeTypeName("ABI::Windows::System::UserAuthenticationStatus")] UserAuthenticationStatus status, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **")] IAsyncOperation>>>** operation); [VtblIndex(10)] HRESULT GetFromId(HSTRING nonRoamableId, [NativeTypeName("ABI::Windows::System::IUser **")] IUser** result); @@ -158,15 +158,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateWatcher; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsync; [NativeTypeName("HRESULT (ABI::Windows::System::UserType, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **) __attribute__((stdcall))")] [Obsolete("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsyncByType; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsyncByType; [NativeTypeName("HRESULT (ABI::Windows::System::UserType, ABI::Windows::System::UserAuthenticationStatus, ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CSystem__CUser_t **) __attribute__((stdcall))")] [Obsolete("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.")] - public delegate* unmanaged[MemberFunction]**, int> FindAllAsyncByTypeAndStatus; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllAsyncByTypeAndStatus; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::System::IUser **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetFromId; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserWatcher.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserWatcher.cs index a2175333c3..14061e9b4a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IUserWatcher.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IUserWatcher.cs @@ -98,9 +98,9 @@ public HRESULT Stop() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Added(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Removed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -146,9 +146,9 @@ public HRESULT remove_Updated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_AuthenticationStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AuthenticationStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -162,9 +162,9 @@ public HRESULT remove_AuthenticationStatusChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_AuthenticationStatusChanging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserAuthenticationStatusChangingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AuthenticationStatusChanging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserAuthenticationStatusChangingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -178,9 +178,9 @@ public HRESULT remove_AuthenticationStatusChanging(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -194,9 +194,9 @@ public HRESULT remove_EnumerationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[21]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[21]))((IUserWatcher*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -219,43 +219,43 @@ public interface Interface : IInspectable.Interface HRESULT Stop(); [VtblIndex(9)] - HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Added([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Added(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Removed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Removed(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Updated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_Updated(EventRegistrationToken token); [VtblIndex(15)] - HRESULT add_AuthenticationStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AuthenticationStatusChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(16)] HRESULT remove_AuthenticationStatusChanged(EventRegistrationToken token); [VtblIndex(17)] - HRESULT add_AuthenticationStatusChanging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserAuthenticationStatusChangingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AuthenticationStatusChanging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserAuthenticationStatusChangingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(18)] HRESULT remove_AuthenticationStatusChanging(EventRegistrationToken token); [VtblIndex(19)] - HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_EnumerationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_EnumerationCompleted(EventRegistrationToken token); [VtblIndex(21)] - HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Stopped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(22)] HRESULT remove_Stopped(EventRegistrationToken token); @@ -292,43 +292,43 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Stop; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Added; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Added; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Added; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Removed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Removed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Removed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Updated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Updated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Updated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AuthenticationStatusChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AuthenticationStatusChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AuthenticationStatusChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_Windows__CSystem__CUserAuthenticationStatusChangingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AuthenticationStatusChanging; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AuthenticationStatusChanging; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AuthenticationStatusChanging; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_EnumerationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_EnumerationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_EnumerationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CSystem__CUserWatcher_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Stopped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Stopped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Stopped; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.core/ICompositorController.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.core/ICompositorController.cs index 9c2f9db9c2..a41f9bd248 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.core/ICompositorController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.core/ICompositorController.cs @@ -98,9 +98,9 @@ public HRESULT EnsurePreviousCommitCompletedAsync([NativeTypeName("ABI::Windows: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_CommitNeeded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CommitNeeded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICompositorController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICompositorController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT EnsurePreviousCommitCompletedAsync([NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(9)] - HRESULT add_CommitNeeded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CommitNeeded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_CommitNeeded(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] EnsurePreviousCommitCompletedAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCore__CCompositorController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CommitNeeded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CommitNeeded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CommitNeeded; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCapabilities.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCapabilities.cs index 93643365f6..7c35883cf0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCapabilities.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCapabilities.cs @@ -90,9 +90,9 @@ public HRESULT AreEffectsFast([NativeTypeName("boolean *")] byte* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionCapabilities_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionCapabilities_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICompositionCapabilities*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICompositionCapabilities*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT AreEffectsFast([NativeTypeName("boolean *")] byte* result); [VtblIndex(8)] - HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionCapabilities_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionCapabilities_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Changed(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] AreEffectsFast; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionCapabilities_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Changed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Changed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Changed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCommitBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCommitBatch.cs index e03dfa72fc..77d3ec38c1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCommitBatch.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionCommitBatch.cs @@ -90,9 +90,9 @@ public HRESULT get_IsEnded([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICompositionCommitBatch*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICompositionCommitBatch*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsEnded([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Completed(EventRegistrationToken token); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Completed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Completed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Completed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionContainerShape.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionContainerShape.cs index 778ff1c788..5110fbe502 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionContainerShape.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionContainerShape.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector** value) + public HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICompositionContainerShape*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICompositionContainerShape*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector** value); + HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Shapes; + public delegate* unmanaged[MemberFunction]>**, int> get_Shapes; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice.cs index 97cee52cd7..4230b4b0fc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice.cs @@ -82,9 +82,9 @@ public HRESULT CreateDrawingSurface([NativeTypeName("ABI::Windows::Foundation::S /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_RenderingDeviceReplaced([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionGraphicsDevice_Windows__CUI__CComposition__CRenderingDeviceReplacedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RenderingDeviceReplaced([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionGraphicsDevice_Windows__CUI__CComposition__CRenderingDeviceReplacedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICompositionGraphicsDevice*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICompositionGraphicsDevice*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateDrawingSurface([NativeTypeName("ABI::Windows::Foundation::Size")] Size sizePixels, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXPixelFormat")] DirectXPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXAlphaMode")] DirectXAlphaMode alphaMode, [NativeTypeName("ABI::Windows::UI::Composition::ICompositionDrawingSurface **")] ICompositionDrawingSurface** result); [VtblIndex(7)] - HRESULT add_RenderingDeviceReplaced([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionGraphicsDevice_Windows__CUI__CComposition__CRenderingDeviceReplacedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RenderingDeviceReplaced([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionGraphicsDevice_Windows__CUI__CComposition__CRenderingDeviceReplacedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_RenderingDeviceReplaced(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateDrawingSurface; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CComposition__CCompositionGraphicsDevice_Windows__CUI__CComposition__CRenderingDeviceReplacedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RenderingDeviceReplaced; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RenderingDeviceReplaced; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RenderingDeviceReplaced; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice4.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice4.cs index 3d98786d91..669c2b3b74 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGraphicsDevice4.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::UI::Composition::IVisual *")] IVisual* captureVisual, [NativeTypeName("ABI::Windows::Graphics::SizeInt32")] SizeInt32 size, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXPixelFormat")] DirectXPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXAlphaMode")] DirectXAlphaMode alphaMode, float sdrBoost, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CComposition__CICompositionSurface_t **")] IAsyncOperation** operation) + public HRESULT CaptureAsync([NativeTypeName("ABI::Windows::UI::Composition::IVisual *")] IVisual* captureVisual, [NativeTypeName("ABI::Windows::Graphics::SizeInt32")] SizeInt32 size, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXPixelFormat")] DirectXPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXAlphaMode")] DirectXAlphaMode alphaMode, float sdrBoost, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CComposition__CICompositionSurface_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICompositionGraphicsDevice4*)Unsafe.AsPointer(ref this), captureVisual, size, pixelFormat, alphaMode, sdrBoost, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICompositionGraphicsDevice4*)Unsafe.AsPointer(ref this), captureVisual, size, pixelFormat, alphaMode, sdrBoost, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CaptureAsync([NativeTypeName("ABI::Windows::UI::Composition::IVisual *")] IVisual* captureVisual, [NativeTypeName("ABI::Windows::Graphics::SizeInt32")] SizeInt32 size, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXPixelFormat")] DirectXPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXAlphaMode")] DirectXAlphaMode alphaMode, float sdrBoost, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CComposition__CICompositionSurface_t **")] IAsyncOperation** operation); + HRESULT CaptureAsync([NativeTypeName("ABI::Windows::UI::Composition::IVisual *")] IVisual* captureVisual, [NativeTypeName("ABI::Windows::Graphics::SizeInt32")] SizeInt32 size, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXPixelFormat")] DirectXPixelFormat pixelFormat, [NativeTypeName("ABI::Windows::Graphics::DirectX::DirectXAlphaMode")] DirectXAlphaMode alphaMode, float sdrBoost, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CComposition__CICompositionSurface_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::UI::Composition::IVisual *, ABI::Windows::Graphics::SizeInt32, ABI::Windows::Graphics::DirectX::DirectXPixelFormat, ABI::Windows::Graphics::DirectX::DirectXAlphaMode, FLOAT, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CComposition__CICompositionSurface_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> CaptureAsync; + public delegate* unmanaged[MemberFunction]>**, int> CaptureAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionScopedBatch.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionScopedBatch.cs index 54f3ac972f..45219d0227 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionScopedBatch.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionScopedBatch.cs @@ -114,9 +114,9 @@ public HRESULT Suspend() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICompositionScopedBatch*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICompositionScopedBatch*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT Suspend(); [VtblIndex(11)] - HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Completed(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Suspend; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CComposition__CCompositionBatchCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Completed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Completed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Completed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IShapeVisual.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IShapeVisual.cs index 1b636b363b..2497136ebc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IShapeVisual.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IShapeVisual.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector** value) + public HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IShapeVisual*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IShapeVisual*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT put_ViewBox([NativeTypeName("ABI::Windows::UI::Composition::IComp public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector** value); + HRESULT get_Shapes([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_ViewBox([NativeTypeName("ABI::Windows::UI::Composition::ICompositionViewBox **")] ICompositionViewBox** value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CCompositionShape_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Shapes; + public delegate* unmanaged[MemberFunction]>**, int> get_Shapes; [NativeTypeName("HRESULT (ABI::Windows::UI::Composition::ICompositionViewBox **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ViewBox; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreAcceleratorKeys.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreAcceleratorKeys.cs index 78376cc65a..8b0c2a04b7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreAcceleratorKeys.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreAcceleratorKeys.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AcceleratorKeyActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreDispatcher_Windows__CUI__CCore__CAcceleratorKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_AcceleratorKeyActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreDispatcher_Windows__CUI__CCore__CAcceleratorKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreAcceleratorKeys*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreAcceleratorKeys*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_AcceleratorKeyActivated(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AcceleratorKeyActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreDispatcher_Windows__CUI__CCore__CAcceleratorKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_AcceleratorKeyActivated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreDispatcher_Windows__CUI__CCore__CAcceleratorKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(7)] HRESULT remove_AcceleratorKeyActivated(EventRegistrationToken cookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreDispatcher_Windows__CUI__CCore__CAcceleratorKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AcceleratorKeyActivated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AcceleratorKeyActivated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AcceleratorKeyActivated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreClosestInteractiveBoundsRequested.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreClosestInteractiveBoundsRequested.cs index fd97cd91e6..35f74aa5fe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreClosestInteractiveBoundsRequested.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreClosestInteractiveBoundsRequested.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreComponentInputSource_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreComponentInputSource_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreClosestInteractiveBoundsRequested*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreClosestInteractiveBoundsRequested*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ClosestInteractiveBoundsRequested(EventRegistrationToken c public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreComponentInputSource_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreComponentInputSource_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler>* handler, EventRegistrationToken* pCookie); [VtblIndex(7)] HRESULT remove_ClosestInteractiveBoundsRequested(EventRegistrationToken cookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreComponentInputSource_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ClosestInteractiveBoundsRequested; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ClosestInteractiveBoundsRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ClosestInteractiveBoundsRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreComponentFocusable.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreComponentFocusable.cs index 01a2e1c667..f41240a9f9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreComponentFocusable.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreComponentFocusable.cs @@ -82,9 +82,9 @@ public HRESULT get_HasFocus([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_GotFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_GotFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreComponentFocusable*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreComponentFocusable*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -98,9 +98,9 @@ public HRESULT remove_GotFocus(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_LostFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_LostFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreComponentFocusable*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreComponentFocusable*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -117,13 +117,13 @@ public interface Interface : IInspectable.Interface HRESULT get_HasFocus([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT add_GotFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_GotFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(8)] HRESULT remove_GotFocus(EventRegistrationToken cookie); [VtblIndex(9)] - HRESULT add_LostFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_LostFocus([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(10)] HRESULT remove_LostFocus(EventRegistrationToken cookie); @@ -154,13 +154,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_HasFocus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_GotFocus; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_GotFocus; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_GotFocus; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCoreWindowEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LostFocus; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LostFocus; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LostFocus; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreInputSourceBase.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreInputSourceBase.cs index d0c3a63900..e04f8451c4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreInputSourceBase.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreInputSourceBase.cs @@ -98,9 +98,9 @@ public HRESULT put_IsInputEnabled([NativeTypeName("boolean")] byte value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreInputSourceBase*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreInputSourceBase*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT put_IsInputEnabled([NativeTypeName("boolean")] byte value); [VtblIndex(9)] - HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(10)] HRESULT remove_InputEnabled(EventRegistrationToken cookie); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsInputEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CInputEnabledEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InputEnabled; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InputEnabled; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InputEnabled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreKeyboardInputSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreKeyboardInputSource.cs index b246ede472..5979bf7bda 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreKeyboardInputSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreKeyboardInputSource.cs @@ -82,9 +82,9 @@ public HRESULT GetCurrentKeyState([NativeTypeName("ABI::Windows::System::Virtual /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -98,9 +98,9 @@ public HRESULT remove_CharacterReceived(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -114,9 +114,9 @@ public HRESULT remove_KeyDown(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((ICoreKeyboardInputSource*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -133,19 +133,19 @@ public interface Interface : IInspectable.Interface HRESULT GetCurrentKeyState([NativeTypeName("ABI::Windows::System::VirtualKey")] VirtualKey virtualKey, [NativeTypeName("ABI::Windows::UI::Core::CoreVirtualKeyStates *")] CoreVirtualKeyStates* KeyState); [VtblIndex(7)] - HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(8)] HRESULT remove_CharacterReceived(EventRegistrationToken cookie); [VtblIndex(9)] - HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(10)] HRESULT remove_KeyDown(EventRegistrationToken cookie); [VtblIndex(11)] - HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(12)] HRESULT remove_KeyUp(EventRegistrationToken cookie); @@ -176,19 +176,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetCurrentKeyState; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CharacterReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CharacterReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CharacterReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyDown; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyDown; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyDown; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyUp; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyUp; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyUp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerInputSource.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerInputSource.cs index ae7a039077..6188df1fab 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerInputSource.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerInputSource.cs @@ -122,9 +122,9 @@ public HRESULT put_PointerCursor([NativeTypeName("ABI::Windows::UI::Core::ICoreC /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -138,9 +138,9 @@ public HRESULT remove_PointerCaptureLost(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -154,9 +154,9 @@ public HRESULT remove_PointerEntered(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -170,9 +170,9 @@ public HRESULT remove_PointerExited(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -186,9 +186,9 @@ public HRESULT remove_PointerMoved(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -202,9 +202,9 @@ public HRESULT remove_PointerPressed(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[22]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -218,9 +218,9 @@ public HRESULT remove_PointerReleased(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICorePointerInputSource*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -252,43 +252,43 @@ public interface Interface : IInspectable.Interface HRESULT put_PointerCursor([NativeTypeName("ABI::Windows::UI::Core::ICoreCursor *")] ICoreCursor* value); [VtblIndex(12)] - HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(13)] HRESULT remove_PointerCaptureLost(EventRegistrationToken cookie); [VtblIndex(14)] - HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(15)] HRESULT remove_PointerEntered(EventRegistrationToken cookie); [VtblIndex(16)] - HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(17)] HRESULT remove_PointerExited(EventRegistrationToken cookie); [VtblIndex(18)] - HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(19)] HRESULT remove_PointerMoved(EventRegistrationToken cookie); [VtblIndex(20)] - HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(21)] HRESULT remove_PointerPressed(EventRegistrationToken cookie); [VtblIndex(22)] - HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(23)] HRESULT remove_PointerReleased(EventRegistrationToken cookie); [VtblIndex(24)] - HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(25)] HRESULT remove_PointerWheelChanged(EventRegistrationToken cookie); @@ -334,43 +334,43 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_PointerCursor; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerCaptureLost; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerCaptureLost; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerCaptureLost; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerEntered; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerEntered; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerEntered; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerExited; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerExited; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerExited; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerMoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerMoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerMoved; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerPressed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerReleased; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerReleased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerReleased; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerWheelChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerWheelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerWheelChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerRedirector.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerRedirector.cs index dfc752ffb2..6c52a5c470 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerRedirector.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICorePointerRedirector.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PointerRoutedAway([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerRoutedAway([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -90,9 +90,9 @@ public HRESULT remove_PointerRoutedAway(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_PointerRoutedTo([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerRoutedTo([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -106,9 +106,9 @@ public HRESULT remove_PointerRoutedTo(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_PointerRoutedReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerRoutedReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ICorePointerRedirector*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -122,19 +122,19 @@ public HRESULT remove_PointerRoutedReleased(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PointerRoutedAway([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerRoutedAway([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_PointerRoutedAway(EventRegistrationToken cookie); [VtblIndex(8)] - HRESULT add_PointerRoutedTo([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerRoutedTo([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(9)] HRESULT remove_PointerRoutedTo(EventRegistrationToken cookie); [VtblIndex(10)] - HRESULT add_PointerRoutedReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerRoutedReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(11)] HRESULT remove_PointerRoutedReleased(EventRegistrationToken cookie); @@ -162,19 +162,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerRoutedAway; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerRoutedAway; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerRoutedAway; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerRoutedTo; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerRoutedTo; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerRoutedTo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CICorePointerRedirector_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerRoutedReleased; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerRoutedReleased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerRoutedReleased; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreTouchHitTesting.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreTouchHitTesting.cs index 04c1a8265e..d16b76377e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreTouchHitTesting.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreTouchHitTesting.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreTouchHitTesting*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreTouchHitTesting*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_TouchHitTesting(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(7)] HRESULT remove_TouchHitTesting(EventRegistrationToken cookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_IInspectable_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TouchHitTesting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TouchHitTesting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TouchHitTesting; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow.cs index cb3fd10b43..28b70511a8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow.cs @@ -218,9 +218,9 @@ public HRESULT SetPointerCapture() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -234,9 +234,9 @@ public HRESULT remove_Activated(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT add_AutomationProviderRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CAutomationProviderRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_AutomationProviderRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CAutomationProviderRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[26]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[26]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -250,9 +250,9 @@ public HRESULT remove_AutomationProviderRequested(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[28]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[28]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -266,9 +266,9 @@ public HRESULT remove_CharacterReceived(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[30]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[30]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -282,9 +282,9 @@ public HRESULT remove_Closed(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[32]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[32]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -298,9 +298,9 @@ public HRESULT remove_InputEnabled(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[34]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[34]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -314,9 +314,9 @@ public HRESULT remove_KeyDown(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] - public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[36]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[36]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -330,9 +330,9 @@ public HRESULT remove_KeyUp(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[38]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[38]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -346,9 +346,9 @@ public HRESULT remove_PointerCaptureLost(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[40]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[40]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -362,9 +362,9 @@ public HRESULT remove_PointerEntered(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[42]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[42]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -378,9 +378,9 @@ public HRESULT remove_PointerExited(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] - public HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[44]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[44]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -394,9 +394,9 @@ public HRESULT remove_PointerMoved(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[46]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[46]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -410,9 +410,9 @@ public HRESULT remove_PointerPressed(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[48]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[48]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -426,9 +426,9 @@ public HRESULT remove_PointerReleased(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[50]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[50]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -442,9 +442,9 @@ public HRESULT remove_TouchHitTesting(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[52]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[52]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -458,9 +458,9 @@ public HRESULT remove_PointerWheelChanged(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public HRESULT add_SizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowSizeChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_SizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowSizeChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[54]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[54]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -474,9 +474,9 @@ public HRESULT remove_SizeChanged(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] - public HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CVisibilityChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CVisibilityChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[56]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[56]))((ICoreWindow*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -544,103 +544,103 @@ public interface Interface : IInspectable.Interface HRESULT SetPointerCapture(); [VtblIndex(24)] - HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowActivatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowActivatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(25)] HRESULT remove_Activated(EventRegistrationToken cookie); [VtblIndex(26)] - HRESULT add_AutomationProviderRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CAutomationProviderRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_AutomationProviderRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CAutomationProviderRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(27)] HRESULT remove_AutomationProviderRequested(EventRegistrationToken cookie); [VtblIndex(28)] - HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_CharacterReceived([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(29)] HRESULT remove_CharacterReceived(EventRegistrationToken cookie); [VtblIndex(30)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(31)] HRESULT remove_Closed(EventRegistrationToken cookie); [VtblIndex(32)] - HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_InputEnabled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CInputEnabledEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(33)] HRESULT remove_InputEnabled(EventRegistrationToken cookie); [VtblIndex(34)] - HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(35)] HRESULT remove_KeyDown(EventRegistrationToken cookie); [VtblIndex(36)] - HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(37)] HRESULT remove_KeyUp(EventRegistrationToken cookie); [VtblIndex(38)] - HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerCaptureLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(39)] HRESULT remove_PointerCaptureLost(EventRegistrationToken cookie); [VtblIndex(40)] - HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerEntered([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(41)] HRESULT remove_PointerEntered(EventRegistrationToken cookie); [VtblIndex(42)] - HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerExited([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(43)] HRESULT remove_PointerExited(EventRegistrationToken cookie); [VtblIndex(44)] - HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerMoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(45)] HRESULT remove_PointerMoved(EventRegistrationToken cookie); [VtblIndex(46)] - HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(47)] HRESULT remove_PointerPressed(EventRegistrationToken cookie); [VtblIndex(48)] - HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(49)] HRESULT remove_PointerReleased(EventRegistrationToken cookie); [VtblIndex(50)] - HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_TouchHitTesting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(51)] HRESULT remove_TouchHitTesting(EventRegistrationToken cookie); [VtblIndex(52)] - HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_PointerWheelChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(53)] HRESULT remove_PointerWheelChanged(EventRegistrationToken cookie); [VtblIndex(54)] - HRESULT add_SizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowSizeChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_SizeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowSizeChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(55)] HRESULT remove_SizeChanged(EventRegistrationToken cookie); [VtblIndex(56)] - HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CVisibilityChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_VisibilityChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CVisibilityChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(57)] HRESULT remove_VisibilityChanged(EventRegistrationToken cookie); @@ -722,103 +722,103 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SetPointerCapture; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowActivatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Activated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Activated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Activated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CAutomationProviderRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AutomationProviderRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AutomationProviderRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AutomationProviderRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCharacterReceivedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CharacterReceived; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CharacterReceived; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CharacterReceived; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CInputEnabledEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InputEnabled; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InputEnabled; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InputEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyDown; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyDown; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyDown; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyUp; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyUp; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyUp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerCaptureLost; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerCaptureLost; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerCaptureLost; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerEntered; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerEntered; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerEntered; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerExited; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerExited; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerExited; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerMoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerMoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerMoved; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerPressed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerReleased; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerReleased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerReleased; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CTouchHitTestingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TouchHitTesting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TouchHitTesting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TouchHitTesting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CPointerEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PointerWheelChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PointerWheelChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PointerWheelChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CWindowSizeChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SizeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SizeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SizeChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CVisibilityChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VisibilityChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VisibilityChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VisibilityChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow3.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow3.cs index e19befc058..3386de65fb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindow3*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindow3*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -98,7 +98,7 @@ public HRESULT GetCurrentKeyEventDeviceId(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_ClosestInteractiveBoundsRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(7)] HRESULT remove_ClosestInteractiveBoundsRequested(EventRegistrationToken cookie); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CClosestInteractiveBoundsRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ClosestInteractiveBoundsRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ClosestInteractiveBoundsRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ClosestInteractiveBoundsRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow4.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow4.cs index f7620c74d9..87b2c35fbe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindow4.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ResizeStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_ResizeStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindow4*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindow4*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -90,9 +90,9 @@ public HRESULT remove_ResizeStarted(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ResizeCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie) + public HRESULT add_ResizeCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreWindow4*)Unsafe.AsPointer(ref this), handler, pCookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreWindow4*)Unsafe.AsPointer(ref this), handler, pCookie); } /// @@ -106,13 +106,13 @@ public HRESULT remove_ResizeCompleted(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ResizeStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_ResizeStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(7)] HRESULT remove_ResizeStarted(EventRegistrationToken cookie); [VtblIndex(8)] - HRESULT add_ResizeCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* pCookie); + HRESULT add_ResizeCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* pCookie); [VtblIndex(9)] HRESULT remove_ResizeCompleted(EventRegistrationToken cookie); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ResizeStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ResizeStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ResizeStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ResizeCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ResizeCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ResizeCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowDialog.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowDialog.cs index 6f1e1aef79..3c9a9c23c4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowDialog.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowDialog.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -138,9 +138,9 @@ public HRESULT put_IsInteractionDelayed([NativeTypeName("INT32")] int value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value) + public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), value); } /// @@ -194,15 +194,15 @@ public HRESULT put_BackButtonCommand([NativeTypeName("ABI::Windows::UI::Popups:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncInfo) + public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[21]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[21]))((ICoreWindowDialog*)Unsafe.AsPointer(ref this), asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_Showing(EventRegistrationToken cookie); @@ -226,7 +226,7 @@ public interface Interface : IInspectable.Interface HRESULT put_IsInteractionDelayed([NativeTypeName("INT32")] int value); [VtblIndex(14)] - HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value); + HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value); [VtblIndex(15)] HRESULT get_DefaultCommandIndex([NativeTypeName("UINT32 *")] uint* value); @@ -247,7 +247,7 @@ public interface Interface : IInspectable.Interface HRESULT put_BackButtonCommand([NativeTypeName("ABI::Windows::UI::Popups::IUICommandInvokedHandler *")] IUICommandInvokedHandler* value); [VtblIndex(21)] - HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncInfo); + HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -272,7 +272,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Showing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Showing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Showing; @@ -296,7 +296,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsInteractionDelayed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Commands; + public delegate* unmanaged[MemberFunction]>**, int> get_Commands; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultCommandIndex; @@ -317,6 +317,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_BackButtonCommand; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsync; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowFlyout.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowFlyout.cs index f2bfc6a900..d472d7b93d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowFlyout.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ICoreWindowFlyout.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -138,9 +138,9 @@ public HRESULT put_IsInteractionDelayed([NativeTypeName("INT32")] int value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value) + public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), value); } /// @@ -178,15 +178,15 @@ public HRESULT put_BackButtonCommand([NativeTypeName("ABI::Windows::UI::Popups:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncInfo) + public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncInfo) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[19]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), asyncInfo); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[19]))((ICoreWindowFlyout*)Unsafe.AsPointer(ref this), asyncInfo); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_Showing(EventRegistrationToken cookie); @@ -210,7 +210,7 @@ public interface Interface : IInspectable.Interface HRESULT put_IsInteractionDelayed([NativeTypeName("INT32")] int value); [VtblIndex(14)] - HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value); + HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value); [VtblIndex(15)] HRESULT get_DefaultCommandIndex([NativeTypeName("UINT32 *")] uint* value); @@ -225,7 +225,7 @@ public interface Interface : IInspectable.Interface HRESULT put_BackButtonCommand([NativeTypeName("ABI::Windows::UI::Popups::IUICommandInvokedHandler *")] IUICommandInvokedHandler* value); [VtblIndex(19)] - HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncInfo); + HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncInfo); } public partial struct Vtbl @@ -250,7 +250,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CCore__CCoreWindow_Windows__CUI__CCore__CCoreWindowPopupShowingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Showing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Showing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Showing; @@ -274,7 +274,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsInteractionDelayed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Commands; + public delegate* unmanaged[MemberFunction]>**, int> get_Commands; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultCommandIndex; @@ -289,6 +289,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_BackButtonCommand; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsync; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/IPointerEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/IPointerEventArgs.cs index e825da9955..c8e4af3979 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/IPointerEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/IPointerEventArgs.cs @@ -90,9 +90,9 @@ public HRESULT get_KeyModifiers([NativeTypeName("ABI::Windows::System::VirtualKe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetIntermediatePoints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** value) + public HRESULT GetIntermediatePoints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPointerEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IPointerEventArgs*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_KeyModifiers([NativeTypeName("ABI::Windows::System::VirtualKeyModifiers *")] VirtualKeyModifiers* value); [VtblIndex(8)] - HRESULT GetIntermediatePoints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** value); + HRESULT GetIntermediatePoints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_KeyModifiers; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIntermediatePoints; + public delegate* unmanaged[MemberFunction]>**, int> GetIntermediatePoints; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ISystemNavigationManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ISystemNavigationManager.cs index 8d90105bbe..b2fa8dfd8a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ISystemNavigationManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.core/ISystemNavigationManager.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_BackRequested([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CUI__CCore__CBackRequestedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_BackRequested([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CUI__CCore__CBackRequestedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISystemNavigationManager*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISystemNavigationManager*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_BackRequested(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_BackRequested([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CUI__CCore__CBackRequestedEventArgs_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_BackRequested([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_Windows__CUI__CCore__CBackRequestedEventArgs_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_BackRequested(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_Windows__CUI__CCore__CBackRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_BackRequested; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_BackRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_BackRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IEdgeGesture.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IEdgeGesture.cs index ea6db5362b..e6a1228b8c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IEdgeGesture.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IEdgeGesture.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Starting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_Completed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IEdgeGesture*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,19 +122,19 @@ public HRESULT remove_Canceled(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Starting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Starting(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Completed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Completed(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Canceled([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_Canceled(EventRegistrationToken token); @@ -162,19 +162,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Starting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Starting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Starting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Completed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Completed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Completed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CEdgeGesture_Windows__CUI__CInput__CEdgeGestureEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Canceled; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Canceled; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Canceled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IGestureRecognizer.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IGestureRecognizer.cs index 97633736dc..8e4e6a105e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IGestureRecognizer.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IGestureRecognizer.cs @@ -354,9 +354,9 @@ public HRESULT ProcessDownEvent([NativeTypeName("ABI::Windows::UI::Input::IPoint /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public HRESULT ProcessMoveEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t *")] IVector* value) + public HRESULT ProcessMoveEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t *")] IVector>* value) { - return ((delegate* unmanaged[MemberFunction]*, int>)(lpVtbl[41]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>*, int>)(lpVtbl[41]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), value); } /// @@ -394,9 +394,9 @@ public HRESULT CompleteGesture() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public HRESULT add_Tapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CTappedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Tapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CTappedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[46]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[46]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -410,9 +410,9 @@ public HRESULT remove_Tapped(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public HRESULT add_RightTapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CRightTappedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RightTapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CRightTappedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[48]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[48]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -426,9 +426,9 @@ public HRESULT remove_RightTapped(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public HRESULT add_Holding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CHoldingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Holding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CHoldingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[50]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[50]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -442,9 +442,9 @@ public HRESULT remove_Holding(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public HRESULT add_Dragging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CDraggingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Dragging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CDraggingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[52]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[52]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -458,9 +458,9 @@ public HRESULT remove_Dragging(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public HRESULT add_ManipulationStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ManipulationStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[54]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[54]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -474,9 +474,9 @@ public HRESULT remove_ManipulationStarted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] - public HRESULT add_ManipulationUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ManipulationUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[56]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[56]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -490,9 +490,9 @@ public HRESULT remove_ManipulationUpdated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] - public HRESULT add_ManipulationInertiaStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationInertiaStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ManipulationInertiaStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationInertiaStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[58]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[58]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -506,9 +506,9 @@ public HRESULT remove_ManipulationInertiaStarting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(60)] - public HRESULT add_ManipulationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ManipulationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[60]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[60]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -522,9 +522,9 @@ public HRESULT remove_ManipulationCompleted(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(62)] - public HRESULT add_CrossSliding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CCrossSlidingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CrossSliding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CCrossSlidingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[62]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[62]))((IGestureRecognizer*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -643,7 +643,7 @@ public interface Interface : IInspectable.Interface HRESULT ProcessDownEvent([NativeTypeName("ABI::Windows::UI::Input::IPointerPoint *")] IPointerPoint* value); [VtblIndex(41)] - HRESULT ProcessMoveEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t *")] IVector* value); + HRESULT ProcessMoveEvents([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t *")] IVector>* value); [VtblIndex(42)] HRESULT ProcessUpEvent([NativeTypeName("ABI::Windows::UI::Input::IPointerPoint *")] IPointerPoint* value); @@ -658,55 +658,55 @@ public interface Interface : IInspectable.Interface HRESULT CompleteGesture(); [VtblIndex(46)] - HRESULT add_Tapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CTappedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Tapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CTappedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(47)] HRESULT remove_Tapped(EventRegistrationToken token); [VtblIndex(48)] - HRESULT add_RightTapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CRightTappedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RightTapped([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CRightTappedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(49)] HRESULT remove_RightTapped(EventRegistrationToken token); [VtblIndex(50)] - HRESULT add_Holding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CHoldingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Holding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CHoldingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(51)] HRESULT remove_Holding(EventRegistrationToken token); [VtblIndex(52)] - HRESULT add_Dragging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CDraggingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Dragging([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CDraggingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(53)] HRESULT remove_Dragging(EventRegistrationToken token); [VtblIndex(54)] - HRESULT add_ManipulationStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ManipulationStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(55)] HRESULT remove_ManipulationStarted(EventRegistrationToken token); [VtblIndex(56)] - HRESULT add_ManipulationUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationUpdatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ManipulationUpdated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationUpdatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(57)] HRESULT remove_ManipulationUpdated(EventRegistrationToken token); [VtblIndex(58)] - HRESULT add_ManipulationInertiaStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationInertiaStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ManipulationInertiaStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationInertiaStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(59)] HRESULT remove_ManipulationInertiaStarting(EventRegistrationToken token); [VtblIndex(60)] - HRESULT add_ManipulationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ManipulationCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(61)] HRESULT remove_ManipulationCompleted(EventRegistrationToken token); [VtblIndex(62)] - HRESULT add_CrossSliding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CCrossSlidingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CrossSliding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CCrossSlidingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(63)] HRESULT remove_CrossSliding(EventRegistrationToken token); @@ -839,7 +839,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ProcessDownEvent; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, int> ProcessMoveEvents; + public delegate* unmanaged[MemberFunction]>*, int> ProcessMoveEvents; [NativeTypeName("HRESULT (ABI::Windows::UI::Input::IPointerPoint *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ProcessUpEvent; @@ -854,55 +854,55 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CompleteGesture; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CTappedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Tapped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Tapped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Tapped; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CRightTappedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RightTapped; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RightTapped; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RightTapped; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CHoldingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Holding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Holding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Holding; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CDraggingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Dragging; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Dragging; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Dragging; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationStartedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ManipulationStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ManipulationStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ManipulationStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationUpdatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ManipulationUpdated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ManipulationUpdated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ManipulationUpdated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationInertiaStartingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ManipulationInertiaStarting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ManipulationInertiaStarting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ManipulationInertiaStarting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CManipulationCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ManipulationCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ManipulationCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ManipulationCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CGestureRecognizer_Windows__CUI__CInput__CCrossSlidingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CrossSliding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CrossSliding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CrossSliding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IInputActivationListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IInputActivationListener.cs index a31acc16c8..d408c47e4b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IInputActivationListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IInputActivationListener.cs @@ -82,9 +82,9 @@ public HRESULT get_State([NativeTypeName("ABI::Windows::UI::Input::InputActivati /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_InputActivationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CInputActivationListener_Windows__CUI__CInput__CInputActivationListenerActivationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_InputActivationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CInputActivationListener_Windows__CUI__CInput__CInputActivationListenerActivationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IInputActivationListener*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IInputActivationListener*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_State([NativeTypeName("ABI::Windows::UI::Input::InputActivationState *")] InputActivationState* value); [VtblIndex(7)] - HRESULT add_InputActivationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CInputActivationListener_Windows__CUI__CInput__CInputActivationListenerActivationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_InputActivationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CInputActivationListener_Windows__CUI__CInput__CInputActivationListenerActivationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_InputActivationChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_State; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CInputActivationListener_Windows__CUI__CInput__CInputActivationListenerActivationChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InputActivationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InputActivationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InputActivationChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IKeyboardDeliveryInterceptor.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IKeyboardDeliveryInterceptor.cs index 5cda769c9e..2ee62ed5af 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IKeyboardDeliveryInterceptor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IKeyboardDeliveryInterceptor.cs @@ -90,9 +90,9 @@ public HRESULT put_IsInterceptionEnabledWhenInForeground([NativeTypeName("boolea /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IKeyboardDeliveryInterceptor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IKeyboardDeliveryInterceptor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_KeyDown(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IKeyboardDeliveryInterceptor*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IKeyboardDeliveryInterceptor*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -128,13 +128,13 @@ public interface Interface : IInspectable.Interface HRESULT put_IsInterceptionEnabledWhenInForeground([NativeTypeName("boolean")] byte value); [VtblIndex(8)] - HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_KeyDown([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_KeyDown(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_KeyUp([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_KeyUp(EventRegistrationToken token); @@ -168,13 +168,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_IsInterceptionEnabledWhenInForeground; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyDown; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyDown; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyDown; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CKeyboardDeliveryInterceptor_Windows__CUI__CCore__CKeyEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_KeyUp; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_KeyUp; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_KeyUp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IPointerPointStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IPointerPointStatics.cs index 5dd944c563..21001b4297 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IPointerPointStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IPointerPointStatics.cs @@ -82,9 +82,9 @@ public HRESULT GetCurrentPoint([NativeTypeName("UINT32")] uint pointerId, [Nativ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetIntermediatePoints([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** pointerPoints) + public HRESULT GetIntermediatePoints([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** pointerPoints) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPointerPointStatics*)Unsafe.AsPointer(ref this), pointerId, pointerPoints); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPointerPointStatics*)Unsafe.AsPointer(ref this), pointerId, pointerPoints); } /// @@ -98,9 +98,9 @@ public HRESULT GetCurrentPointTransformed([NativeTypeName("UINT32")] uint pointe /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetIntermediatePointsTransformed([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPointTransform *")] IPointerPointTransform* transform, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** pointerPoints) + public HRESULT GetIntermediatePointsTransformed([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPointTransform *")] IPointerPointTransform* transform, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** pointerPoints) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPointerPointStatics*)Unsafe.AsPointer(ref this), pointerId, transform, pointerPoints); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IPointerPointStatics*)Unsafe.AsPointer(ref this), pointerId, transform, pointerPoints); } public interface Interface : IInspectable.Interface @@ -109,13 +109,13 @@ public interface Interface : IInspectable.Interface HRESULT GetCurrentPoint([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPoint **")] IPointerPoint** pointerPoint); [VtblIndex(7)] - HRESULT GetIntermediatePoints([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** pointerPoints); + HRESULT GetIntermediatePoints([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** pointerPoints); [VtblIndex(8)] HRESULT GetCurrentPointTransformed([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPointTransform *")] IPointerPointTransform* transform, [NativeTypeName("ABI::Windows::UI::Input::IPointerPoint **")] IPointerPoint** pointerPoint); [VtblIndex(9)] - HRESULT GetIntermediatePointsTransformed([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPointTransform *")] IPointerPointTransform* transform, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector** pointerPoints); + HRESULT GetIntermediatePointsTransformed([NativeTypeName("UINT32")] uint pointerId, [NativeTypeName("ABI::Windows::UI::Input::IPointerPointTransform *")] IPointerPointTransform* transform, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **")] IVector>** pointerPoints); } public partial struct Vtbl @@ -143,12 +143,12 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetCurrentPoint; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIntermediatePoints; + public delegate* unmanaged[MemberFunction]>**, int> GetIntermediatePoints; [NativeTypeName("HRESULT (UINT32, ABI::Windows::UI::Input::IPointerPointTransform *, ABI::Windows::UI::Input::IPointerPoint **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetCurrentPointTransformed; [NativeTypeName("HRESULT (UINT32, ABI::Windows::UI::Input::IPointerPointTransform *, ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CPointerPoint_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetIntermediatePointsTransformed; + public delegate* unmanaged[MemberFunction]>**, int> GetIntermediatePointsTransformed; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController.cs index 24c9103f2f..67ec9f2988 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController.cs @@ -114,9 +114,9 @@ public HRESULT put_UseAutomaticHapticFeedback([NativeTypeName("boolean")] byte v /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_ScreenContactStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ScreenContactStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -130,9 +130,9 @@ public HRESULT remove_ScreenContactStarted(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_ScreenContactEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ScreenContactEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -146,9 +146,9 @@ public HRESULT remove_ScreenContactEnded(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT add_ScreenContactContinued([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactContinuedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ScreenContactContinued([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactContinuedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[15]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[15]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -162,9 +162,9 @@ public HRESULT remove_ScreenContactContinued(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT add_ControlLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ControlLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[17]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[17]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -178,9 +178,9 @@ public HRESULT remove_ControlLost(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HRESULT add_RotationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerRotationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_RotationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerRotationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[19]))((IRadialController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[19]))((IRadialController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -194,9 +194,9 @@ public HRESULT remove_RotationChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT add_ButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[21]))((IRadialController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[21]))((IRadialController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -210,9 +210,9 @@ public HRESULT remove_ButtonClicked(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HRESULT add_ControlAcquired([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerControlAcquiredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ControlAcquired([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerControlAcquiredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[23]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[23]))((IRadialController*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -241,43 +241,43 @@ public interface Interface : IInspectable.Interface HRESULT put_UseAutomaticHapticFeedback([NativeTypeName("boolean")] byte value); [VtblIndex(11)] - HRESULT add_ScreenContactStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ScreenContactStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(12)] HRESULT remove_ScreenContactStarted(EventRegistrationToken cookie); [VtblIndex(13)] - HRESULT add_ScreenContactEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ScreenContactEnded([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(14)] HRESULT remove_ScreenContactEnded(EventRegistrationToken cookie); [VtblIndex(15)] - HRESULT add_ScreenContactContinued([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactContinuedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ScreenContactContinued([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactContinuedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(16)] HRESULT remove_ScreenContactContinued(EventRegistrationToken cookie); [VtblIndex(17)] - HRESULT add_ControlLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ControlLost([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(18)] HRESULT remove_ControlLost(EventRegistrationToken cookie); [VtblIndex(19)] - HRESULT add_RotationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerRotationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_RotationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerRotationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(20)] HRESULT remove_RotationChanged(EventRegistrationToken token); [VtblIndex(21)] - HRESULT add_ButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonClickedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ButtonClicked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonClickedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(22)] HRESULT remove_ButtonClicked(EventRegistrationToken token); [VtblIndex(23)] - HRESULT add_ControlAcquired([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerControlAcquiredEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ControlAcquired([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerControlAcquiredEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(24)] HRESULT remove_ControlAcquired(EventRegistrationToken cookie); @@ -320,43 +320,43 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_UseAutomaticHapticFeedback; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactStartedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ScreenContactStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ScreenContactStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ScreenContactStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ScreenContactEnded; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ScreenContactEnded; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ScreenContactEnded; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerScreenContactContinuedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ScreenContactContinued; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ScreenContactContinued; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ScreenContactContinued; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ControlLost; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ControlLost; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ControlLost; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerRotationChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_RotationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_RotationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_RotationChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonClickedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ButtonClicked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ButtonClicked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ButtonClicked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerControlAcquiredEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ControlAcquired; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ControlAcquired; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ControlAcquired; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController2.cs index 4e9d4b5735..615e537453 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialController2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_ButtonPressed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_ButtonHolding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonHoldingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ButtonHolding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonHoldingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_ButtonHolding(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonReleasedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonReleasedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IRadialController2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,19 +122,19 @@ public HRESULT remove_ButtonReleased(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonPressedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonPressedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ButtonPressed(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_ButtonHolding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonHoldingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ButtonHolding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonHoldingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_ButtonHolding(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_ButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonReleasedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonReleasedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ButtonReleased(EventRegistrationToken token); @@ -162,19 +162,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonPressedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ButtonPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ButtonPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ButtonPressed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonHoldingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ButtonHolding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ButtonHolding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ButtonHolding; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialController_Windows__CUI__CInput__CRadialControllerButtonReleasedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ButtonReleased; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ButtonReleased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ButtonReleased; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenu.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenu.cs index 24737bdbdd..3f5659f35b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenu.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenu.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CRadialControllerMenuItem_t **")] IVector** value) + public HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CRadialControllerMenuItem_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IRadialControllerMenu*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IRadialControllerMenu*)Unsafe.AsPointer(ref this), value); } /// @@ -122,7 +122,7 @@ public HRESULT TrySelectPreviouslySelectedMenuItem([NativeTypeName("boolean *")] public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CRadialControllerMenuItem_t **")] IVector** value); + HRESULT get_Items([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CRadialControllerMenuItem_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_IsEnabled([NativeTypeName("boolean *")] byte* value); @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CInput__CRadialControllerMenuItem_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Items; + public delegate* unmanaged[MemberFunction]>**, int> get_Items; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IsEnabled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenuItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenuItem.cs index 5d5c58d6bf..5ccbc94085 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenuItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/IRadialControllerMenuItem.cs @@ -98,9 +98,9 @@ public HRESULT put_Tag(IInspectable* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Invoked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialControllerMenuItem_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Invoked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialControllerMenuItem_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRadialControllerMenuItem*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IRadialControllerMenuItem*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Tag(IInspectable* value); [VtblIndex(9)] - HRESULT add_Invoked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialControllerMenuItem_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Invoked([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialControllerMenuItem_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Invoked(EventRegistrationToken token); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Tag; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CRadialControllerMenuItem_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Invoked; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Invoked; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Invoked; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/ISystemButtonEventController.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/ISystemButtonEventController.cs index 0831826fab..060c55cb81 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.input/ISystemButtonEventController.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.input/ISystemButtonEventController.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_SystemFunctionButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SystemFunctionButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_SystemFunctionButtonPressed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_SystemFunctionButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SystemFunctionButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,9 +106,9 @@ public HRESULT remove_SystemFunctionButtonReleased(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_SystemFunctionLockChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SystemFunctionLockChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[10]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -122,9 +122,9 @@ public HRESULT remove_SystemFunctionLockChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT add_SystemFunctionLockIndicatorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockIndicatorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SystemFunctionLockIndicatorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockIndicatorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[12]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[12]))((ISystemButtonEventController*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -138,25 +138,25 @@ public HRESULT remove_SystemFunctionLockIndicatorChanged(EventRegistrationToken public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_SystemFunctionButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SystemFunctionButtonPressed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_SystemFunctionButtonPressed(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_SystemFunctionButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SystemFunctionButtonReleased([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_SystemFunctionButtonReleased(EventRegistrationToken token); [VtblIndex(10)] - HRESULT add_SystemFunctionLockChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SystemFunctionLockChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_SystemFunctionLockChanged(EventRegistrationToken token); [VtblIndex(12)] - HRESULT add_SystemFunctionLockIndicatorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockIndicatorChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SystemFunctionLockIndicatorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockIndicatorChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(13)] HRESULT remove_SystemFunctionLockIndicatorChanged(EventRegistrationToken token); @@ -184,25 +184,25 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SystemFunctionButtonPressed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SystemFunctionButtonPressed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SystemFunctionButtonPressed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionButtonEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SystemFunctionButtonReleased; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SystemFunctionButtonReleased; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SystemFunctionButtonReleased; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SystemFunctionLockChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SystemFunctionLockChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SystemFunctionLockChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CInput__CSystemButtonEventController_Windows__CUI__CInput__CSystemFunctionLockIndicatorChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SystemFunctionLockIndicatorChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SystemFunctionLockIndicatorChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SystemFunctionLockIndicatorChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationBinding.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationBinding.cs index 9026232ee0..21921fed75 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationBinding.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationBinding.cs @@ -114,9 +114,9 @@ public HRESULT get_Hints([NativeTypeName("ABI::Windows::Foundation::Collections: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetTextElements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CAdaptiveNotificationText_t **")] IVectorView** result) + public HRESULT GetTextElements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CAdaptiveNotificationText_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((INotificationBinding*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((INotificationBinding*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -137,7 +137,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Hints([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_HSTRING_t **")] IMap** value); [VtblIndex(11)] - HRESULT GetTextElements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CAdaptiveNotificationText_t **")] IVectorView** result); + HRESULT GetTextElements([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CAdaptiveNotificationText_t **")] IVectorView>** result); } public partial struct Vtbl @@ -177,6 +177,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Hints; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CAdaptiveNotificationText_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTextElements; + public delegate* unmanaged[MemberFunction]>**, int> GetTextElements; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationDataFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationDataFactory.cs index 05e3fdd4da..9d08bf01cb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationDataFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationDataFactory.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateNotificationDataWithValuesAndSequenceNumber([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* initialValues, [NativeTypeName("UINT32")] uint sequenceNumber, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value) + public HRESULT CreateNotificationDataWithValuesAndSequenceNumber([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* initialValues, [NativeTypeName("UINT32")] uint sequenceNumber, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value) { - return ((delegate* unmanaged[MemberFunction]*, uint, INotificationData**, int>)(lpVtbl[6]))((INotificationDataFactory*)Unsafe.AsPointer(ref this), initialValues, sequenceNumber, value); + return ((delegate* unmanaged[MemberFunction]>>*, uint, INotificationData**, int>)(lpVtbl[6]))((INotificationDataFactory*)Unsafe.AsPointer(ref this), initialValues, sequenceNumber, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateNotificationDataWithValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* initialValues, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value) + public HRESULT CreateNotificationDataWithValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* initialValues, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value) { - return ((delegate* unmanaged[MemberFunction]*, INotificationData**, int>)(lpVtbl[7]))((INotificationDataFactory*)Unsafe.AsPointer(ref this), initialValues, value); + return ((delegate* unmanaged[MemberFunction]>>*, INotificationData**, int>)(lpVtbl[7]))((INotificationDataFactory*)Unsafe.AsPointer(ref this), initialValues, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateNotificationDataWithValuesAndSequenceNumber([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* initialValues, [NativeTypeName("UINT32")] uint sequenceNumber, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value); + HRESULT CreateNotificationDataWithValuesAndSequenceNumber([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* initialValues, [NativeTypeName("UINT32")] uint sequenceNumber, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value); [VtblIndex(7)] - HRESULT CreateNotificationDataWithValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* initialValues, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value); + HRESULT CreateNotificationDataWithValues([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* initialValues, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationData **")] INotificationData** value); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *, UINT32, ABI::Windows::UI::Notifications::INotificationData **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, uint, INotificationData**, int> CreateNotificationDataWithValuesAndSequenceNumber; + public delegate* unmanaged[MemberFunction]>>*, uint, INotificationData**, int> CreateNotificationDataWithValuesAndSequenceNumber; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *, ABI::Windows::UI::Notifications::INotificationData **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, INotificationData**, int> CreateNotificationDataWithValues; + public delegate* unmanaged[MemberFunction]>>*, INotificationData**, int> CreateNotificationDataWithValues; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationVisual.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationVisual.cs index 58a2e1bedb..e488fd5076 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationVisual.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/INotificationVisual.cs @@ -90,9 +90,9 @@ public HRESULT put_Language(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Bindings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CNotifications__CNotificationBinding_t **")] IVector** value) + public HRESULT get_Bindings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CNotifications__CNotificationBinding_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((INotificationVisual*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((INotificationVisual*)Unsafe.AsPointer(ref this), value); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Language(HSTRING value); [VtblIndex(8)] - HRESULT get_Bindings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CNotifications__CNotificationBinding_t **")] IVector** value); + HRESULT get_Bindings([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CNotifications__CNotificationBinding_t **")] IVector>** value); [VtblIndex(9)] HRESULT GetBinding(HSTRING templateName, [NativeTypeName("ABI::Windows::UI::Notifications::INotificationBinding **")] INotificationBinding** result); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Language; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CNotifications__CNotificationBinding_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Bindings; + public delegate* unmanaged[MemberFunction]>**, int> get_Bindings; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::UI::Notifications::INotificationBinding **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetBinding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs index 5fe04a7e0b..0fb734780a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs @@ -122,9 +122,9 @@ public HRESULT RemoveFromSchedule([NativeTypeName("ABI::Windows::UI::Notificatio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT GetScheduledTileNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledTileNotification_t **")] IVectorView** result) + public HRESULT GetScheduledTileNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledTileNotification_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((ITileUpdater*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[12]))((ITileUpdater*)Unsafe.AsPointer(ref this), result); } /// @@ -154,17 +154,17 @@ public HRESULT StopPeriodicUpdate() /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT StartPeriodicUpdateBatch([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* tileContents, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) + public HRESULT StartPeriodicUpdateBatch([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* tileContents, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) { - return ((delegate* unmanaged[MemberFunction]*, PeriodicUpdateRecurrence, int>)(lpVtbl[16]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContents, requestedInterval); + return ((delegate* unmanaged[MemberFunction]>*, PeriodicUpdateRecurrence, int>)(lpVtbl[16]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContents, requestedInterval); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT StartPeriodicUpdateBatchAtTime([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* tileContents, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) + public HRESULT StartPeriodicUpdateBatchAtTime([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* tileContents, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) { - return ((delegate* unmanaged[MemberFunction]*, WinRTDateTime, PeriodicUpdateRecurrence, int>)(lpVtbl[17]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContents, startTime, requestedInterval); + return ((delegate* unmanaged[MemberFunction]>*, WinRTDateTime, PeriodicUpdateRecurrence, int>)(lpVtbl[17]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContents, startTime, requestedInterval); } public interface Interface : IInspectable.Interface @@ -188,7 +188,7 @@ public interface Interface : IInspectable.Interface HRESULT RemoveFromSchedule([NativeTypeName("ABI::Windows::UI::Notifications::IScheduledTileNotification *")] IScheduledTileNotification* scheduledTile); [VtblIndex(12)] - HRESULT GetScheduledTileNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledTileNotification_t **")] IVectorView** result); + HRESULT GetScheduledTileNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledTileNotification_t **")] IVectorView>** result); [VtblIndex(13)] HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); @@ -200,10 +200,10 @@ public interface Interface : IInspectable.Interface HRESULT StopPeriodicUpdate(); [VtblIndex(16)] - HRESULT StartPeriodicUpdateBatch([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* tileContents, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); + HRESULT StartPeriodicUpdateBatch([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* tileContents, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(17)] - HRESULT StartPeriodicUpdateBatchAtTime([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable* tileContents, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); + HRESULT StartPeriodicUpdateBatchAtTime([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *")] IIterable>* tileContents, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); } public partial struct Vtbl @@ -246,7 +246,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RemoveFromSchedule; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledTileNotification_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetScheduledTileNotifications; + public delegate* unmanaged[MemberFunction]>**, int> GetScheduledTileNotifications; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] StartPeriodicUpdate; @@ -258,9 +258,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StopPeriodicUpdate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatch; + public delegate* unmanaged[MemberFunction]>*, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatch; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CUri_t *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, WinRTDateTime, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatchAtTime; + public delegate* unmanaged[MemberFunction]>*, WinRTDateTime, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatchAtTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastCollectionManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastCollectionManager.cs index 5aeb4d3414..d1302c33b8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastCollectionManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastCollectionManager.cs @@ -82,17 +82,17 @@ public HRESULT SaveToastCollectionAsync([NativeTypeName("ABI::Windows::UI::Notif /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllToastCollectionsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation** operation) + public HRESULT FindAllToastCollectionsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation>>>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IToastCollectionManager*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>>>**, int>)(lpVtbl[7]))((IToastCollectionManager*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetToastCollectionAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation** operation) + public HRESULT GetToastCollectionAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IToastCollectionManager*)Unsafe.AsPointer(ref this), collectionId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IToastCollectionManager*)Unsafe.AsPointer(ref this), collectionId, operation); } /// @@ -133,10 +133,10 @@ public interface Interface : IInspectable.Interface HRESULT SaveToastCollectionAsync([NativeTypeName("ABI::Windows::UI::Notifications::IToastCollection *")] IToastCollection* collection, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); [VtblIndex(7)] - HRESULT FindAllToastCollectionsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation** operation); + HRESULT FindAllToastCollectionsAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation>>>** operation); [VtblIndex(8)] - HRESULT GetToastCollectionAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation** operation); + HRESULT GetToastCollectionAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastCollection_t **")] IAsyncOperation>** operation); [VtblIndex(9)] HRESULT RemoveToastCollectionAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** operation); @@ -176,10 +176,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] SaveToastCollectionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1___FIVectorView_1_Windows__CUI__CNotifications__CToastCollection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllToastCollectionsAsync; + public delegate* unmanaged[MemberFunction]>>>**, int> FindAllToastCollectionsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastCollection_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetToastCollectionAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetToastCollectionAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] RemoveToastCollectionAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotification.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotification.cs index c3f1011245..16e3709d18 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotification.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotification.cs @@ -98,9 +98,9 @@ public HRESULT get_ExpirationTime([NativeTypeName("ABI::Windows::Foundation::__F /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,9 +114,9 @@ public HRESULT remove_Dismissed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -130,9 +130,9 @@ public HRESULT remove_Activated(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[13]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[13]))((IToastNotification*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -155,19 +155,19 @@ public interface Interface : IInspectable.Interface HRESULT get_ExpirationTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); [VtblIndex(9)] - HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Dismissed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Dismissed(EventRegistrationToken token); [VtblIndex(11)] - HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Activated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Activated(EventRegistrationToken token); [VtblIndex(13)] - HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Failed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(14)] HRESULT remove_Failed(EventRegistrationToken token); @@ -204,19 +204,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ExpirationTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Dismissed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Dismissed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Dismissed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Activated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Activated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Activated; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Failed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Failed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Failed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationHistory2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationHistory2.cs index 654e9669f2..137b6bfe49 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationHistory2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationHistory2.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView** result) + public HRESULT GetHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IToastNotificationHistory2*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IToastNotificationHistory2*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetHistoryWithId(HSTRING applicationId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView** result) + public HRESULT GetHistoryWithId(HSTRING applicationId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IToastNotificationHistory2*)Unsafe.AsPointer(ref this), applicationId, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IToastNotificationHistory2*)Unsafe.AsPointer(ref this), applicationId, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView** result); + HRESULT GetHistory([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView>** result); [VtblIndex(7)] - HRESULT GetHistoryWithId(HSTRING applicationId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView** result); + HRESULT GetHistoryWithId(HSTRING applicationId, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **")] IVectorView>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHistory; + public delegate* unmanaged[MemberFunction]>**, int> GetHistory; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CToastNotification_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHistoryWithId; + public delegate* unmanaged[MemberFunction]>**, int> GetHistoryWithId; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser2.cs index 04f391fab6..70e8859cea 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser2.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT GetToastNotifierForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotifier_t **")] IAsyncOperation** operation) + public HRESULT GetToastNotifierForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotifier_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IToastNotificationManagerForUser2*)Unsafe.AsPointer(ref this), collectionId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IToastNotificationManagerForUser2*)Unsafe.AsPointer(ref this), collectionId, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetHistoryForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotificationHistory_t **")] IAsyncOperation** operation) + public HRESULT GetHistoryForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotificationHistory_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IToastNotificationManagerForUser2*)Unsafe.AsPointer(ref this), collectionId, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IToastNotificationManagerForUser2*)Unsafe.AsPointer(ref this), collectionId, operation); } /// @@ -106,10 +106,10 @@ public HRESULT GetToastCollectionManagerWithAppId(HSTRING appId, [NativeTypeName public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT GetToastNotifierForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotifier_t **")] IAsyncOperation** operation); + HRESULT GetToastNotifierForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotifier_t **")] IAsyncOperation>** operation); [VtblIndex(7)] - HRESULT GetHistoryForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotificationHistory_t **")] IAsyncOperation** operation); + HRESULT GetHistoryForToastCollectionIdAsync(HSTRING collectionId, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotificationHistory_t **")] IAsyncOperation>** operation); [VtblIndex(8)] HRESULT GetToastCollectionManager([NativeTypeName("ABI::Windows::UI::Notifications::IToastCollectionManager **")] IToastCollectionManager** result); @@ -140,10 +140,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotifier_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetToastNotifierForToastCollectionIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetToastNotifierForToastCollectionIdAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CNotifications__CToastNotificationHistory_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetHistoryForToastCollectionIdAsync; + public delegate* unmanaged[MemberFunction]>**, int> GetHistoryForToastCollectionIdAsync; [NativeTypeName("HRESULT (ABI::Windows::UI::Notifications::IToastCollectionManager **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetToastCollectionManager; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser3.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser3.cs index 158198460f..3e613b9b79 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotificationManagerForUser3.cs @@ -82,9 +82,9 @@ public HRESULT get_NotificationMode([NativeTypeName("ABI::Windows::UI::Notificat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_NotificationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotificationManagerForUser_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_NotificationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotificationManagerForUser_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IToastNotificationManagerForUser3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IToastNotificationManagerForUser3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_NotificationMode([NativeTypeName("ABI::Windows::UI::Notifications::ToastNotificationMode *")] ToastNotificationMode* value); [VtblIndex(7)] - HRESULT add_NotificationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotificationManagerForUser_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_NotificationModeChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotificationManagerForUser_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_NotificationModeChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_NotificationMode; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotificationManagerForUser_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NotificationModeChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NotificationModeChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NotificationModeChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier.cs index 0950425e72..ca95657273 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier.cs @@ -114,9 +114,9 @@ public HRESULT RemoveFromSchedule([NativeTypeName("ABI::Windows::UI::Notificatio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT GetScheduledToastNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledToastNotification_t **")] IVectorView** result) + public HRESULT GetScheduledToastNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledToastNotification_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IToastNotifier*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IToastNotifier*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -137,7 +137,7 @@ public interface Interface : IInspectable.Interface HRESULT RemoveFromSchedule([NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification *")] IScheduledToastNotification* scheduledToast); [VtblIndex(11)] - HRESULT GetScheduledToastNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledToastNotification_t **")] IVectorView** result); + HRESULT GetScheduledToastNotifications([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledToastNotification_t **")] IVectorView>** result); } public partial struct Vtbl @@ -177,6 +177,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] RemoveFromSchedule; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CNotifications__CScheduledToastNotification_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetScheduledToastNotifications; + public delegate* unmanaged[MemberFunction]>**, int> GetScheduledToastNotifications; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier3.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier3.cs index 595db6d79c..b313cf54a9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IToastNotifier3.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ScheduledToastNotificationShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotifier_Windows__CUI__CNotifications__CScheduledToastNotificationShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ScheduledToastNotificationShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotifier_Windows__CUI__CNotifications__CScheduledToastNotificationShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IToastNotifier3*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IToastNotifier3*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,7 +90,7 @@ public HRESULT remove_ScheduledToastNotificationShowing(EventRegistrationToken t public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ScheduledToastNotificationShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotifier_Windows__CUI__CNotifications__CScheduledToastNotificationShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ScheduledToastNotificationShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotifier_Windows__CUI__CNotifications__CScheduledToastNotificationShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ScheduledToastNotificationShowing(EventRegistrationToken token); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotifier_Windows__CUI__CNotifications__CScheduledToastNotificationShowingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ScheduledToastNotificationShowing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ScheduledToastNotificationShowing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ScheduledToastNotificationShowing; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IMessageDialog.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IMessageDialog.cs index 2b85110e2c..5ecd5ebefe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IMessageDialog.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IMessageDialog.cs @@ -90,9 +90,9 @@ public HRESULT put_Title(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value) + public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IMessageDialog*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IMessageDialog*)Unsafe.AsPointer(ref this), value); } /// @@ -146,9 +146,9 @@ public HRESULT put_Content(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** messageDialogAsyncOperation) + public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** messageDialogAsyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IMessageDialog*)Unsafe.AsPointer(ref this), messageDialogAsyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[15]))((IMessageDialog*)Unsafe.AsPointer(ref this), messageDialogAsyncOperation); } /// @@ -176,7 +176,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Title(HSTRING value); [VtblIndex(8)] - HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value); + HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value); [VtblIndex(9)] HRESULT get_DefaultCommandIndex([NativeTypeName("UINT32 *")] uint* value); @@ -197,7 +197,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Content(HSTRING value); [VtblIndex(15)] - HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** messageDialogAsyncOperation); + HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** messageDialogAsyncOperation); [VtblIndex(16)] HRESULT get_Options([NativeTypeName("ABI::Windows::UI::Popups::MessageDialogOptions *")] MessageDialogOptions* value); @@ -234,7 +234,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Title; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Commands; + public delegate* unmanaged[MemberFunction]>**, int> get_Commands; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultCommandIndex; @@ -255,7 +255,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Content; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsync; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsync; [NativeTypeName("HRESULT (ABI::Windows::UI::Popups::MessageDialogOptions *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Options; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IPopupMenu.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IPopupMenu.cs index 189dd8f542..fc1801c1b6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IPopupMenu.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.popups/IPopupMenu.cs @@ -74,48 +74,48 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value) + public HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IPopupMenu*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IPopupMenu*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::Point")] Point invocationPoint, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation) + public HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::Point")] Point invocationPoint, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IPopupMenu*)Unsafe.AsPointer(ref this), invocationPoint, asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IPopupMenu*)Unsafe.AsPointer(ref this), invocationPoint, asyncOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ShowAsyncWithRect([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation) + public HRESULT ShowAsyncWithRect([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IPopupMenu*)Unsafe.AsPointer(ref this), selection, asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IPopupMenu*)Unsafe.AsPointer(ref this), selection, asyncOperation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT ShowAsyncWithRectAndPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation) + public HRESULT ShowAsyncWithRectAndPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IPopupMenu*)Unsafe.AsPointer(ref this), selection, preferredPlacement, asyncOperation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IPopupMenu*)Unsafe.AsPointer(ref this), selection, preferredPlacement, asyncOperation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector** value); + HRESULT get_Commands([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **")] IVector>** value); [VtblIndex(7)] - HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::Point")] Point invocationPoint, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation); + HRESULT ShowAsync([NativeTypeName("ABI::Windows::Foundation::Point")] Point invocationPoint, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation); [VtblIndex(8)] - HRESULT ShowAsyncWithRect([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation); + HRESULT ShowAsyncWithRect([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation); [VtblIndex(9)] - HRESULT ShowAsyncWithRectAndPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation** asyncOperation); + HRESULT ShowAsyncWithRectAndPlacement([NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **")] IAsyncOperation>** asyncOperation); } public partial struct Vtbl @@ -140,15 +140,15 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Commands; + public delegate* unmanaged[MemberFunction]>**, int> get_Commands; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Point, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsync; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Rect, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsyncWithRect; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsyncWithRect; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CPopups__CIUICommand_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowAsyncWithRectAndPlacement; + public delegate* unmanaged[MemberFunction]>**, int> ShowAsyncWithRectAndPlacement; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextCompositionCompletedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextCompositionCompletedEventArgs.cs index cd12b897a4..399bbd794f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextCompositionCompletedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextCompositionCompletedEventArgs.cs @@ -82,9 +82,9 @@ public HRESULT get_IsCanceled([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_CompositionSegments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CText__CCore__CCoreTextCompositionSegment_t **")] IVectorView** value) + public HRESULT get_CompositionSegments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CText__CCore__CCoreTextCompositionSegment_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((ICoreTextCompositionCompletedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((ICoreTextCompositionCompletedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsCanceled([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT get_CompositionSegments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CText__CCore__CCoreTextCompositionSegment_t **")] IVectorView** value); + HRESULT get_CompositionSegments([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CText__CCore__CCoreTextCompositionSegment_t **")] IVectorView>** value); [VtblIndex(8)] HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral **")] IDeferral** value); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsCanceled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CText__CCore__CCoreTextCompositionSegment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_CompositionSegments; + public delegate* unmanaged[MemberFunction]>**, int> get_CompositionSegments; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IDeferral **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeferral; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext.cs index 5ef5bcc311..2fb3012fe2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext.cs @@ -138,9 +138,9 @@ public HRESULT put_InputPaneDisplayPolicy([NativeTypeName("ABI::Windows::UI::Tex /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT add_TextRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_TextRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[14]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -154,9 +154,9 @@ public HRESULT remove_TextRequested(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_SelectionRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_SelectionRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -170,9 +170,9 @@ public HRESULT remove_SelectionRequested(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_LayoutRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextLayoutRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_LayoutRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextLayoutRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -186,9 +186,9 @@ public HRESULT remove_LayoutRequested(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT add_TextUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_TextUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[20]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[20]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -202,9 +202,9 @@ public HRESULT remove_TextUpdating(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT add_SelectionUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_SelectionUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[22]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[22]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -218,9 +218,9 @@ public HRESULT remove_SelectionUpdating(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT add_FormatUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextFormatUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_FormatUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextFormatUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[24]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -234,9 +234,9 @@ public HRESULT remove_FormatUpdating(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public HRESULT add_CompositionStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_CompositionStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[26]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[26]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -250,9 +250,9 @@ public HRESULT remove_CompositionStarted(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HRESULT add_CompositionCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_CompositionCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[28]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[28]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -266,9 +266,9 @@ public HRESULT remove_CompositionCompleted(EventRegistrationToken cookie) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HRESULT add_FocusRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_FocusRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[30]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[30]))((ICoreTextEditContext*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -346,55 +346,55 @@ public interface Interface : IInspectable.Interface HRESULT put_InputPaneDisplayPolicy([NativeTypeName("ABI::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy")] CoreTextInputPaneDisplayPolicy value); [VtblIndex(14)] - HRESULT add_TextRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_TextRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(15)] HRESULT remove_TextRequested(EventRegistrationToken cookie); [VtblIndex(16)] - HRESULT add_SelectionRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_SelectionRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(17)] HRESULT remove_SelectionRequested(EventRegistrationToken cookie); [VtblIndex(18)] - HRESULT add_LayoutRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextLayoutRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_LayoutRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextLayoutRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(19)] HRESULT remove_LayoutRequested(EventRegistrationToken cookie); [VtblIndex(20)] - HRESULT add_TextUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_TextUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(21)] HRESULT remove_TextUpdating(EventRegistrationToken cookie); [VtblIndex(22)] - HRESULT add_SelectionUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_SelectionUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(23)] HRESULT remove_SelectionUpdating(EventRegistrationToken cookie); [VtblIndex(24)] - HRESULT add_FormatUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextFormatUpdatingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_FormatUpdating([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextFormatUpdatingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(25)] HRESULT remove_FormatUpdating(EventRegistrationToken cookie); [VtblIndex(26)] - HRESULT add_CompositionStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionStartedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_CompositionStarted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionStartedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(27)] HRESULT remove_CompositionStarted(EventRegistrationToken cookie); [VtblIndex(28)] - HRESULT add_CompositionCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionCompletedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_CompositionCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionCompletedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(29)] HRESULT remove_CompositionCompleted(EventRegistrationToken cookie); [VtblIndex(30)] - HRESULT add_FocusRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_FocusRemoved([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(31)] HRESULT remove_FocusRemoved(EventRegistrationToken cookie); @@ -461,55 +461,55 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_InputPaneDisplayPolicy; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TextRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TextRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TextRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SelectionRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SelectionRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SelectionRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextLayoutRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_LayoutRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_LayoutRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_LayoutRequested; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextTextUpdatingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TextUpdating; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TextUpdating; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TextUpdating; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextSelectionUpdatingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SelectionUpdating; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SelectionUpdating; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SelectionUpdating; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextFormatUpdatingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FormatUpdating; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FormatUpdating; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FormatUpdating; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionStartedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CompositionStarted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CompositionStarted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CompositionStarted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_Windows__CUI__CText__CCore__CCoreTextCompositionCompletedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CompositionCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CompositionCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CompositionCompleted; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_FocusRemoved; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_FocusRemoved; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_FocusRemoved; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext2.cs index 6605afb603..e31f50f1c0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextEditContext2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_NotifyFocusLeaveCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_NotifyFocusLeaveCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreTextEditContext2*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreTextEditContext2*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -90,7 +90,7 @@ public HRESULT remove_NotifyFocusLeaveCompleted(EventRegistrationToken cookie) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_NotifyFocusLeaveCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_NotifyFocusLeaveCompleted([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(7)] HRESULT remove_NotifyFocusLeaveCompleted(EventRegistrationToken cookie); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextEditContext_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_NotifyFocusLeaveCompleted; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_NotifyFocusLeaveCompleted; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_NotifyFocusLeaveCompleted; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextServicesManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextServicesManager.cs index b67cc44548..f55584db0e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextServicesManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.text.core/ICoreTextServicesManager.cs @@ -82,9 +82,9 @@ public HRESULT get_InputLanguage([NativeTypeName("ABI::Windows::Globalization::I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_InputLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextServicesManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_InputLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextServicesManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreTextServicesManager*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreTextServicesManager*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_InputLanguage([NativeTypeName("ABI::Windows::Globalization::ILanguage **")] ILanguage** value); [VtblIndex(7)] - HRESULT add_InputLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextServicesManager_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_InputLanguageChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextServicesManager_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_InputLanguageChanged(EventRegistrationToken cookie); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_InputLanguage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CText__CCore__CCoreTextServicesManager_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_InputLanguageChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_InputLanguageChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_InputLanguageChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputView.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputView.cs index d04c229816..f891ebf2a5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputView.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputView.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreFrameworkInputView*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreFrameworkInputView*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_PrimaryViewAnimationStarting(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreFrameworkInputView*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreFrameworkInputView*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,13 +106,13 @@ public HRESULT remove_OcclusionsChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PrimaryViewAnimationStarting(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_OcclusionsChanged(EventRegistrationToken token); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewAnimationStartingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrimaryViewAnimationStarting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrimaryViewAnimationStarting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrimaryViewAnimationStarting; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputView_Windows__CUI__CViewManagement__CCore__CCoreFrameworkInputViewOcclusionsChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OcclusionsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OcclusionsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OcclusionsChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewAnimationStartingEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewAnimationStartingEventArgs.cs index 105e1ef90a..8c4ce1135b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewAnimationStartingEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewAnimationStartingEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value) + public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICoreFrameworkInputViewAnimationStartingEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICoreFrameworkInputViewAnimationStartingEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_AnimationDuration([NativeTypeName("ABI::Windows::Foundation:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value); + HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_FrameworkAnimationRecommended([NativeTypeName("boolean *")] byte* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Occlusions; + public delegate* unmanaged[MemberFunction]>**, int> get_Occlusions; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_FrameworkAnimationRecommended; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewOcclusionsChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewOcclusionsChangedEventArgs.cs index e35aac293e..4b5fc95841 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewOcclusionsChangedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreFrameworkInputViewOcclusionsChangedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value) + public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICoreFrameworkInputViewOcclusionsChangedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICoreFrameworkInputViewOcclusionsChangedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Handled([NativeTypeName("boolean *")] byte* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value); + HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Handled([NativeTypeName("boolean *")] byte* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Occlusions; + public delegate* unmanaged[MemberFunction]>**, int> get_Occlusions; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Handled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView.cs index 265bde0926..088016ce43 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_OcclusionsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetCoreInputViewOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** result) + public HRESULT GetCoreInputViewOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((ICoreInputView*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((ICoreInputView*)Unsafe.AsPointer(ref this), result); } /// @@ -114,13 +114,13 @@ public HRESULT TryHidePrimaryView([NativeTypeName("boolean *")] byte* result) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_OcclusionsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusionsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_OcclusionsChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT GetCoreInputViewOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** result); + HRESULT GetCoreInputViewOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** result); [VtblIndex(9)] HRESULT TryShowPrimaryView([NativeTypeName("boolean *")] byte* result); @@ -151,13 +151,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusionsChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_OcclusionsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_OcclusionsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_OcclusionsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCoreInputViewOcclusions; + public delegate* unmanaged[MemberFunction]>**, int> GetCoreInputViewOcclusions; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] TryShowPrimaryView; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView2.cs index add0dc33e2..d03c04deff 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_XYFocusTransferringFromPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewTransferringXYFocusEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_XYFocusTransferringFromPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewTransferringXYFocusEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_XYFocusTransferringFromPrimaryView(EventRegistrationToken /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_XYFocusTransferredToPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_XYFocusTransferredToPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreInputView2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreInputView2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,13 +114,13 @@ public HRESULT TryTransferXYFocusToPrimaryView([NativeTypeName("ABI::Windows::Fo public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_XYFocusTransferringFromPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewTransferringXYFocusEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_XYFocusTransferringFromPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewTransferringXYFocusEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_XYFocusTransferringFromPrimaryView(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_XYFocusTransferredToPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_XYFocusTransferredToPrimaryView([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_XYFocusTransferredToPrimaryView(EventRegistrationToken token); @@ -151,13 +151,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewTransferringXYFocusEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_XYFocusTransferringFromPrimaryView; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_XYFocusTransferringFromPrimaryView; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_XYFocusTransferringFromPrimaryView; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_XYFocusTransferredToPrimaryView; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_XYFocusTransferredToPrimaryView; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_XYFocusTransferredToPrimaryView; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView4.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView4.cs index c05614b960..f76e6a89a6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView4.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_PrimaryViewShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PrimaryViewShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((ICoreInputView4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_PrimaryViewShowing(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_PrimaryViewHiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewHidingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PrimaryViewHiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewHidingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreInputView4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((ICoreInputView4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,13 +106,13 @@ public HRESULT remove_PrimaryViewHiding(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_PrimaryViewShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewShowingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PrimaryViewShowing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewShowingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_PrimaryViewShowing(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_PrimaryViewHiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewHidingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PrimaryViewHiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewHidingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_PrimaryViewHiding(EventRegistrationToken token); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewShowingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrimaryViewShowing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrimaryViewShowing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrimaryViewShowing; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewHidingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrimaryViewHiding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrimaryViewHiding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrimaryViewHiding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView5.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView5.cs index 9f00ac330d..e08a38cf48 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputView5.cs @@ -82,9 +82,9 @@ public HRESULT IsKindSupported([NativeTypeName("ABI::Windows::UI::ViewManagement /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_SupportedKindsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_SupportedKindsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreInputView5*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((ICoreInputView5*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,9 +98,9 @@ public HRESULT remove_SupportedKindsChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreInputView5*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((ICoreInputView5*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -117,13 +117,13 @@ public interface Interface : IInspectable.Interface HRESULT IsKindSupported([NativeTypeName("ABI::Windows::UI::ViewManagement::Core::CoreInputViewKind")] CoreInputViewKind type, [NativeTypeName("boolean *")] byte* result); [VtblIndex(7)] - HRESULT add_SupportedKindsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_SupportedKindsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_SupportedKindsChanged(EventRegistrationToken token); [VtblIndex(9)] - HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_PrimaryViewAnimationStarting([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewAnimationStartingEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_PrimaryViewAnimationStarting(EventRegistrationToken token); @@ -154,13 +154,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] IsKindSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_SupportedKindsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_SupportedKindsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_SupportedKindsChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CCore__CCoreInputView_Windows__CUI__CViewManagement__CCore__CCoreInputViewAnimationStartingEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_PrimaryViewAnimationStarting; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_PrimaryViewAnimationStarting; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_PrimaryViewAnimationStarting; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewAnimationStartingEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewAnimationStartingEventArgs.cs index fa902728e3..604318e731 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewAnimationStartingEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewAnimationStartingEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value) + public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICoreInputViewAnimationStartingEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICoreInputViewAnimationStartingEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_AnimationDuration([NativeTypeName("ABI::Windows::Foundation:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value); + HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Handled([NativeTypeName("boolean *")] byte* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Occlusions; + public delegate* unmanaged[MemberFunction]>**, int> get_Occlusions; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Handled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewOcclusionsChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewOcclusionsChangedEventArgs.cs index 1251b03b37..aa666a2529 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewOcclusionsChangedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/ICoreInputViewOcclusionsChangedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value) + public HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((ICoreInputViewOcclusionsChangedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((ICoreInputViewOcclusionsChangedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT put_Handled([NativeTypeName("boolean")] byte value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView** value); + HRESULT get_Occlusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **")] IVectorView>** value); [VtblIndex(7)] HRESULT get_Handled([NativeTypeName("boolean *")] byte* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CViewManagement__CCore__CCoreInputViewOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Occlusions; + public delegate* unmanaged[MemberFunction]>**, int> get_Occlusions; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Handled; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/IUISettingsControllerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/IUISettingsControllerStatics.cs index ac05bb0a3a..2ad7a0d4f1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/IUISettingsControllerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement.core/IUISettingsControllerStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT RequestDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CViewManagement__CCore__CUISettingsController_t **")] IAsyncOperation** operation) + public HRESULT RequestDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CViewManagement__CCore__CUISettingsController_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUISettingsControllerStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUISettingsControllerStatics*)Unsafe.AsPointer(ref this), operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT RequestDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CViewManagement__CCore__CUISettingsController_t **")] IAsyncOperation** operation); + HRESULT RequestDefaultAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CViewManagement__CCore__CUISettingsController_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CViewManagement__CCore__CUISettingsController_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> RequestDefaultAsync; + public delegate* unmanaged[MemberFunction]>**, int> RequestDefaultAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IAccessibilitySettings.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IAccessibilitySettings.cs index 18b9e9a475..8404713dc4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IAccessibilitySettings.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IAccessibilitySettings.cs @@ -90,9 +90,9 @@ public HRESULT get_HighContrastScheme(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_HighContrastChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CAccessibilitySettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_HighContrastChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CAccessibilitySettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAccessibilitySettings*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IAccessibilitySettings*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_HighContrastScheme(HSTRING* value); [VtblIndex(8)] - HRESULT add_HighContrastChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CAccessibilitySettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_HighContrastChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CAccessibilitySettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(9)] HRESULT remove_HighContrastChanged(EventRegistrationToken cookie); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_HighContrastScheme; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CAccessibilitySettings_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_HighContrastChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_HighContrastChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_HighContrastChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView.cs index 614a8759c8..f76d7a324f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView.cs @@ -155,9 +155,9 @@ public HRESULT get_Id([NativeTypeName("INT32 *")] int* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_Consolidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_Windows__CUI__CViewManagement__CApplicationViewConsolidatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Consolidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_Windows__CUI__CViewManagement__CApplicationViewConsolidatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IApplicationView*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IApplicationView*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -202,7 +202,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id([NativeTypeName("INT32 *")] int* value); [VtblIndex(16)] - HRESULT add_Consolidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_Windows__CUI__CViewManagement__CApplicationViewConsolidatedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Consolidated([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_Windows__CUI__CViewManagement__CApplicationViewConsolidatedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_Consolidated(EventRegistrationToken token); @@ -261,7 +261,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_Windows__CUI__CViewManagement__CApplicationViewConsolidatedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Consolidated; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Consolidated; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Consolidated; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView2.cs index 9455d8e497..0cfcd3b971 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView2.cs @@ -100,9 +100,9 @@ public HRESULT get_VisibleBounds([NativeTypeName("ABI::Windows::Foundation::Rect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_VisibleBoundsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_VisibleBoundsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IApplicationView2*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IApplicationView2*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -143,7 +143,7 @@ public interface Interface : IInspectable.Interface HRESULT get_VisibleBounds([NativeTypeName("ABI::Windows::Foundation::Rect *")] Rect* value); [VtblIndex(9)] - HRESULT add_VisibleBoundsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_VisibleBoundsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_VisibleBoundsChanged(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_VisibleBounds; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CApplicationView_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_VisibleBoundsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_VisibleBoundsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_VisibleBoundsChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView9.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView9.cs index 655296ed46..86e1452932 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView9.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IApplicationView9.cs @@ -82,9 +82,9 @@ public HRESULT get_WindowingEnvironment([NativeTypeName("ABI::Windows::UI::Windo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result) + public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IApplicationView9*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IApplicationView9*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_WindowingEnvironment([NativeTypeName("ABI::Windows::UI::WindowManagement::IWindowingEnvironment **")] IWindowingEnvironment** value); [VtblIndex(7)] - HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result); + HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_WindowingEnvironment; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDisplayRegions; + public delegate* unmanaged[MemberFunction]>**, int> GetDisplayRegions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IInputPane.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IInputPane.cs index 35fb951666..e8894e186f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IInputPane.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IInputPane.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IInputPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IInputPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_Showing(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IInputPane*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IInputPane*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -114,13 +114,13 @@ public HRESULT get_OccludedRect([NativeTypeName("ABI::Windows::Foundation::Rect public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_Showing(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_Hiding(EventRegistrationToken token); @@ -151,13 +151,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Showing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Showing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Showing; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CInputPane_Windows__CUI__CViewManagement__CInputPaneVisibilityEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Hiding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Hiding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Hiding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IProjectionManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IProjectionManagerStatics.cs index ec098c3c7a..840eed67dc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IProjectionManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IProjectionManagerStatics.cs @@ -106,9 +106,9 @@ public HRESULT get_ProjectionDisplayAvailable([NativeTypeName("boolean *")] byte /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT add_ProjectionDisplayAvailableChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ProjectionDisplayAvailableChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[10]))((IProjectionManagerStatics*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int>)(lpVtbl[10]))((IProjectionManagerStatics*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -134,7 +134,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ProjectionDisplayAvailable([NativeTypeName("boolean *")] byte* value); [VtblIndex(10)] - HRESULT add_ProjectionDisplayAvailableChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ProjectionDisplayAvailableChanged([NativeTypeName("ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *")] IEventHandler>* handler, EventRegistrationToken* token); [VtblIndex(11)] HRESULT remove_ProjectionDisplayAvailableChanged(EventRegistrationToken token); @@ -174,7 +174,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ProjectionDisplayAvailable; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIEventHandler_1_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ProjectionDisplayAvailableChanged; + public delegate* unmanaged[MemberFunction]>*, EventRegistrationToken*, int> add_ProjectionDisplayAvailableChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ProjectionDisplayAvailableChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IStatusBar.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IStatusBar.cs index 173c07378a..ad0e52605e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IStatusBar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IStatusBar.cs @@ -154,9 +154,9 @@ public HRESULT get_OccludedRect([NativeTypeName("ABI::Windows::Foundation::Rect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token) + public HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[16]))((IStatusBar*)Unsafe.AsPointer(ref this), eventHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[16]))((IStatusBar*)Unsafe.AsPointer(ref this), eventHandler, token); } /// @@ -170,9 +170,9 @@ public HRESULT remove_Showing(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token) + public HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[18]))((IStatusBar*)Unsafe.AsPointer(ref this), eventHandler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[18]))((IStatusBar*)Unsafe.AsPointer(ref this), eventHandler, token); } /// @@ -216,13 +216,13 @@ public interface Interface : IInspectable.Interface HRESULT get_OccludedRect([NativeTypeName("ABI::Windows::Foundation::Rect *")] Rect* value); [VtblIndex(16)] - HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token); + HRESULT add_Showing([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token); [VtblIndex(17)] HRESULT remove_Showing(EventRegistrationToken token); [VtblIndex(18)] - HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler* eventHandler, EventRegistrationToken* token); + HRESULT add_Hiding([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *")] ITypedEventHandler, Pointer>* eventHandler, EventRegistrationToken* token); [VtblIndex(19)] HRESULT remove_Hiding(EventRegistrationToken token); @@ -280,13 +280,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_OccludedRect; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Showing; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Showing; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Showing; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CStatusBar_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Hiding; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Hiding; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Hiding; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings2.cs index 996cc52b92..5410a9c42e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings2.cs @@ -82,9 +82,9 @@ public HRESULT get_TextScaleFactor(double* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_TextScaleFactorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_TextScaleFactorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings2*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings2*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_TextScaleFactor(double* value); [VtblIndex(7)] - HRESULT add_TextScaleFactorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_TextScaleFactorChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_TextScaleFactorChanged(EventRegistrationToken cookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_TextScaleFactor; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_TextScaleFactorChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_TextScaleFactorChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_TextScaleFactorChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings3.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings3.cs index db45b76f2b..34a08e3340 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings3.cs @@ -82,9 +82,9 @@ public HRESULT GetColorValue([NativeTypeName("ABI::Windows::UI::ViewManagement:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_ColorValuesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_ColorValuesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings3*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings3*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT GetColorValue([NativeTypeName("ABI::Windows::UI::ViewManagement::UIColorType")] UIColorType desiredColor, [NativeTypeName("ABI::Windows::UI::Color *")] Color* value); [VtblIndex(7)] - HRESULT add_ColorValuesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_ColorValuesChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_ColorValuesChanged(EventRegistrationToken cookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetColorValue; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ColorValuesChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ColorValuesChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ColorValuesChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings4.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings4.cs index e888a970b7..9404488fc1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings4.cs @@ -82,9 +82,9 @@ public HRESULT get_AdvancedEffectsEnabled([NativeTypeName("boolean *")] byte* va /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_AdvancedEffectsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie) + public HRESULT add_AdvancedEffectsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings4*)Unsafe.AsPointer(ref this), handler, cookie); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings4*)Unsafe.AsPointer(ref this), handler, cookie); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AdvancedEffectsEnabled([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT add_AdvancedEffectsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* cookie); + HRESULT add_AdvancedEffectsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* cookie); [VtblIndex(8)] HRESULT remove_AdvancedEffectsEnabledChanged(EventRegistrationToken cookie); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AdvancedEffectsEnabled; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AdvancedEffectsEnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AdvancedEffectsEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AdvancedEffectsEnabledChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings5.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings5.cs index 73930e7c97..f56da81a91 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings5.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings5.cs @@ -82,9 +82,9 @@ public HRESULT get_AutoHideScrollBars([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT add_AutoHideScrollBarsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAutoHideScrollBarsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AutoHideScrollBarsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAutoHideScrollBarsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings5*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[7]))((IUISettings5*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AutoHideScrollBars([NativeTypeName("boolean *")] byte* value); [VtblIndex(7)] - HRESULT add_AutoHideScrollBarsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAutoHideScrollBarsChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AutoHideScrollBarsChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAutoHideScrollBarsChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(8)] HRESULT remove_AutoHideScrollBarsChanged(EventRegistrationToken token); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AutoHideScrollBars; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAutoHideScrollBarsChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AutoHideScrollBarsChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AutoHideScrollBarsChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AutoHideScrollBarsChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings6.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings6.cs index 977f1f8d26..cae52133cf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings6.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.viewmanagement/IUISettings6.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_AnimationsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAnimationsEnabledChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_AnimationsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAnimationsEnabledChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IUISettings6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IUISettings6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -90,9 +90,9 @@ public HRESULT remove_AnimationsEnabledChanged(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT add_MessageDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsMessageDurationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_MessageDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsMessageDurationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[8]))((IUISettings6*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[8]))((IUISettings6*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -106,13 +106,13 @@ public HRESULT remove_MessageDurationChanged(EventRegistrationToken token) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_AnimationsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAnimationsEnabledChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_AnimationsEnabledChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAnimationsEnabledChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_AnimationsEnabledChanged(EventRegistrationToken token); [VtblIndex(8)] - HRESULT add_MessageDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsMessageDurationChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_MessageDurationChanged([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsMessageDurationChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(9)] HRESULT remove_MessageDurationChanged(EventRegistrationToken token); @@ -140,13 +140,13 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsAnimationsEnabledChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_AnimationsEnabledChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_AnimationsEnabledChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_AnimationsEnabledChanged; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CViewManagement__CUISettings_Windows__CUI__CViewManagement__CUISettingsMessageDurationChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_MessageDurationChanged; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_MessageDurationChanged; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_MessageDurationChanged; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindow.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindow.cs index 4a9ed106a7..b88adce913 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindow.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindow.cs @@ -186,9 +186,9 @@ public HRESULT GetPlacement([NativeTypeName("ABI::Windows::UI::WindowManagement: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result) + public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IAppWindow*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[20]))((IAppWindow*)Unsafe.AsPointer(ref this), result); } /// @@ -258,9 +258,9 @@ public HRESULT TryShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsync /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[29]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[29]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -274,9 +274,9 @@ public HRESULT remove_Changed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[31]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[31]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -290,9 +290,9 @@ public HRESULT remove_Closed(EventRegistrationToken token) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public HRESULT add_CloseRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowCloseRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_CloseRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowCloseRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[33]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[33]))((IAppWindow*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -348,7 +348,7 @@ public interface Interface : IInspectable.Interface HRESULT GetPlacement([NativeTypeName("ABI::Windows::UI::WindowManagement::IAppWindowPlacement **")] IAppWindowPlacement** result); [VtblIndex(20)] - HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result); + HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result); [VtblIndex(21)] HRESULT RequestMoveToDisplayRegion([NativeTypeName("ABI::Windows::UI::WindowManagement::IDisplayRegion *")] IDisplayRegion* displayRegion); @@ -375,19 +375,19 @@ public interface Interface : IInspectable.Interface HRESULT TryShowAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(29)] - HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(30)] HRESULT remove_Changed(EventRegistrationToken token); [VtblIndex(31)] - HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowClosedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Closed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowClosedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(32)] HRESULT remove_Closed(EventRegistrationToken token); [VtblIndex(33)] - HRESULT add_CloseRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowCloseRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_CloseRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowCloseRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(34)] HRESULT remove_CloseRequested(EventRegistrationToken token); @@ -457,7 +457,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetPlacement; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDisplayRegions; + public delegate* unmanaged[MemberFunction]>**, int> GetDisplayRegions; [NativeTypeName("HRESULT (ABI::Windows::UI::WindowManagement::IDisplayRegion *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] RequestMoveToDisplayRegion; @@ -484,19 +484,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> TryShowAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Changed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Changed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Changed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowClosedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Closed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Closed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Closed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CAppWindow_Windows__CUI__CWindowManagement__CAppWindowCloseRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_CloseRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_CloseRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_CloseRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowFrame.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowFrame.cs index 5a01ef231e..63eb85d2a0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowFrame.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowFrame.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_DragRegionVisuals([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CIVisualElement_t **")] IVector** value) + public HRESULT get_DragRegionVisuals([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CIVisualElement_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppWindowFrame*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppWindowFrame*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_DragRegionVisuals([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CIVisualElement_t **")] IVector** value); + HRESULT get_DragRegionVisuals([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CIVisualElement_t **")] IVector>** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CUI__CComposition__CIVisualElement_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_DragRegionVisuals; + public delegate* unmanaged[MemberFunction]>**, int> get_DragRegionVisuals; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowStatics.cs index 33bf52182f..834255f86f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowStatics.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT TryCreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CWindowManagement__CAppWindow_t **")] IAsyncOperation** operation) + public HRESULT TryCreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CWindowManagement__CAppWindow_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IAppWindowStatics*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IAppWindowStatics*)Unsafe.AsPointer(ref this), operation); } /// @@ -98,7 +98,7 @@ public HRESULT ClearPersistedState(HSTRING key) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT TryCreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CWindowManagement__CAppWindow_t **")] IAsyncOperation** operation); + HRESULT TryCreateAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CWindowManagement__CAppWindow_t **")] IAsyncOperation>** operation); [VtblIndex(7)] HRESULT ClearAllPersistedState(); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CUI__CWindowManagement__CAppWindow_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryCreateAsync; + public delegate* unmanaged[MemberFunction]>**, int> TryCreateAsync; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ClearAllPersistedState; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowTitleBar.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowTitleBar.cs index f62485cce1..d30beb60e5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowTitleBar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IAppWindowTitleBar.cs @@ -290,9 +290,9 @@ public HRESULT get_IsVisible([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public HRESULT GetTitleBarOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CAppWindowTitleBarOcclusion_t **")] IVectorView** result) + public HRESULT GetTitleBarOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CAppWindowTitleBarOcclusion_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[33]))((IAppWindowTitleBar*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[33]))((IAppWindowTitleBar*)Unsafe.AsPointer(ref this), result); } public interface Interface : IInspectable.Interface @@ -379,7 +379,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsVisible([NativeTypeName("boolean *")] byte* value); [VtblIndex(33)] - HRESULT GetTitleBarOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CAppWindowTitleBarOcclusion_t **")] IVectorView** result); + HRESULT GetTitleBarOcclusions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CAppWindowTitleBarOcclusion_t **")] IVectorView>** result); } public partial struct Vtbl @@ -485,6 +485,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsVisible; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CAppWindowTitleBarOcclusion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetTitleBarOcclusions; + public delegate* unmanaged[MemberFunction]>**, int> GetTitleBarOcclusions; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IDisplayRegion.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IDisplayRegion.cs index 22030981b6..eea99e14fd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IDisplayRegion.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IDisplayRegion.cs @@ -114,9 +114,9 @@ public HRESULT get_WindowingEnvironment([NativeTypeName("ABI::Windows::UI::Windo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CDisplayRegion_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CDisplayRegion_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDisplayRegion*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[11]))((IDisplayRegion*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -145,7 +145,7 @@ public interface Interface : IInspectable.Interface HRESULT get_WindowingEnvironment([NativeTypeName("ABI::Windows::UI::WindowManagement::IWindowingEnvironment **")] IWindowingEnvironment** value); [VtblIndex(11)] - HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CDisplayRegion_IInspectable_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CDisplayRegion_IInspectable_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(12)] HRESULT remove_Changed(EventRegistrationToken token); @@ -188,7 +188,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_WindowingEnvironment; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CDisplayRegion_IInspectable_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Changed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Changed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Changed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironment.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironment.cs index 957c644cd0..25d26b5b6e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironment.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironment.cs @@ -90,17 +90,17 @@ public HRESULT get_Kind([NativeTypeName("ABI::Windows::UI::WindowManagement::Win /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result) + public HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IWindowingEnvironment*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[8]))((IWindowingEnvironment*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CWindowingEnvironment_Windows__CUI__CWindowManagement__CWindowingEnvironmentChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CWindowingEnvironment_Windows__CUI__CWindowManagement__CWindowingEnvironmentChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[9]))((IWindowingEnvironment*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[9]))((IWindowingEnvironment*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -120,10 +120,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Kind([NativeTypeName("ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind *")] WindowingEnvironmentKind* value); [VtblIndex(8)] - HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView** result); + HRESULT GetDisplayRegions([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **")] IVectorView>** result); [VtblIndex(9)] - HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CWindowingEnvironment_Windows__CUI__CWindowManagement__CWindowingEnvironmentChangedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_Changed([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CWindowingEnvironment_Windows__CUI__CWindowManagement__CWindowingEnvironmentChangedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(10)] HRESULT remove_Changed(EventRegistrationToken token); @@ -157,10 +157,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Kind; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CDisplayRegion_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetDisplayRegions; + public delegate* unmanaged[MemberFunction]>**, int> GetDisplayRegions; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CUI__CWindowManagement__CWindowingEnvironment_Windows__CUI__CWindowManagement__CWindowingEnvironmentChangedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_Changed; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_Changed; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_Changed; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironmentStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironmentStatics.cs index 7cb3557c92..a3c76473a5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironmentStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.windowmanagement/IWindowingEnvironmentStatics.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView** result) + public HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IWindowingEnvironmentStatics*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IWindowingEnvironmentStatics*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT FindAllWithKind([NativeTypeName("ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind")] WindowingEnvironmentKind kind, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView** result) + public HRESULT FindAllWithKind([NativeTypeName("ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind")] WindowingEnvironmentKind kind, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IWindowingEnvironmentStatics*)Unsafe.AsPointer(ref this), kind, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[7]))((IWindowingEnvironmentStatics*)Unsafe.AsPointer(ref this), kind, result); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView** result); + HRESULT FindAll([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView>** result); [VtblIndex(7)] - HRESULT FindAllWithKind([NativeTypeName("ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind")] WindowingEnvironmentKind kind, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView** result); + HRESULT FindAllWithKind([NativeTypeName("ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind")] WindowingEnvironmentKind kind, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **")] IVectorView>** result); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAll; + public delegate* unmanaged[MemberFunction]>**, int> FindAll; [NativeTypeName("HRESULT (ABI::Windows::UI::WindowManagement::WindowingEnvironmentKind, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CUI__CWindowManagement__CWindowingEnvironment_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> FindAllWithKind; + public delegate* unmanaged[MemberFunction]>**, int> FindAllWithKind; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpBaseProtocolFilter4.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpBaseProtocolFilter4.cs index d55aab43dd..bf1751afc2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpBaseProtocolFilter4.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpBaseProtocolFilter4.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CWeb__CHttp__CFilters__CHttpBaseProtocolFilter_Windows__CWeb__CHttp__CFilters__CHttpServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token) + public HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CWeb__CHttp__CFilters__CHttpBaseProtocolFilter_Windows__CWeb__CHttp__CFilters__CHttpServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token) { - return ((delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int>)(lpVtbl[6]))((IHttpBaseProtocolFilter4*)Unsafe.AsPointer(ref this), handler, token); + return ((delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int>)(lpVtbl[6]))((IHttpBaseProtocolFilter4*)Unsafe.AsPointer(ref this), handler, token); } /// @@ -98,7 +98,7 @@ public HRESULT ClearAuthenticationCache() public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CWeb__CHttp__CFilters__CHttpBaseProtocolFilter_Windows__CWeb__CHttp__CFilters__CHttpServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler* handler, EventRegistrationToken* token); + HRESULT add_ServerCustomValidationRequested([NativeTypeName("ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CWeb__CHttp__CFilters__CHttpBaseProtocolFilter_Windows__CWeb__CHttp__CFilters__CHttpServerCustomValidationRequestedEventArgs_t *")] ITypedEventHandler, Pointer>* handler, EventRegistrationToken* token); [VtblIndex(7)] HRESULT remove_ServerCustomValidationRequested(EventRegistrationToken token); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FITypedEventHandler_2_Windows__CWeb__CHttp__CFilters__CHttpBaseProtocolFilter_Windows__CWeb__CHttp__CFilters__CHttpServerCustomValidationRequestedEventArgs_t *, EventRegistrationToken *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; + public delegate* unmanaged[MemberFunction], Pointer>*, EventRegistrationToken*, int> add_ServerCustomValidationRequested; [NativeTypeName("HRESULT (EventRegistrationToken) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] remove_ServerCustomValidationRequested; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpFilter.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpFilter.cs index fd8a83d1a8..92043303e7 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpFilter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpFilter.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpFilter*)Unsafe.AsPointer(ref this), request, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[6]))((IHttpFilter*)Unsafe.AsPointer(ref this), request, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::IHttpRequestMessage *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendRequestAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> SendRequestAsync; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpServerCustomValidationRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpServerCustomValidationRequestedEventArgs.cs index ea9b791ba0..f233138df0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpServerCustomValidationRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.filters/IHttpServerCustomValidationRequestedEventArgs.cs @@ -106,9 +106,9 @@ public HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Founda /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHttpServerCustomValidationRequestedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IHttpServerCustomValidationRequestedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -142,7 +142,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CChainValidationResult_t **")] IVectorView** value); [VtblIndex(10)] - HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); [VtblIndex(11)] HRESULT Reject(); @@ -185,7 +185,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ServerCertificateErrors; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ServerIntermediateCertificates; + public delegate* unmanaged[MemberFunction]>**, int> get_ServerIntermediateCertificates; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] Reject; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpChallengeHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpChallengeHeaderValue.cs index 7e864fb4f3..e5f3c571ac 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpChallengeHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpChallengeHeaderValue.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpChallengeHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHttpChallengeHeaderValue*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_Token(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_Scheme(HSTRING* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Scheme; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpContentDispositionHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpContentDispositionHeaderValue.cs index 11efaa3b82..a8d9ad68b1 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpContentDispositionHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpContentDispositionHeaderValue.cs @@ -138,9 +138,9 @@ public HRESULT put_Name(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IHttpContentDispositionHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[14]))((IHttpContentDispositionHeaderValue*)Unsafe.AsPointer(ref this), value); } /// @@ -186,7 +186,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Name(HSTRING value); [VtblIndex(14)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); [VtblIndex(15)] HRESULT get_Size([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_UINT64_t **")] IReference** value); @@ -241,7 +241,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Name; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_UINT64_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_Size; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpCredentialsHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpCredentialsHeaderValue.cs index 9dfc1086ee..57fa6dd265 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpCredentialsHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpCredentialsHeaderValue.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpCredentialsHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHttpCredentialsHeaderValue*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_Token(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_Scheme(HSTRING* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Scheme; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpExpectationHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpExpectationHeaderValue.cs index ff193997a5..8fa4ae92b5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpExpectationHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpExpectationHeaderValue.cs @@ -98,9 +98,9 @@ public HRESULT put_Value(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpExpectationHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IHttpExpectationHeaderValue*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Value(HSTRING value); [VtblIndex(9)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Value; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeHeaderValue.cs index 0f23583724..478b88fff0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeHeaderValue.cs @@ -106,9 +106,9 @@ public HRESULT put_MediaType(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHttpMediaTypeHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IHttpMediaTypeHeaderValue*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT put_MediaType(HSTRING value); [VtblIndex(10)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_MediaType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeWithQualityHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeWithQualityHeaderValue.cs index 3015fe023c..947bae8a5e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeWithQualityHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpMediaTypeWithQualityHeaderValue.cs @@ -106,9 +106,9 @@ public HRESULT put_MediaType(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHttpMediaTypeWithQualityHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[10]))((IHttpMediaTypeWithQualityHeaderValue*)Unsafe.AsPointer(ref this), value); } /// @@ -142,7 +142,7 @@ public interface Interface : IInspectable.Interface HRESULT put_MediaType(HSTRING value); [VtblIndex(10)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); [VtblIndex(11)] HRESULT get_Quality([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_double_t **")] IReference** value); @@ -185,7 +185,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_MediaType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_double_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_Quality; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpTransferCodingHeaderValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpTransferCodingHeaderValue.cs index 3564e8fd77..756b2104a4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpTransferCodingHeaderValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http.headers/IHttpTransferCodingHeaderValue.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value) + public HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpTransferCodingHeaderValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IHttpTransferCodingHeaderValue*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Value(HSTRING* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector** value); + HRESULT get_Parameters([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **")] IVector>** value); [VtblIndex(7)] HRESULT get_Value(HSTRING* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVector_1_Windows__CWeb__CHttp__CHeaders__CHttpNameValueHeaderValue_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Parameters; + public delegate* unmanaged[MemberFunction]>**, int> get_Parameters; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Value; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient.cs index 6a624ef9e5..88b38638c6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient.cs @@ -74,41 +74,41 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[6]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[7]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT GetWithOptionAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT GetWithOptionAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, completionOption, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[8]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, completionOption, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT GetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[9]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT GetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[10]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, operation); } /// @@ -122,33 +122,33 @@ public HRESULT GetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRun /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT PostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT PostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, content, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[12]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, content, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT PutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT PutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, content, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[13]))((IHttpClient*)Unsafe.AsPointer(ref this), uri, content, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IHttpClient*)Unsafe.AsPointer(ref this), request, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[14]))((IHttpClient*)Unsafe.AsPointer(ref this), request, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT SendRequestWithOptionAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT SendRequestWithOptionAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IHttpClient*)Unsafe.AsPointer(ref this), request, completionOption, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[15]))((IHttpClient*)Unsafe.AsPointer(ref this), request, completionOption, operation); } /// @@ -162,34 +162,34 @@ public HRESULT get_DefaultRequestHeaders([NativeTypeName("ABI::Windows::Web::Htt public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT DeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(7)] - HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT GetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(8)] - HRESULT GetWithOptionAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT GetWithOptionAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(9)] - HRESULT GetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT GetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(10)] - HRESULT GetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT GetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(11)] HRESULT GetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_HSTRING_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); [VtblIndex(12)] - HRESULT PostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT PostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(13)] - HRESULT PutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT PutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(14)] - HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT SendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(15)] - HRESULT SendRequestWithOptionAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT SendRequestWithOptionAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(16)] HRESULT get_DefaultRequestHeaders([NativeTypeName("ABI::Windows::Web::Http::Headers::IHttpRequestHeaderCollection **")] IHttpRequestHeaderCollection** value); @@ -217,34 +217,34 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> DeleteAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> DeleteAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> GetAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::HttpCompletionOption, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetWithOptionAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> GetWithOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetBufferAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> GetBufferAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetInputStreamAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> GetInputStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_HSTRING_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> GetStringAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::IHttpContent *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PostAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> PostAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::IHttpContent *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> PutAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> PutAsync; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::IHttpRequestMessage *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendRequestAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> SendRequestAsync; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::IHttpRequestMessage *, ABI::Windows::Web::Http::HttpCompletionOption, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpResponseMessage_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> SendRequestWithOptionAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> SendRequestWithOptionAsync; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::Headers::IHttpRequestHeaderCollection **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_DefaultRequestHeaders; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient2.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient2.cs index 3ac1cfcce6..b4d50c8aa5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpClient2.cs @@ -74,114 +74,114 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT TryDeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryDeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[6]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT TryGetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryGetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[7]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[7]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT TryGetAsync2([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryGetAsync2([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, completionOption, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[8]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, completionOption, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT TryGetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetBufferResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryGetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetBufferResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[9]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT TryGetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetInputStreamResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryGetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetInputStreamResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[10]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT TryGetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetStringResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryGetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetStringResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[11]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT TryPostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryPostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[12]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, content, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[12]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, content, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT TryPutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TryPutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, content, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[13]))((IHttpClient2*)Unsafe.AsPointer(ref this), uri, content, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT TrySendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TrySendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[14]))((IHttpClient2*)Unsafe.AsPointer(ref this), request, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[14]))((IHttpClient2*)Unsafe.AsPointer(ref this), request, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HRESULT TrySendRequestAsync2([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation) + public HRESULT TrySendRequestAsync2([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[15]))((IHttpClient2*)Unsafe.AsPointer(ref this), request, completionOption, operation); + return ((delegate* unmanaged[MemberFunction], HttpProgress>**, int>)(lpVtbl[15]))((IHttpClient2*)Unsafe.AsPointer(ref this), request, completionOption, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT TryDeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryDeleteAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(7)] - HRESULT TryGetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryGetAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(8)] - HRESULT TryGetAsync2([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryGetAsync2([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(9)] - HRESULT TryGetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetBufferResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryGetBufferAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetBufferResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(10)] - HRESULT TryGetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetInputStreamResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryGetInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetInputStreamResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(11)] - HRESULT TryGetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetStringResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryGetStringAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetStringResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(12)] - HRESULT TryPostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryPostAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(13)] - HRESULT TryPutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TryPutAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent *")] IHttpContent* content, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(14)] - HRESULT TrySendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TrySendRequestAsync([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); [VtblIndex(15)] - HRESULT TrySendRequestAsync2([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress** operation); + HRESULT TrySendRequestAsync2([NativeTypeName("ABI::Windows::Web::Http::IHttpRequestMessage *")] IHttpRequestMessage* request, [NativeTypeName("ABI::Windows::Web::Http::HttpCompletionOption")] HttpCompletionOption completionOption, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **")] IAsyncOperationWithProgress, HttpProgress>** operation); } public partial struct Vtbl @@ -206,33 +206,33 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryDeleteAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryDeleteAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryGetAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::HttpCompletionOption, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetAsync2; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryGetAsync2; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetBufferResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetBufferAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryGetBufferAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetInputStreamResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetInputStreamAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryGetInputStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpGetStringResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryGetStringAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryGetStringAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::IHttpContent *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryPostAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryPostAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Web::Http::IHttpContent *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TryPutAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TryPutAsync; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::IHttpRequestMessage *, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TrySendRequestAsync; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TrySendRequestAsync; [NativeTypeName("HRESULT (ABI::Windows::Web::Http::IHttpRequestMessage *, ABI::Windows::Web::Http::HttpCompletionOption, ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CWeb__CHttp__CHttpRequestResult_Windows__CWeb__CHttp__CHttpProgress_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> TrySendRequestAsync2; + public delegate* unmanaged[MemberFunction], HttpProgress>**, int> TrySendRequestAsync2; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpContent.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpContent.cs index e299154e21..30604833d9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpContent.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpContent.cs @@ -90,17 +90,17 @@ public HRESULT BufferAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsy /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT ReadAsBufferAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT64_t **")] IAsyncOperationWithProgress** operation) + public HRESULT ReadAsBufferAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT64_t **")] IAsyncOperationWithProgress, ulong>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[8]))((IHttpContent*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], ulong>**, int>)(lpVtbl[8]))((IHttpContent*)Unsafe.AsPointer(ref this), operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT ReadAsInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_UINT64_t **")] IAsyncOperationWithProgress** operation) + public HRESULT ReadAsInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_UINT64_t **")] IAsyncOperationWithProgress, ulong>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpContent*)Unsafe.AsPointer(ref this), operation); + return ((delegate* unmanaged[MemberFunction], ulong>**, int>)(lpVtbl[9]))((IHttpContent*)Unsafe.AsPointer(ref this), operation); } /// @@ -136,10 +136,10 @@ public interface Interface : IInspectable.Interface HRESULT BufferAllAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_UINT64_UINT64_t **")] IAsyncOperationWithProgress** operation); [VtblIndex(8)] - HRESULT ReadAsBufferAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT64_t **")] IAsyncOperationWithProgress** operation); + HRESULT ReadAsBufferAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT64_t **")] IAsyncOperationWithProgress, ulong>** operation); [VtblIndex(9)] - HRESULT ReadAsInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_UINT64_t **")] IAsyncOperationWithProgress** operation); + HRESULT ReadAsInputStreamAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_UINT64_t **")] IAsyncOperationWithProgress, ulong>** operation); [VtblIndex(10)] HRESULT ReadAsStringAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_HSTRING_UINT64_t **")] IAsyncOperationWithProgress** operation); @@ -179,10 +179,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> BufferAllAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIBuffer_UINT64_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadAsBufferAsync; + public delegate* unmanaged[MemberFunction], ulong>**, int> ReadAsBufferAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_Windows__CStorage__CStreams__CIInputStream_UINT64_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ReadAsInputStreamAsync; + public delegate* unmanaged[MemberFunction], ulong>**, int> ReadAsInputStreamAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperationWithProgress_2_HSTRING_UINT64_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ReadAsStringAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpCookieManager.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpCookieManager.cs index 414d9ef8e1..21f1abfb99 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpCookieManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpCookieManager.cs @@ -98,9 +98,9 @@ public HRESULT DeleteCookie([NativeTypeName("ABI::Windows::Web::Http::IHttpCooki /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetCookies([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVectorView** result) + public HRESULT GetCookies([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVectorView>** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpCookieManager*)Unsafe.AsPointer(ref this), uri, result); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IHttpCookieManager*)Unsafe.AsPointer(ref this), uri, result); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT DeleteCookie([NativeTypeName("ABI::Windows::Web::Http::IHttpCookie *")] IHttpCookie* cookie); [VtblIndex(9)] - HRESULT GetCookies([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVectorView** result); + HRESULT GetCookies([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t **")] IVectorView>** result); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteCookie; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CWeb__CHttp__CHttpCookie_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> GetCookies; + public delegate* unmanaged[MemberFunction]>**, int> GetCookies; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpFormUrlEncodedContentFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpFormUrlEncodedContentFactory.cs index 783e0d0565..c82adf217f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpFormUrlEncodedContentFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpFormUrlEncodedContentFactory.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT Create([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* content, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent **")] IHttpContent** value) + public HRESULT Create([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* content, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent **")] IHttpContent** value) { - return ((delegate* unmanaged[MemberFunction]*, IHttpContent**, int>)(lpVtbl[6]))((IHttpFormUrlEncodedContentFactory*)Unsafe.AsPointer(ref this), content, value); + return ((delegate* unmanaged[MemberFunction]>>*, IHttpContent**, int>)(lpVtbl[6]))((IHttpFormUrlEncodedContentFactory*)Unsafe.AsPointer(ref this), content, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT Create([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable* content, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent **")] IHttpContent** value); + HRESULT Create([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *")] IIterable>>* content, [NativeTypeName("ABI::Windows::Web::Http::IHttpContent **")] IHttpContent** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_HSTRING_HSTRING_t *, ABI::Windows::Web::Http::IHttpContent **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]*, IHttpContent**, int> Create; + public delegate* unmanaged[MemberFunction]>>*, IHttpContent**, int> Create; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpRequestMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpRequestMessage.cs index ed76bee33f..ce44503094 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpRequestMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpRequestMessage.cs @@ -114,9 +114,9 @@ public HRESULT put_Method([NativeTypeName("ABI::Windows::Web::Http::IHttpMethod /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap** value) + public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[11]))((IHttpRequestMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[11]))((IHttpRequestMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -161,7 +161,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Method([NativeTypeName("ABI::Windows::Web::Http::IHttpMethod *")] IHttpMethod* value); [VtblIndex(11)] - HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap** value); + HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **")] IMap>** value); [VtblIndex(12)] HRESULT get_RequestUri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass **")] IUriRuntimeClass** value); @@ -210,7 +210,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Method; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIMap_2_HSTRING_IInspectable_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_Properties; + public delegate* unmanaged[MemberFunction]>**, int> get_Properties; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RequestUri; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpTransportInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpTransportInformation.cs index 0bd2d026f1..25a4260b44 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpTransportInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web.http/IHttpTransportInformation.cs @@ -98,9 +98,9 @@ public HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Founda /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value) + public HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[9]))((IHttpTransportInformation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[9]))((IHttpTransportInformation*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT get_ServerCertificateErrors([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CChainValidationResult_t **")] IVectorView** value); [VtblIndex(9)] - HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView** value); + HRESULT get_ServerIntermediateCertificates([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **")] IVectorView>** value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ServerCertificateErrors; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_Windows__CSecurity__CCryptography__CCertificates__CCertificate_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> get_ServerIntermediateCertificates; + public delegate* unmanaged[MemberFunction]>**, int> get_ServerIntermediateCertificates; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.web/IUriToStreamResolver.cs b/sources/Interop/Windows/WinRT/winrt/windows.web/IUriToStreamResolver.cs index c6a2790720..7cf597934e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.web/IUriToStreamResolver.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.web/IUriToStreamResolver.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT UriToStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation** operation) + public HRESULT UriToStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation>** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[6]))((IUriToStreamResolver*)Unsafe.AsPointer(ref this), uri, operation); + return ((delegate* unmanaged[MemberFunction]>**, int>)(lpVtbl[6]))((IUriToStreamResolver*)Unsafe.AsPointer(ref this), uri, operation); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT UriToStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation** operation); + HRESULT UriToStreamAsync([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* uri, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **")] IAsyncOperation>** operation); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CStorage__CStreams__CIInputStream_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> UriToStreamAsync; + public delegate* unmanaged[MemberFunction]>**, int> UriToStreamAsync; } } diff --git a/sources/Interop/Windows/Windows/other/helper-types/Pointer`1.cs b/sources/Interop/Windows/Windows/other/helper-types/Pointer`1.cs new file mode 100644 index 0000000000..abf690807f --- /dev/null +++ b/sources/Interop/Windows/Windows/other/helper-types/Pointer`1.cs @@ -0,0 +1,98 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +using System; + +namespace TerraFX.Interop.Windows; + +public readonly unsafe partial struct Pointer : IComparable, IComparable>, IEquatable>, IFormattable + where T : unmanaged +{ + public readonly T* Value; + + public Pointer(T* value) + { + Value = value; + } + + public static bool operator ==(Pointer left, Pointer right) => left.Value == right.Value; + + public static bool operator !=(Pointer left, Pointer right) => left.Value != right.Value; + + public static bool operator <(Pointer left, Pointer right) => left.Value < right.Value; + + public static bool operator <=(Pointer left, Pointer right) => left.Value <= right.Value; + + public static bool operator >(Pointer left, Pointer right) => left.Value > right.Value; + + public static bool operator >=(Pointer left, Pointer right) => left.Value >= right.Value; + + public static implicit operator Pointer(T* value) => new Pointer(value); + + public static implicit operator T*(Pointer value) => value.Value; + + public static explicit operator Pointer(void* value) => new Pointer((T*)(value)); + + public static implicit operator void*(Pointer value) => value.Value; + + public static explicit operator Pointer(byte value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator byte(Pointer value) => (byte)(value.Value); + + public static explicit operator Pointer(short value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator short(Pointer value) => (short)(value.Value); + + public static explicit operator Pointer(int value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator int(Pointer value) => (int)(value.Value); + + public static explicit operator Pointer(long value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator long(Pointer value) => (long)(value.Value); + + public static explicit operator Pointer(nint value) => new Pointer(unchecked((T*)(value))); + + public static implicit operator nint(Pointer value) => (nint)(value.Value); + + public static explicit operator Pointer(sbyte value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator sbyte(Pointer value) => (sbyte)(value.Value); + + public static explicit operator Pointer(ushort value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator ushort(Pointer value) => (ushort)(value.Value); + + public static explicit operator Pointer(uint value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator uint(Pointer value) => (uint)(value.Value); + + public static explicit operator Pointer(ulong value) => new Pointer(unchecked((T*)(value))); + + public static explicit operator ulong(Pointer value) => (ulong)(value.Value); + + public static explicit operator Pointer(nuint value) => new Pointer(unchecked((T*)(value))); + + public static implicit operator nuint(Pointer value) => (nuint)(value.Value); + + public int CompareTo(object? obj) + { + if (obj is Pointer other) + { + return CompareTo(other); + } + + return (obj is null) ? 1 : throw new ArgumentException("obj is not an instance of Pointer."); + } + + public int CompareTo(Pointer other) => ((nuint)(Value)).CompareTo((nuint)(other.Value)); + + public override bool Equals(object? obj) => (obj is Pointer other) && Equals(other); + + public bool Equals(Pointer other) => ((nuint)(Value)).Equals((nuint)(other.Value)); + + public override int GetHashCode() => ((nuint)(Value)).GetHashCode(); + + public override string ToString() => ((nuint)(Value)).ToString((sizeof(nint) == 4) ? "X8" : "X16"); + + public string ToString(string? format, IFormatProvider? formatProvider) => ((nuint)(Value)).ToString(format, formatProvider); +} diff --git a/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs b/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs index 08218e88e5..afe6914e2c 100644 --- a/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs +++ b/sources/Interop/Windows/Windows/um/WinUser/Windows.Manual.cs @@ -125,19 +125,19 @@ public static POINT POINTSTOPOINT(POINTS pts) [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: NativeTypeName("INT_PTR")] - public static IntPtr DialogBoxA(HINSTANCE hInstance, [NativeTypeName("LPCSTR")] sbyte* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); + public static nint DialogBoxA(HINSTANCE hInstance, [NativeTypeName("LPCSTR")] sbyte* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: NativeTypeName("INT_PTR")] - public static IntPtr DialogBoxW(HINSTANCE hInstance, [NativeTypeName("LPCWSTR")] char* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); + public static nint DialogBoxW(HINSTANCE hInstance, [NativeTypeName("LPCWSTR")] char* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: NativeTypeName("INT_PTR")] - public static IntPtr DialogBoxIndirectA(HINSTANCE hInstance, [NativeTypeName("LPCDLGTEMPLATEA")] DLGTEMPLATE* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); + public static nint DialogBoxIndirectA(HINSTANCE hInstance, [NativeTypeName("LPCDLGTEMPLATEA")] DLGTEMPLATE* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: NativeTypeName("INT_PTR")] - public static IntPtr DialogBoxIndirectW(HINSTANCE hInstance, [NativeTypeName("LPCDLGTEMPLATEW")] DLGTEMPLATE* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); + public static nint DialogBoxIndirectW(HINSTANCE hInstance, [NativeTypeName("LPCDLGTEMPLATEW")] DLGTEMPLATE* lpTemplate, HWND hWndParent, [NativeTypeName("DLGPROC")] delegate* unmanaged lpDialogFunc) => DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, dwInitParam: 0); [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int TOUCH_COORD_TO_PIXEL(int l) => l / 100; @@ -330,7 +330,7 @@ public static nuint SetClassLongPtrW(HWND hWnd, int nIndex, [NativeTypeName("LON } [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static BOOL EnumTaskWindows(IntPtr hTask, [NativeTypeName("WNDENUMPROC")] delegate* unmanaged lpfn, LPARAM lParam) => EnumThreadWindows((uint)hTask, lpfn, lParam); + public static BOOL EnumTaskWindows(HTASK hTask, [NativeTypeName("WNDENUMPROC")] delegate* unmanaged lpfn, LPARAM lParam) => EnumThreadWindows((uint)hTask, lpfn, lParam); [MethodImpl(MethodImplOptions.AggressiveInlining)] public static HWND GetNextWindow(HWND hWnd, ushort wCmd) => GetWindow(hWnd, wCmd); diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2Tests.cs new file mode 100644 index 0000000000..243f4c9a36 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachment2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailAttachment2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailAttachment2).GUID, Is.EqualTo(IID_IEmailAttachment2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2Tests.cs new file mode 100644 index 0000000000..5bf125349f --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactory2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailAttachmentFactory2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailAttachmentFactory2).GUID, Is.EqualTo(IID_IEmailAttachmentFactory2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactoryTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactoryTests.cs new file mode 100644 index 0000000000..c22fcd0826 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentFactoryTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailAttachmentFactoryTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailAttachmentFactory).GUID, Is.EqualTo(IID_IEmailAttachmentFactory)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentTests.cs new file mode 100644 index 0000000000..54dbd93a02 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailAttachmentTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailAttachmentTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailAttachment).GUID, Is.EqualTo(IID_IEmailAttachment)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatchTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatchTests.cs new file mode 100644 index 0000000000..a441e44af9 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationBatchTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailConversationBatchTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailConversationBatch).GUID, Is.EqualTo(IID_IEmailConversationBatch)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReaderTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReaderTests.cs new file mode 100644 index 0000000000..7191d17b24 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationReaderTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailConversationReaderTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailConversationReader).GUID, Is.EqualTo(IID_IEmailConversationReader)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationTests.cs new file mode 100644 index 0000000000..2e094c4d5c --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailConversationTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailConversationTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailConversation).GUID, Is.EqualTo(IID_IEmailConversation)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolderTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolderTests.cs new file mode 100644 index 0000000000..5ff4767768 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailFolderTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailFolderTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailFolder).GUID, Is.EqualTo(IID_IEmailFolder)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactoryTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactoryTests.cs new file mode 100644 index 0000000000..0571ffc079 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoFactoryTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailIrmInfoFactoryTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailIrmInfoFactory).GUID, Is.EqualTo(IID_IEmailIrmInfoFactory)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoTests.cs new file mode 100644 index 0000000000..4c9a526324 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmInfoTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailIrmInfoTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailIrmInfo).GUID, Is.EqualTo(IID_IEmailIrmInfo)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactoryTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactoryTests.cs new file mode 100644 index 0000000000..5eeb064b8c --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateFactoryTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailIrmTemplateFactoryTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailIrmTemplateFactory).GUID, Is.EqualTo(IID_IEmailIrmTemplateFactory)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateTests.cs new file mode 100644 index 0000000000..1b35a9f1a4 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailIrmTemplateTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailIrmTemplateTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailIrmTemplate).GUID, Is.EqualTo(IID_IEmailIrmTemplate)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCountsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCountsTests.cs new file mode 100644 index 0000000000..ba8ceed410 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailItemCountsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailItemCountsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailItemCounts).GUID, Is.EqualTo(IID_IEmailItemCounts)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2Tests.cs new file mode 100644 index 0000000000..87282e7c1a --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailbox2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailbox2).GUID, Is.EqualTo(IID_IEmailMailbox2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3Tests.cs new file mode 100644 index 0000000000..452dc9ae0b --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox3Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailbox3Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailbox3).GUID, Is.EqualTo(IID_IEmailMailbox3)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4Tests.cs new file mode 100644 index 0000000000..937e232b2e --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox4Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailbox4Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailbox4).GUID, Is.EqualTo(IID_IEmailMailbox4)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5Tests.cs new file mode 100644 index 0000000000..0e68d21d61 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailbox5Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailbox5Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailbox5).GUID, Is.EqualTo(IID_IEmailMailbox5)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxActionTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxActionTests.cs new file mode 100644 index 0000000000..825a41d5d9 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxActionTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxActionTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxAction).GUID, Is.EqualTo(IID_IEmailMailboxAction)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettingsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettingsTests.cs new file mode 100644 index 0000000000..62341a0358 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplySettingsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxAutoReplySettingsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxAutoReplySettings).GUID, Is.EqualTo(IID_IEmailMailboxAutoReplySettings)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplyTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplyTests.cs new file mode 100644 index 0000000000..e48145aeac --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxAutoReplyTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxAutoReplyTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxAutoReply).GUID, Is.EqualTo(IID_IEmailMailboxAutoReply)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2Tests.cs new file mode 100644 index 0000000000..2cb9becc5e --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxCapabilities2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxCapabilities2).GUID, Is.EqualTo(IID_IEmailMailboxCapabilities2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3Tests.cs new file mode 100644 index 0000000000..1109ce4cc8 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilities3Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxCapabilities3Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxCapabilities3).GUID, Is.EqualTo(IID_IEmailMailboxCapabilities3)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilitiesTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilitiesTests.cs new file mode 100644 index 0000000000..2a951a0df2 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCapabilitiesTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxCapabilitiesTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxCapabilities).GUID, Is.EqualTo(IID_IEmailMailboxCapabilities)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReaderTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReaderTests.cs new file mode 100644 index 0000000000..0b3b3779ce --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeReaderTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxChangeReaderTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxChangeReader).GUID, Is.EqualTo(IID_IEmailMailboxChangeReader)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTests.cs new file mode 100644 index 0000000000..09dbbb21aa --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxChangeTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxChange).GUID, Is.EqualTo(IID_IEmailMailboxChange)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTrackerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTrackerTests.cs new file mode 100644 index 0000000000..7454fb7056 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangeTrackerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxChangeTrackerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxChangeTracker).GUID, Is.EqualTo(IID_IEmailMailboxChangeTracker)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferralTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferralTests.cs new file mode 100644 index 0000000000..a9c537a644 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedDeferralTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxChangedDeferralTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxChangedDeferral).GUID, Is.EqualTo(IID_IEmailMailboxChangedDeferral)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgsTests.cs new file mode 100644 index 0000000000..cb17198088 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxChangedEventArgsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxChangedEventArgsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxChangedEventArgs).GUID, Is.EqualTo(IID_IEmailMailboxChangedEventArgs)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResultTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResultTests.cs new file mode 100644 index 0000000000..154825e08f --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxCreateFolderResultTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxCreateFolderResultTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxCreateFolderResult).GUID, Is.EqualTo(IID_IEmailMailboxCreateFolderResult)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2Tests.cs new file mode 100644 index 0000000000..5e1567995a --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxPolicies2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxPolicies2).GUID, Is.EqualTo(IID_IEmailMailboxPolicies2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3Tests.cs new file mode 100644 index 0000000000..a94dbee562 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPolicies3Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxPolicies3Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxPolicies3).GUID, Is.EqualTo(IID_IEmailMailboxPolicies3)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPoliciesTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPoliciesTests.cs new file mode 100644 index 0000000000..ec59f39b96 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxPoliciesTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxPoliciesTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxPolicies).GUID, Is.EqualTo(IID_IEmailMailboxPolicies)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2Tests.cs new file mode 100644 index 0000000000..6f7ac57cc8 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManager2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxSyncManager2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxSyncManager2).GUID, Is.EqualTo(IID_IEmailMailboxSyncManager2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManagerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManagerTests.cs new file mode 100644 index 0000000000..381f1a5a66 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxSyncManagerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxSyncManagerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailboxSyncManager).GUID, Is.EqualTo(IID_IEmailMailboxSyncManager)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxTests.cs new file mode 100644 index 0000000000..730420c2b6 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMailboxTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMailboxTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMailbox).GUID, Is.EqualTo(IID_IEmailMailbox)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUserTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUserTests.cs new file mode 100644 index 0000000000..ad8ed8a19c --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerForUserTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailManagerForUserTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailManagerForUser).GUID, Is.EqualTo(IID_IEmailManagerForUser)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2Tests.cs new file mode 100644 index 0000000000..3ddae33b32 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailManagerStatics2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailManagerStatics2).GUID, Is.EqualTo(IID_IEmailManagerStatics2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3Tests.cs new file mode 100644 index 0000000000..a813d97e2f --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStatics3Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailManagerStatics3Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailManagerStatics3).GUID, Is.EqualTo(IID_IEmailManagerStatics3)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStaticsTests.cs new file mode 100644 index 0000000000..3d24beb023 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailManagerStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailManagerStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailManagerStatics).GUID, Is.EqualTo(IID_IEmailManagerStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2Tests.cs new file mode 100644 index 0000000000..37f07d9a29 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfo2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMeetingInfo2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMeetingInfo2).GUID, Is.EqualTo(IID_IEmailMeetingInfo2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfoTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfoTests.cs new file mode 100644 index 0000000000..919bad3e84 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMeetingInfoTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMeetingInfoTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMeetingInfo).GUID, Is.EqualTo(IID_IEmailMeetingInfo)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2Tests.cs new file mode 100644 index 0000000000..9efd132714 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessage2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessage2).GUID, Is.EqualTo(IID_IEmailMessage2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3Tests.cs new file mode 100644 index 0000000000..5a3b7abfdd --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage3Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessage3Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessage3).GUID, Is.EqualTo(IID_IEmailMessage3)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4Tests.cs new file mode 100644 index 0000000000..c483a9ba85 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessage4Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessage4Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessage4).GUID, Is.EqualTo(IID_IEmailMessage4)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatchTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatchTests.cs new file mode 100644 index 0000000000..198a107fad --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageBatchTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessageBatchTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessageBatch).GUID, Is.EqualTo(IID_IEmailMessageBatch)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReaderTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReaderTests.cs new file mode 100644 index 0000000000..1fb27cabda --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageReaderTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessageReaderTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessageReader).GUID, Is.EqualTo(IID_IEmailMessageReader)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageTests.cs new file mode 100644 index 0000000000..6d03aa3592 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailMessageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailMessageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailMessage).GUID, Is.EqualTo(IID_IEmailMessage)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactoryTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactoryTests.cs new file mode 100644 index 0000000000..29c6049e25 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsFactoryTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailQueryOptionsFactoryTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailQueryOptionsFactory).GUID, Is.EqualTo(IID_IEmailQueryOptionsFactory)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsTests.cs new file mode 100644 index 0000000000..b037c0352a --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryOptionsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailQueryOptionsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailQueryOptions).GUID, Is.EqualTo(IID_IEmailQueryOptions)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearchTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearchTests.cs new file mode 100644 index 0000000000..a456ded05d --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailQueryTextSearchTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailQueryTextSearchTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailQueryTextSearch).GUID, Is.EqualTo(IID_IEmailQueryTextSearch)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactoryTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactoryTests.cs new file mode 100644 index 0000000000..ad75e226d7 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientFactoryTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailRecipientFactoryTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailRecipientFactory).GUID, Is.EqualTo(IID_IEmailRecipientFactory)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2Tests.cs new file mode 100644 index 0000000000..8a916e4827 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResult2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailRecipientResolutionResult2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailRecipientResolutionResult2).GUID, Is.EqualTo(IID_IEmailRecipientResolutionResult2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResultTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResultTests.cs new file mode 100644 index 0000000000..55321cf635 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientResolutionResultTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailRecipientResolutionResultTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailRecipientResolutionResult).GUID, Is.EqualTo(IID_IEmailRecipientResolutionResult)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientTests.cs new file mode 100644 index 0000000000..36b278a791 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailRecipientTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailRecipientTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailRecipient).GUID, Is.EqualTo(IID_IEmailRecipient)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetailsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetailsTests.cs new file mode 100644 index 0000000000..9ada304c94 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreNotificationTriggerDetailsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailStoreNotificationTriggerDetailsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailStoreNotificationTriggerDetails).GUID, Is.EqualTo(IID_IEmailStoreNotificationTriggerDetails)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreTests.cs new file mode 100644 index 0000000000..48a9f13cb4 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.email/IEmailStoreTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.email.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IEmailStoreTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IEmailStore).GUID, Is.EqualTo(IID_IEmailStore)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatchTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatchTests.cs new file mode 100644 index 0000000000..2856272ed3 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskBatchTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskBatchTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskBatch).GUID, Is.EqualTo(IID_IUserDataTaskBatch)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperationsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperationsTests.cs new file mode 100644 index 0000000000..83b72f38e2 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListLimitedWriteOperationsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskListLimitedWriteOperationsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskListLimitedWriteOperations).GUID, Is.EqualTo(IID_IUserDataTaskListLimitedWriteOperations)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManagerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManagerTests.cs new file mode 100644 index 0000000000..cb4d69fa3c --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListSyncManagerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskListSyncManagerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskListSyncManager).GUID, Is.EqualTo(IID_IUserDataTaskListSyncManager)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListTests.cs new file mode 100644 index 0000000000..0823a1d367 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskListTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskListTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskList).GUID, Is.EqualTo(IID_IUserDataTaskList)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStaticsTests.cs new file mode 100644 index 0000000000..b6eba3aea8 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskManagerStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskManagerStatics).GUID, Is.EqualTo(IID_IUserDataTaskManagerStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerTests.cs new file mode 100644 index 0000000000..af84531210 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskManagerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskManagerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskManager).GUID, Is.EqualTo(IID_IUserDataTaskManager)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptionsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptionsTests.cs new file mode 100644 index 0000000000..29c19266b2 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskQueryOptionsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskQueryOptionsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskQueryOptions).GUID, Is.EqualTo(IID_IUserDataTaskQueryOptions)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReaderTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReaderTests.cs new file mode 100644 index 0000000000..06dd15258d --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskReaderTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskReaderTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskReader).GUID, Is.EqualTo(IID_IUserDataTaskReader)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrencePropertiesTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrencePropertiesTests.cs new file mode 100644 index 0000000000..be4fcd8146 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRecurrencePropertiesTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskRecurrencePropertiesTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskRecurrenceProperties).GUID, Is.EqualTo(IID_IUserDataTaskRecurrenceProperties)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationPropertiesTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationPropertiesTests.cs new file mode 100644 index 0000000000..9bf94f8fb2 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskRegenerationPropertiesTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskRegenerationPropertiesTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskRegenerationProperties).GUID, Is.EqualTo(IID_IUserDataTaskRegenerationProperties)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStoreTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStoreTests.cs new file mode 100644 index 0000000000..e596ebb6a5 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskStoreTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskStoreTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTaskStore).GUID, Is.EqualTo(IID_IUserDataTaskStore)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskTests.cs new file mode 100644 index 0000000000..d8e4f2d9b2 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.applicationmodel.userdatatasks/IUserDataTaskTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.applicationmodel.userdatatasks.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IUserDataTaskTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IUserDataTask).GUID, Is.EqualTo(IID_IUserDataTask)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStaticsTests.cs new file mode 100644 index 0000000000..4b8139a148 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonArrayStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonArrayStatics).GUID, Is.EqualTo(IID_IJsonArrayStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayTests.cs new file mode 100644 index 0000000000..10f5a97934 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonArrayTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonArrayTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonArray).GUID, Is.EqualTo(IID_IJsonArray)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2Tests.cs new file mode 100644 index 0000000000..7fda4d4c87 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonErrorStatics2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonErrorStatics2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonErrorStatics2).GUID, Is.EqualTo(IID_IJsonErrorStatics2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStaticsTests.cs new file mode 100644 index 0000000000..4c4359a182 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonObjectStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonObjectStatics).GUID, Is.EqualTo(IID_IJsonObjectStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectTests.cs new file mode 100644 index 0000000000..e3e743c513 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonObjectTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonObject).GUID, Is.EqualTo(IID_IJsonObject)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValuesTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValuesTests.cs new file mode 100644 index 0000000000..9a4433536b --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonObjectWithDefaultValuesTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonObjectWithDefaultValuesTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonObjectWithDefaultValues).GUID, Is.EqualTo(IID_IJsonObjectWithDefaultValues)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2Tests.cs new file mode 100644 index 0000000000..8c3f98294d --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStatics2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonValueStatics2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonValueStatics2).GUID, Is.EqualTo(IID_IJsonValueStatics2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStaticsTests.cs new file mode 100644 index 0000000000..ad5afb8a56 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonValueStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonValueStatics).GUID, Is.EqualTo(IID_IJsonValueStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueTests.cs new file mode 100644 index 0000000000..e007f6ab9e --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.data.json/IJsonValueTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.data.json.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IJsonValueTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IJsonValue).GUID, Is.EqualTo(IID_IJsonValue)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStaticsTests.cs new file mode 100644 index 0000000000..ab432d95bf --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IRadioStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IRadioStatics).GUID, Is.EqualTo(IID_IRadioStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioTests.cs new file mode 100644 index 0000000000..8d826eeccc --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.devices.radios/IRadioTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.devices.radios.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IRadioTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IRadio).GUID, Is.EqualTo(IID_IRadio)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFaceTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFaceTests.cs new file mode 100644 index 0000000000..f9bb46dbe1 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IDetectedFaceTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IDetectedFaceTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDetectedFace).GUID, Is.EqualTo(IID_IDetectedFace)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStaticsTests.cs new file mode 100644 index 0000000000..f6afa870f3 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IFaceDetectorStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFaceDetectorStatics).GUID, Is.EqualTo(IID_IFaceDetectorStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorTests.cs new file mode 100644 index 0000000000..0e3430d973 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceDetectorTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IFaceDetectorTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFaceDetector).GUID, Is.EqualTo(IID_IFaceDetector)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStaticsTests.cs new file mode 100644 index 0000000000..bf2153fee8 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IFaceTrackerStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFaceTrackerStatics).GUID, Is.EqualTo(IID_IFaceTrackerStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerTests.cs new file mode 100644 index 0000000000..8fbc89fcd6 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.media.faceanalysis/IFaceTrackerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.media.faceanalysis.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IFaceTrackerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IFaceTracker).GUID, Is.EqualTo(IID_IFaceTracker)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResultTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResultTests.cs new file mode 100644 index 0000000000..00dd053305 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticActionResultTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IDiagnosticActionResultTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDiagnosticActionResult).GUID, Is.EqualTo(IID_IDiagnosticActionResult)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2Tests.cs new file mode 100644 index 0000000000..c536cb3e27 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvoker2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IDiagnosticInvoker2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDiagnosticInvoker2).GUID, Is.EqualTo(IID_IDiagnosticInvoker2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStaticsTests.cs new file mode 100644 index 0000000000..248edb7c25 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IDiagnosticInvokerStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDiagnosticInvokerStatics).GUID, Is.EqualTo(IID_IDiagnosticInvokerStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerTests.cs new file mode 100644 index 0000000000..c3ed5f4c18 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IDiagnosticInvokerTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IDiagnosticInvokerTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IDiagnosticInvoker).GUID, Is.EqualTo(IID_IDiagnosticInvoker)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReportTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReportTests.cs new file mode 100644 index 0000000000..c62c7b0119 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageReportTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessCpuUsageReportTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessCpuUsageReport).GUID, Is.EqualTo(IID_IProcessCpuUsageReport)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageTests.cs new file mode 100644 index 0000000000..4180614f7b --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessCpuUsageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessCpuUsageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessCpuUsage).GUID, Is.EqualTo(IID_IProcessCpuUsage)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2Tests.cs new file mode 100644 index 0000000000..448227373b --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfo2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiagnosticInfo2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiagnosticInfo2).GUID, Is.EqualTo(IID_IProcessDiagnosticInfo2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2Tests.cs new file mode 100644 index 0000000000..f8ab365fb4 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStatics2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiagnosticInfoStatics2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiagnosticInfoStatics2).GUID, Is.EqualTo(IID_IProcessDiagnosticInfoStatics2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStaticsTests.cs new file mode 100644 index 0000000000..d53a6671de --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiagnosticInfoStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiagnosticInfoStatics).GUID, Is.EqualTo(IID_IProcessDiagnosticInfoStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoTests.cs new file mode 100644 index 0000000000..ba84a6a897 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiagnosticInfoTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiagnosticInfoTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiagnosticInfo).GUID, Is.EqualTo(IID_IProcessDiagnosticInfo)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReportTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReportTests.cs new file mode 100644 index 0000000000..d33a2d72db --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageReportTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiskUsageReportTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiskUsageReport).GUID, Is.EqualTo(IID_IProcessDiskUsageReport)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageTests.cs new file mode 100644 index 0000000000..c6ef96abb1 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessDiskUsageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessDiskUsageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessDiskUsage).GUID, Is.EqualTo(IID_IProcessDiskUsage)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReportTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReportTests.cs new file mode 100644 index 0000000000..7b27ff7d4f --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageReportTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessMemoryUsageReportTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessMemoryUsageReport).GUID, Is.EqualTo(IID_IProcessMemoryUsageReport)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageTests.cs new file mode 100644 index 0000000000..f4df1cd88f --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/IProcessMemoryUsageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class IProcessMemoryUsageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(IProcessMemoryUsage).GUID, Is.EqualTo(IID_IProcessMemoryUsage)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReportTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReportTests.cs new file mode 100644 index 0000000000..ca1fe64bae --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageReportTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemCpuUsageReportTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemCpuUsageReport).GUID, Is.EqualTo(IID_ISystemCpuUsageReport)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageTests.cs new file mode 100644 index 0000000000..0cc2191857 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemCpuUsageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemCpuUsageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemCpuUsage).GUID, Is.EqualTo(IID_ISystemCpuUsage)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2Tests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2Tests.cs new file mode 100644 index 0000000000..68264482c1 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStatics2Tests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemDiagnosticInfoStatics2Tests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemDiagnosticInfoStatics2).GUID, Is.EqualTo(IID_ISystemDiagnosticInfoStatics2)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStaticsTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStaticsTests.cs new file mode 100644 index 0000000000..7094471d3a --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoStaticsTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemDiagnosticInfoStaticsTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemDiagnosticInfoStatics).GUID, Is.EqualTo(IID_ISystemDiagnosticInfoStatics)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoTests.cs new file mode 100644 index 0000000000..c9c57ee3db --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemDiagnosticInfoTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemDiagnosticInfoTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemDiagnosticInfo).GUID, Is.EqualTo(IID_ISystemDiagnosticInfo)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReportTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReportTests.cs new file mode 100644 index 0000000000..1dc3efefb5 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageReportTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemMemoryUsageReportTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemMemoryUsageReport).GUID, Is.EqualTo(IID_ISystemMemoryUsageReport)); + } +} diff --git a/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageTests.cs b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageTests.cs new file mode 100644 index 0000000000..97b72c9af3 --- /dev/null +++ b/tests/Interop/Windows/WinRT/winrt/windows.system.diagnostics/ISystemMemoryUsageTests.cs @@ -0,0 +1,22 @@ +// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. + +// Ported from winrt/windows.system.diagnostics.h in the Windows SDK for Windows 10.0.22621.0 +// Original source is Copyright © Microsoft. All rights reserved. + +using NUnit.Framework; +using System; +using System.Runtime.InteropServices; +using static TerraFX.Interop.Windows.IID; + +namespace TerraFX.Interop.WinRT.UnitTests; + +/// Provides validation of the struct. +public static unsafe partial class ISystemMemoryUsageTests +{ + /// Validates that the of the struct is correct. + [Test] + public static void GuidOfTest() + { + Assert.That(typeof(ISystemMemoryUsage).GUID, Is.EqualTo(IID_ISystemMemoryUsage)); + } +}