From 2cce2eea456e4f39513c6985ec87f023a6ffd5dc Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Tue, 26 Dec 2023 12:38:58 -0800 Subject: [PATCH] Remove a couple WinRT types that cause heavy conflicts and have a 1-to-1 with a builtin BCL type --- Directory.Build.props | 2 +- Directory.Packages.props | 4 +- .../windows.foundation.numerics/generate.rsp | 7 +++ .../winrt/windows.foundation/generate.rsp | 1 + generation/remap-namespaces.rsp | 8 +++ generation/remap-types.rsp | 1 + ...ProviderShowTimeFrameActivatedEventArgs.cs | 8 +-- .../IAppointment.cs | 16 ++--- .../IAppointmentCalendar.cs | 48 +++++++-------- .../IAppointmentCalendar2.cs | 8 +-- .../IAppointmentCalendarSyncManager.cs | 16 ++--- .../IAppointmentCalendarSyncManager2.cs | 16 ++--- .../IAppointmentConflictResult.cs | 8 +-- .../IAppointmentManagerForUser.cs | 32 +++++----- .../IAppointmentManagerStatics.cs | 24 ++++---- .../IAppointmentManagerStatics2.cs | 8 +-- .../IAppointmentStore.cs | 56 +++++++++--------- ...honeIncomingCallDismissedTriggerDetails.cs | 8 +-- .../ILockScreenCallEndRequestedEventArgs.cs | 8 +-- .../IPhoneCallHistoryEntry.cs | 16 ++--- .../IPhoneCallInfo.cs | 8 +-- .../IVoipPhoneCall.cs | 16 ++--- .../IContact3.cs | 16 ++--- .../IContactListSyncManager.cs | 16 ++--- .../IContactListSyncManager2.cs | 16 ++--- .../IClipboardHistoryItem.cs | 8 +-- .../IDataProviderRequest.cs | 8 +-- .../IDataRequest.cs | 8 +-- .../IAppInstallerInfo2.cs | 8 +-- .../windows.applicationmodel/IPackage3.cs | 8 +-- .../IPackageWithMetadata.cs | 8 +-- .../ISuspendingOperation.cs | 8 +-- ...uetoothLEAdvertisementReceivedEventArgs.cs | 8 +-- .../IGattValueChangedEventArgs.cs | 8 +-- .../ICivicAddress.cs | 8 +-- .../IGeocoordinate.cs | 8 +-- .../IGeolocatorStatics.cs | 16 ++--- .../windows.devices.geolocation/IGeovisit.cs | 8 +-- .../windows.devices.gpio/GpioChangeCount.cs | 2 + .../windows.devices.gpio/GpioChangeRecord.cs | 2 + .../IPrintTaskConfigurationSaveRequest.cs | 8 +-- .../IIppAttributeValueStatics.cs | 8 +-- .../IAccelerometerReading.cs | 8 +-- .../IAccelerometerShakenEventArgs.cs | 8 +-- .../IActivitySensorReading.cs | 8 +-- .../IActivitySensorStatics.cs | 16 ++--- .../IAltimeterReading.cs | 8 +-- .../IBarometerReading.cs | 8 +-- .../ICompassReading.cs | 8 +-- .../IGyrometerReading.cs | 8 +-- .../IHingeAngleReading.cs | 8 +-- .../IHumanPresenceSensorReading.cs | 8 +-- .../IInclinometerReading.cs | 8 +-- .../ILightSensorReading.cs | 8 +-- .../IMagnetometerReading.cs | 8 +-- .../IOrientationSensorReading.cs | 8 +-- .../IPedometerReading.cs | 8 +-- .../IPedometerStatics.cs | 16 ++--- .../IProximitySensorReading.cs | 8 +-- ...tationSensorOrientationChangedEventArgs.cs | 8 +-- ...ryptogramMaterialPackageCharacteristics.cs | 8 +-- ...CardCryptogramStorageKeyCharacteristics.cs | 8 +-- .../ISmartCardPinResetRequest.cs | 8 +-- .../windows.devices.sms/ISmsAppMessage.cs | 8 +-- .../ISmsBroadcastMessage.cs | 8 +-- .../windows.devices.sms/ISmsStatusMessage.cs | 16 ++--- .../windows.devices.sms/ISmsTextMessage.cs | 8 +-- .../windows.devices.sms/ISmsTextMessage2.cs | 8 +-- .../ISmsVoicemailMessage.cs | 8 +-- .../windows.devices.sms/ISmsWapMessage.cs | 8 +-- .../windows.foundation.numerics/Matrix3x2.cs | 28 --------- .../windows.foundation.numerics/Matrix4x4.cs | 58 ------------------- .../windows.foundation.numerics/Plane.cs | 17 ------ .../windows.foundation.numerics/Quaternion.cs | 22 ------- .../windows.foundation.numerics/Vector2.cs | 16 ----- .../windows.foundation.numerics/Vector3.cs | 19 ------ .../windows.foundation.numerics/Vector4.cs | 22 ------- .../winrt/windows.foundation/DateTime.xml | 12 ---- .../windows.foundation/IPropertyValue.cs | 16 ++--- .../IPropertyValueStatics.cs | 16 ++--- .../winrt/windows.foundation/TimeSpan.cs | 14 ----- .../winrt/windows.foundation/TimeSpan.xml | 12 ---- .../{DateTime.cs => WinRTDateTime.cs} | 6 +- .../winrt/windows.globalization/ICalendar.cs | 24 ++++---- .../IPrintTaskRequest.cs | 8 +-- .../IPrintTaskSourceRequestedArgs.cs | 8 +-- .../windows.media.audio/IAudioNodeEmitter.cs | 1 + .../windows.media.audio/IAudioNodeListener.cs | 1 + .../IAppBroadcastPreviewStreamVideoHeader.cs | 8 +-- .../IAppBroadcastStreamAudioHeader.cs | 8 +-- .../IAppBroadcastStreamVideoHeader.cs | 8 +-- .../IAppCaptureServices.cs | 8 +-- .../winrt/windows.media.core/MseTimeRange.cs | 2 + .../ICameraIntrinsics.cs | 1 + .../ICameraIntrinsics2.cs | 1 + .../ICameraIntrinsicsFactory.cs | 1 + .../IDepthCorrelatedCoordinateMapper.cs | 1 + .../IVideoTransformSphericalProjection.cs | 1 + .../IMediaPlaybackSphericalVideoProjection.cs | 1 + .../ISpeechRecognitionResult2.cs | 8 +-- .../PositionInformation.cs | 2 + .../TrackInformation.cs | 2 + .../winrt/windows.media/MediaTimeRange.cs | 2 + .../IConnectionProfile.cs | 16 ++--- .../IConnectionProfile2.cs | 16 ++--- .../IConnectionProfile3.cs | 8 +-- .../IConnectionProfile4.cs | 8 +-- .../IConnectivityInterval.cs | 8 +-- .../IDataPlanUsage.cs | 8 +-- ...horRawCoordinateSystemAdjustedEventArgs.cs | 1 + .../ISpatialAnchorStatics.cs | 1 + .../ISpatialCoordinateSystem.cs | 1 + .../ISpatialLocation.cs | 1 + .../ISpatialLocation2.cs | 1 + .../ISpatialLocator.cs | 1 + ...ISpatialLocatorAttachedFrameOfReference.cs | 1 + .../ISpatialStageFrameOfReference.cs | 1 + .../SpatialBoundingBox.cs | 2 + .../SpatialBoundingFrustum.cs | 2 + .../SpatialBoundingOrientedBox.cs | 2 + .../SpatialBoundingSphere.cs | 2 + .../windows.perception.spatial/SpatialRay.cs | 2 + .../IPerceptionTimestamp.cs | 8 +-- .../IPerceptionTimestampHelperStatics.cs | 8 +-- .../IWebAccountProviderTokenOperation.cs | 16 ++--- .../ICertificate.cs | 16 ++--- .../IChainBuildingParameters.cs | 16 ++--- .../ICmsTimestampInfo.cs | 8 +-- .../IProtectedAccessSuspendingEventArgs.cs | 8 +-- .../IProtectionPolicyManagerStatics2.cs | 8 +-- .../IBasicProperties.cs | 16 ++--- .../IImageProperties.cs | 16 ++--- .../IPickerClosingOperation.cs | 8 +-- ...rageLibraryContentChangedTriggerDetails.cs | 8 +-- .../windows.storage.streams/IDataReader.cs | 8 +-- .../windows.storage.streams/IDataWriter.cs | 8 +-- .../winrt/windows.storage/IStorageItem.cs | 8 +-- .../IDateTimeSettingsStatics.cs | 8 +-- .../ICompositionAnimation.cs | 1 + .../ICompositionClip2.cs | 1 + .../ICompositionEasingFunctionStatics.cs | 1 + .../ICompositionEllipseGeometry.cs | 1 + .../ICompositionGradientBrush.cs | 1 + .../ICompositionLineGeometry.cs | 1 + .../ICompositionLinearGradientBrush.cs | 1 + .../ICompositionPropertySet.cs | 1 + .../ICompositionRadialGradientBrush.cs | 1 + .../ICompositionRectangleGeometry.cs | 1 + .../ICompositionRoundedRectangleGeometry.cs | 1 + .../ICompositionShape.cs | 1 + .../ICompositionSurfaceBrush2.cs | 1 + .../ICompositionViewBox.cs | 1 + .../ICompositionVisualSurface.cs | 1 + .../windows.ui.composition/ICompositor.cs | 1 + .../windows.ui.composition/ICompositor7.cs | 1 + .../ICubicBezierEasingFunction.cs | 1 + .../windows.ui.composition/IDistantLight.cs | 1 + .../windows.ui.composition/IDropShadow.cs | 1 + .../windows.ui.composition/IPointLight.cs | 1 + .../IQuaternionKeyFrameAnimation.cs | 1 + .../windows.ui.composition/IRectangleClip.cs | 1 + .../windows.ui.composition/ISpotLight.cs | 1 + .../IVector2KeyFrameAnimation.cs | 1 + .../IVector2NaturalMotionAnimation.cs | 1 + .../IVector3KeyFrameAnimation.cs | 1 + .../IVector3NaturalMotionAnimation.cs | 1 + .../IVector4KeyFrameAnimation.cs | 1 + .../winrt/windows.ui.composition/IVisual.cs | 1 + .../winrt/windows.ui.composition/IVisual2.cs | 1 + .../windows.ui.notifications/IBadgeUpdater.cs | 8 +-- .../IScheduledTileNotification.cs | 8 +-- .../IScheduledTileNotificationFactory.cs | 8 +-- .../IScheduledToastNotification.cs | 8 +-- .../IScheduledToastNotificationFactory.cs | 16 ++--- .../ITileFlyoutUpdater.cs | 8 +-- .../windows.ui.notifications/ITileUpdater.cs | 16 ++--- .../IUserNotification.cs | 8 +-- 177 files changed, 664 insertions(+), 798 deletions(-) delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix3x2.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix4x4.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Plane.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Quaternion.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector2.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector3.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector4.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.xml delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.cs delete mode 100644 sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.xml rename sources/Interop/Windows/WinRT/winrt/windows.foundation/{DateTime.cs => WinRTDateTime.cs} (64%) diff --git a/Directory.Build.props b/Directory.Build.props index 2ba19706df..b2e800cd6b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -47,7 +47,7 @@ $(BaseArtifactsPath)pkg/$(Configuration)/ TerraFX.Interop.Windows TerraFX.Interop - 10.0.22621.3 + 10.0.22621.4 rc1 pr diff --git a/Directory.Packages.props b/Directory.Packages.props index 64f89d6005..d3272eb7f0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,8 +12,8 @@ - - + + diff --git a/generation/WinRT/winrt/windows.foundation.numerics/generate.rsp b/generation/WinRT/winrt/windows.foundation.numerics/generate.rsp index d9d3b30919..c86810ea5c 100644 --- a/generation/WinRT/winrt/windows.foundation.numerics/generate.rsp +++ b/generation/WinRT/winrt/windows.foundation.numerics/generate.rsp @@ -1,6 +1,13 @@ @../../../settings.rsp @../../../remap.rsp --exclude +ABI::Windows::Foundation::Numerics::Matrix3x2 +ABI::Windows::Foundation::Numerics::Matrix4x4 +ABI::Windows::Foundation::Numerics::Plane +ABI::Windows::Foundation::Numerics::Quaternion +ABI::Windows::Foundation::Numerics::Vector2 +ABI::Windows::Foundation::Numerics::Vector3 +ABI::Windows::Foundation::Numerics::Vector4 CHECK_NS_PREFIX_STATE DEPRECATEDENUMERATOR WINDOWS_FOUNDATION_FOUNDATIONCONTRACT_VERSION diff --git a/generation/WinRT/winrt/windows.foundation/generate.rsp b/generation/WinRT/winrt/windows.foundation/generate.rsp index 1728939ac5..93c2353b10 100644 --- a/generation/WinRT/winrt/windows.foundation/generate.rsp +++ b/generation/WinRT/winrt/windows.foundation/generate.rsp @@ -20,6 +20,7 @@ ABI::Windows::Foundation::Collections::IVectorView ABI::Windows::Foundation::Collections::MapChangedEventHandler ABI::Windows::Foundation::ITypedEventHandler +ABI::Windows::Foundation::TimeSpan CHECK_NS_PREFIX_STATE DEPRECATEDENUMERATOR IID_IAsyncAction diff --git a/generation/remap-namespaces.rsp b/generation/remap-namespaces.rsp index 6cad760053..19f58093f3 100644 --- a/generation/remap-namespaces.rsp +++ b/generation/remap-namespaces.rsp @@ -359,6 +359,8 @@ LVS=TerraFX.Interop.Windows LWA=TerraFX.Interop.Windows MA=TerraFX.Interop.Windows MARK=TerraFX.Interop.Windows +Matrix3x2=System.Numerics +Matrix4x4=System.Numerics MAX=TerraFX.Interop.Windows MAXIMUM=TerraFX.Interop.Windows MB=TerraFX.Interop.Windows @@ -456,6 +458,7 @@ PKCS12=TerraFX.Interop.Windows PKCS=TerraFX.Interop.Windows PKEY=TerraFX.Interop.Windows PLA=TerraFX.Interop.Windows +Plane=System.Numerics PM=TerraFX.Interop.Windows POINT=TerraFX.Interop.Windows POINTER=TerraFX.Interop.Windows @@ -478,6 +481,7 @@ PSN=TerraFX.Interop.Windows PSP=TerraFX.Interop.Windows PST=TerraFX.Interop.Windows QS=TerraFX.Interop.Windows +Quaternion=System.Numerics QUERY=TerraFX.Interop.Windows R2=TerraFX.Interop.Windows RB=TerraFX.Interop.Windows @@ -606,6 +610,7 @@ TD=TerraFX.Interop.Windows TF=TerraFX.Interop.Windows THREAD=TerraFX.Interop.Windows TIME=TerraFX.Interop.Windows +TimeSpan=System TIMESTAMP=TerraFX.Interop.Windows TLS1=TerraFX.Interop.Windows TME=TerraFX.Interop.Windows @@ -640,6 +645,9 @@ URLACTION=TerraFX.Interop.Windows URLPOLICY=TerraFX.Interop.Windows USN=TerraFX.Interop.Windows UTC=TerraFX.Interop.Windows +Vector2=System.Numerics +Vector3=System.Numerics +Vector4=System.Numerics VER=TerraFX.Interop.Windows VIEW=TerraFX.Interop.Windows VK=TerraFX.Interop.Windows diff --git a/generation/remap-types.rsp b/generation/remap-types.rsp index fde4a896bc..8bc7d3c916 100644 --- a/generation/remap-types.rsp +++ b/generation/remap-types.rsp @@ -11,6 +11,7 @@ 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 diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IAppointmentsProviderShowTimeFrameActivatedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IAppointmentsProviderShowTimeFrameActivatedEventArgs.cs index 8157a17ba1..04f5f3ecc4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IAppointmentsProviderShowTimeFrameActivatedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.activation/IAppointmentsProviderShowTimeFrameActivatedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_TimeToShow([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_TimeToShow([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppointmentsProviderShowTimeFrameActivatedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppointmentsProviderShowTimeFrameActivatedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_TimeToShow([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_TimeToShow([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_TimeToShow; + public delegate* unmanaged[MemberFunction] get_TimeToShow; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Duration; 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 5fa7863fa2..1e57a11992 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointment.cs @@ -74,17 +74,17 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppointment*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppointment*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointment*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointment*)Unsafe.AsPointer(ref this), value); } /// @@ -274,10 +274,10 @@ public HRESULT put_Uri([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeCla public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] - HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(8)] HRESULT get_Duration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -371,10 +371,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_StartTime; + public delegate* unmanaged[MemberFunction] get_StartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_StartTime; + public delegate* unmanaged[MemberFunction] put_StartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Duration; 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 935fd16e65..90a41cc013 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar.cs @@ -170,17 +170,17 @@ public HRESULT put_SummaryCardView([NativeTypeName("ABI::Windows::ApplicationMod /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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); } /// @@ -194,17 +194,17 @@ public HRESULT FindExceptionsFromMasterAsync(HSTRING masterLocalId, [NativeTypeN /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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); } /// @@ -218,9 +218,9 @@ public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Window /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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); } /// @@ -266,9 +266,9 @@ public HRESULT DeleteAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Win /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HRESULT DeleteAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + public HRESULT DeleteAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, instanceStartTime, asyncAction); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IAppointmentCalendar*)Unsafe.AsPointer(ref this), localId, instanceStartTime, asyncAction); } /// @@ -318,25 +318,25 @@ 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")] DateTime 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")] DateTime 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); [VtblIndex(21)] - HRESULT FindAllInstancesAsync(HSTRING masterLocalId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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); [VtblIndex(24)] - HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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); @@ -354,7 +354,7 @@ public interface Interface : IInspectable.Interface HRESULT DeleteAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(30)] - HRESULT DeleteAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + HRESULT DeleteAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartTime, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(31)] HRESULT SaveAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* pAppointment, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); @@ -418,25 +418,25 @@ 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; [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; [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; @@ -454,7 +454,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] DeleteAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] DeleteAppointmentInstanceAsync; + public delegate* unmanaged[MemberFunction] DeleteAppointmentInstanceAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SaveAppointmentAsync; 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 be30594604..89067bfe80 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendar2.cs @@ -258,9 +258,9 @@ public HRESULT TryForwardMeetingAsync([NativeTypeName("ABI::Windows::Application /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HRESULT TryProposeNewTimeForMeetingAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime newStartTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan newDuration, HSTRING subject, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + public 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) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[29]))((IAppointmentCalendar2*)Unsafe.AsPointer(ref this), meeting, newStartTime, newDuration, subject, comment, result); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[29]))((IAppointmentCalendar2*)Unsafe.AsPointer(ref this), meeting, newStartTime, newDuration, subject, comment, result); } /// @@ -343,7 +343,7 @@ public interface Interface : IInspectable.Interface 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")] DateTime newStartTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan newDuration, HSTRING subject, HSTRING comment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + 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); [VtblIndex(30)] HRESULT TryUpdateMeetingResponseAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* meeting, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse")] AppointmentParticipantResponse response, HSTRING subject, HSTRING comment, [NativeTypeName("boolean")] byte sendUpdate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -440,7 +440,7 @@ public partial struct Vtbl 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; + public delegate* unmanaged[MemberFunction]**, int> TryProposeNewTimeForMeetingAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse, HSTRING, HSTRING, boolean, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> TryUpdateMeetingResponseAsync; 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 d08deff916..fe30b9e903 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager.cs @@ -82,17 +82,17 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Appoi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IAppointmentCalendarSyncManager*)Unsafe.AsPointer(ref this), value); } /// @@ -125,10 +125,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus *")] AppointmentCalendarSyncStatus* value); [VtblIndex(7)] - HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -165,10 +165,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; + public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; + public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> SyncAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager2.cs index 91d733127d..01b5e753b8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentCalendarSyncManager2.cs @@ -82,17 +82,17 @@ public HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Appoi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentCalendarSyncManager2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentCalendarSyncManager2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IAppointmentCalendarSyncManager2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IAppointmentCalendarSyncManager2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus")] AppointmentCalendarSyncStatus value); [VtblIndex(7)] - HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(8)] - HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; + public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; + public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentConflictResult.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentConflictResult.cs index 816239825b..71ac97694d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentConflictResult.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentConflictResult.cs @@ -82,9 +82,9 @@ public HRESULT get_Type([NativeTypeName("ABI::Windows::ApplicationModel::Appoint /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Date([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Date([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentConflictResult*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentConflictResult*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Type([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::AppointmentConflictType *")] AppointmentConflictType* value); [VtblIndex(7)] - HRESULT get_Date([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Date([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Type; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Date; + public delegate* unmanaged[MemberFunction] get_Date; } } 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 cc2be34a65..6f6cb0364e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerForUser.cs @@ -106,9 +106,9 @@ public HRESULT ShowReplaceAppointmentWithPlacementAsync(HSTRING appointmentId, [ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result) + public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, appointment, selection, preferredPlacement, instanceStartDate, result); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, appointment, selection, preferredPlacement, instanceStartDate, result); } /// @@ -130,17 +130,17 @@ public HRESULT ShowRemoveAppointmentWithPlacementAsync(HSTRING appointmentId, [N /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) + public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, selection, preferredPlacement, instanceStartDate, result); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, selection, preferredPlacement, instanceStartDate, result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + public HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), timeToShow, duration, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), timeToShow, duration, result); } /// @@ -154,9 +154,9 @@ public HRESULT ShowAppointmentDetailsAsync(HSTRING appointmentId, [NativeTypeNam /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) + public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, instanceStartDate, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((IAppointmentManagerForUser*)Unsafe.AsPointer(ref this), appointmentId, instanceStartDate, result); } /// @@ -198,7 +198,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowReplaceAppointmentWithPlacementAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); [VtblIndex(10)] - HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); + HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); [VtblIndex(11)] HRESULT ShowRemoveAppointmentAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -207,16 +207,16 @@ public interface Interface : IInspectable.Interface HRESULT ShowRemoveAppointmentWithPlacementAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(13)] - HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); + HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); [VtblIndex(14)] - HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(15)] HRESULT ShowAppointmentDetailsAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(16)] - HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); + HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** result); [VtblIndex(17)] HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** result); @@ -262,7 +262,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentAsync; @@ -271,16 +271,16 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ShowTimeFrameAsync; + public delegate* unmanaged[MemberFunction] ShowTimeFrameAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; + public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics.cs index 7ac71a6696..0266ed2a21 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics.cs @@ -106,9 +106,9 @@ public HRESULT ShowReplaceAppointmentWithPlacementAsync(HSTRING appointmentId, [ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation) + public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), appointmentId, appointment, selection, preferredPlacement, instanceStartDate, operation); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[10]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), appointmentId, appointment, selection, preferredPlacement, instanceStartDate, operation); } /// @@ -130,17 +130,17 @@ public HRESULT ShowRemoveAppointmentWithPlacementAsync(HSTRING appointmentId, [N /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), appointmentId, selection, preferredPlacement, instanceStartDate, operation); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[13]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), appointmentId, selection, preferredPlacement, instanceStartDate, operation); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + public HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), timeToShow, duration, asyncAction); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppointmentManagerStatics*)Unsafe.AsPointer(ref this), timeToShow, duration, asyncAction); } public interface Interface : IInspectable.Interface @@ -158,7 +158,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowReplaceAppointmentWithPlacementAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(10)] - HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); + HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(11)] HRESULT ShowRemoveAppointmentAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); @@ -167,10 +167,10 @@ public interface Interface : IInspectable.Interface HRESULT ShowRemoveAppointmentWithPlacementAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(13)] - HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(14)] - HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + HRESULT ShowTimeFrameAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime timeToShow, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); } public partial struct Vtbl @@ -207,7 +207,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentAsync; @@ -216,9 +216,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ShowTimeFrameAsync; + public delegate* unmanaged[MemberFunction] ShowTimeFrameAsync; } } 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 272895ab4f..d2f6e50a2d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentManagerStatics2.cs @@ -82,9 +82,9 @@ public HRESULT ShowAppointmentDetailsAsync(HSTRING appointmentId, [NativeTypeNam /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentManagerStatics2*)Unsafe.AsPointer(ref this), appointmentId, instanceStartDate, asyncAction); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppointmentManagerStatics2*)Unsafe.AsPointer(ref this), appointmentId, instanceStartDate, asyncAction); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT ShowAppointmentDetailsAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(7)] - HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING appointmentId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(8)] HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; + public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; 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 b23dd56a1a..676e641cdb 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.appointments/IAppointmentStore.cs @@ -106,9 +106,9 @@ public HRESULT GetAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Window /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT GetAppointmentInstanceAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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); } /// @@ -130,17 +130,17 @@ public HRESULT FindAppointmentCalendarsAsyncWithOptions([NativeTypeName("ABI::Wi /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT FindAppointmentsAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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); } /// @@ -154,9 +154,9 @@ public HRESULT FindConflictAsync([NativeTypeName("ABI::Windows::ApplicationModel /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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); } /// @@ -186,9 +186,9 @@ public HRESULT ShowReplaceAppointmentAsync(HSTRING localId, [NativeTypeName("ABI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation) + public HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, appointment, selection, preferredPlacement, instanceStartDate, operation); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[20]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, appointment, selection, preferredPlacement, instanceStartDate, operation); } /// @@ -202,9 +202,9 @@ public HRESULT ShowRemoveAppointmentAsync(HSTRING localId, [NativeTypeName("ABI: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) + public HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation) { - return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, selection, preferredPlacement, instanceStartDate, operation); + return ((delegate* unmanaged[MemberFunction]**, int>)(lpVtbl[22]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, selection, preferredPlacement, instanceStartDate, operation); } /// @@ -218,9 +218,9 @@ public HRESULT ShowAppointmentDetailsAsync(HSTRING localId, [NativeTypeName("ABI /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) + public HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, instanceStartDate, asyncAction); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[24]))((IAppointmentStore*)Unsafe.AsPointer(ref this), localId, instanceStartDate, asyncAction); } /// @@ -254,7 +254,7 @@ public interface Interface : IInspectable.Interface 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")] DateTime 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); @@ -263,16 +263,16 @@ public interface Interface : IInspectable.Interface 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")] DateTime 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")] DateTime 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); [VtblIndex(16)] - HRESULT FindConflictAsyncWithInstanceStart([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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); @@ -284,19 +284,19 @@ public interface Interface : IInspectable.Interface HRESULT ShowReplaceAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(20)] - HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); + HRESULT ShowReplaceAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); [VtblIndex(21)] HRESULT ShowRemoveAppointmentAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(22)] - HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); + HRESULT ShowRemoveAppointmentWithPlacementAndDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::Rect")] Rect selection, [NativeTypeName("ABI::Windows::UI::Popups::Placement")] Placement preferredPlacement, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** operation); [VtblIndex(23)] HRESULT ShowAppointmentDetailsAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(24)] - HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); + HRESULT ShowAppointmentDetailsWithDateAsync(HSTRING localId, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime instanceStartDate, [NativeTypeName("ABI::Windows::Foundation::IAsyncAction **")] IAsyncAction** asyncAction); [VtblIndex(25)] HRESULT ShowEditNewAppointmentAsync([NativeTypeName("ABI::Windows::ApplicationModel::Appointments::IAppointment *")] IAppointment* appointment, [NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **")] IAsyncOperation** operation); @@ -339,7 +339,7 @@ public partial struct Vtbl 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; @@ -348,16 +348,16 @@ public partial struct Vtbl 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; [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; @@ -369,19 +369,19 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowReplaceAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::Rect, ABI::Windows::UI::Popups::Placement, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; + public delegate* unmanaged[MemberFunction]**, int> ShowRemoveAppointmentWithPlacementAndDateAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsAsync; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::IAsyncAction **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; + public delegate* unmanaged[MemberFunction] ShowAppointmentDetailsWithDateAsync; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Appointments::IAppointment *, ABI::Windows::Foundation::__FIAsyncOperation_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> ShowEditNewAppointmentAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls.background/IPhoneIncomingCallDismissedTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls.background/IPhoneIncomingCallDismissedTriggerDetails.cs index ffa4be8119..439b4eaeb6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls.background/IPhoneIncomingCallDismissedTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls.background/IPhoneIncomingCallDismissedTriggerDetails.cs @@ -103,9 +103,9 @@ public HRESULT get_DisplayName(HSTRING* value) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] [Obsolete("PhoneIncomingCallDismissedTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.")] - public HRESULT get_DismissalTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DismissalTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IPhoneIncomingCallDismissedTriggerDetails*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IPhoneIncomingCallDismissedTriggerDetails*)Unsafe.AsPointer(ref this), value); } /// @@ -142,7 +142,7 @@ public interface Interface : IInspectable.Interface [VtblIndex(9)] [Obsolete("PhoneIncomingCallDismissedTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.")] - HRESULT get_DismissalTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DismissalTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(10)] [Obsolete("PhoneIncomingCallDismissedTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.")] @@ -188,7 +188,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] [Obsolete("PhoneIncomingCallDismissedTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.")] - public delegate* unmanaged[MemberFunction] get_DismissalTime; + public delegate* unmanaged[MemberFunction] get_DismissalTime; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] [Obsolete("PhoneIncomingCallDismissedTriggerDetails is deprecated and might not work for all platforms. For more info, see MSDN.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallEndRequestedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallEndRequestedEventArgs.cs index d4b7ede244..dd57f88520 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallEndRequestedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/ILockScreenCallEndRequestedEventArgs.cs @@ -82,9 +82,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::Call /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ILockScreenCallEndRequestedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ILockScreenCallEndRequestedEventArgs*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::Calls::ILockScreenCallEndCallDeferral **")] ILockScreenCallEndCallDeferral** value); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntry.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntry.cs index 84101f0b8d..ce5dcb74b0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntry.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallHistoryEntry.cs @@ -330,17 +330,17 @@ public HRESULT put_SourceIdKind([NativeTypeName("ABI::Windows::ApplicationModel: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[38]))((IPhoneCallHistoryEntry*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[38]))((IPhoneCallHistoryEntry*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[39]))((IPhoneCallHistoryEntry*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[39]))((IPhoneCallHistoryEntry*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -442,10 +442,10 @@ public interface Interface : IInspectable.Interface HRESULT put_SourceIdKind([NativeTypeName("ABI::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind")] PhoneCallHistorySourceIdKind value); [VtblIndex(38)] - HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(39)] - HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); } public partial struct Vtbl @@ -566,9 +566,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_SourceIdKind; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_StartTime; + public delegate* unmanaged[MemberFunction] get_StartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_StartTime; + public delegate* unmanaged[MemberFunction] put_StartTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallInfo.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallInfo.cs index 0bd495b701..06b8d654d5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallInfo.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IPhoneCallInfo.cs @@ -90,9 +90,9 @@ public HRESULT get_IsHoldSupported([NativeTypeName("boolean *")] byte* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IPhoneCallInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IPhoneCallInfo*)Unsafe.AsPointer(ref this), value); } /// @@ -128,7 +128,7 @@ public interface Interface : IInspectable.Interface HRESULT get_IsHoldSupported([NativeTypeName("boolean *")] byte* value); [VtblIndex(8)] - HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT get_PhoneNumber(HSTRING* value); @@ -168,7 +168,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsHoldSupported; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_StartTime; + public delegate* unmanaged[MemberFunction] get_StartTime; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PhoneNumber; 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 12aa39a29a..f05057c001 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.calls/IVoipPhoneCall.cs @@ -194,17 +194,17 @@ public HRESULT put_ContactName(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[22]))((IVoipPhoneCall*)Unsafe.AsPointer(ref this), value); } /// @@ -279,10 +279,10 @@ public interface Interface : IInspectable.Interface HRESULT put_ContactName(HSTRING value); [VtblIndex(21)] - HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(22)] - HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(23)] HRESULT get_CallMedia([NativeTypeName("ABI::Windows::ApplicationModel::Calls::VoipPhoneCallMedia *")] VoipPhoneCallMedia* value); @@ -361,10 +361,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_ContactName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_StartTime; + public delegate* unmanaged[MemberFunction] get_StartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_StartTime; + public delegate* unmanaged[MemberFunction] put_StartTime; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::Calls::VoipPhoneCallMedia *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CallMedia; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact3.cs index 6043ebd709..6fbc69b80b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContact3.cs @@ -82,17 +82,17 @@ public HRESULT get_ContactListId(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContact3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContact3*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT put_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContact3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContact3*)Unsafe.AsPointer(ref this), value); } /// @@ -261,10 +261,10 @@ public interface Interface : IInspectable.Interface HRESULT get_ContactListId(HSTRING* value); [VtblIndex(7)] - HRESULT get_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT put_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_DisplayPictureUserUpdateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(9)] HRESULT get_IsMe([NativeTypeName("boolean *")] byte* value); @@ -352,10 +352,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_ContactListId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DisplayPictureUserUpdateTime; + public delegate* unmanaged[MemberFunction] get_DisplayPictureUserUpdateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_DisplayPictureUserUpdateTime; + public delegate* unmanaged[MemberFunction] put_DisplayPictureUserUpdateTime; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IsMe; 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 e6cec47cbc..5274595808 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager.cs @@ -82,17 +82,17 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Conta /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContactListSyncManager*)Unsafe.AsPointer(ref this), value); } /// @@ -125,10 +125,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactListSyncStatus *")] ContactListSyncStatus* value); [VtblIndex(7)] - HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT SyncAsync([NativeTypeName("ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **")] IAsyncOperation** result); @@ -165,10 +165,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; + public delegate* unmanaged[MemberFunction] get_LastSuccessfulSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; + public delegate* unmanaged[MemberFunction] get_LastAttemptedSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIAsyncOperation_1_boolean_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> SyncAsync; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager2.cs index ecf21a2b5f..bb1dcd21b6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.contacts/IContactListSyncManager2.cs @@ -82,17 +82,17 @@ public HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Conta /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContactListSyncManager2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IContactListSyncManager2*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContactListSyncManager2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IContactListSyncManager2*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT put_Status([NativeTypeName("ABI::Windows::ApplicationModel::Contacts::ContactListSyncStatus")] ContactListSyncStatus value); [VtblIndex(7)] - HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_LastSuccessfulSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(8)] - HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_LastAttemptedSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; + public delegate* unmanaged[MemberFunction] put_LastSuccessfulSyncTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; + public delegate* unmanaged[MemberFunction] put_LastAttemptedSyncTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItem.cs index a7eb7fb28f..512ce2df14 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IClipboardHistoryItem.cs @@ -82,9 +82,9 @@ public HRESULT get_Id(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IClipboardHistoryItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IClipboardHistoryItem*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id(HSTRING* value); [VtblIndex(7)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT get_Content([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IDataPackageView **")] IDataPackageView** value); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::DataTransfer::IDataPackageView **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Content; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataProviderRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataProviderRequest.cs index 32266e9e77..a58ce3fc16 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataProviderRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataProviderRequest.cs @@ -82,9 +82,9 @@ public HRESULT get_FormatId(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDataProviderRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDataProviderRequest*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_FormatId(HSTRING* value); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IDataProviderDeferral **")] IDataProviderDeferral** value); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_FormatId; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (ABI::Windows::ApplicationModel::DataTransfer::IDataProviderDeferral **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeferral; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataRequest.cs index 72eccb7861..90aff1db5c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel.datatransfer/IDataRequest.cs @@ -90,9 +90,9 @@ public HRESULT put_Data([NativeTypeName("ABI::Windows::ApplicationModel::DataTra /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IDataRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IDataRequest*)Unsafe.AsPointer(ref this), value); } /// @@ -120,7 +120,7 @@ public interface Interface : IInspectable.Interface HRESULT put_Data([NativeTypeName("ABI::Windows::ApplicationModel::DataTransfer::IDataPackage *")] IDataPackage* value); [VtblIndex(8)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT FailWithDisplayText(HSTRING value); @@ -157,7 +157,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] put_Data; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (HSTRING) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] FailWithDisplayText; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs index 5fcd4f5473..62cec08621 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IAppInstallerInfo2.cs @@ -138,9 +138,9 @@ public HRESULT get_Version([NativeTypeName("ABI::Windows::ApplicationModel::Pack /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_LastChecked([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastChecked([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IAppInstallerInfo2*)Unsafe.AsPointer(ref this), value); } /// @@ -218,7 +218,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Version([NativeTypeName("ABI::Windows::ApplicationModel::PackageVersion *")] PackageVersion* value); [VtblIndex(14)] - HRESULT get_LastChecked([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastChecked([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(15)] HRESULT get_PausedUntil([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **")] IReference** value); @@ -285,7 +285,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Version; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastChecked; + public delegate* unmanaged[MemberFunction] get_LastChecked; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_PausedUntil; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs index 3bdcd1ab54..b6d4098d9e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackage3.cs @@ -82,9 +82,9 @@ public HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::IPack /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_InstalledDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_InstalledDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IPackage3*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IPackage3*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Status([NativeTypeName("ABI::Windows::ApplicationModel::IPackageStatus **")] IPackageStatus** value); [VtblIndex(7)] - HRESULT get_InstalledDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + 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); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Status; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_InstalledDate; + 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; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageWithMetadata.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageWithMetadata.cs index 226b28bcf4..edfcdf6161 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageWithMetadata.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/IPackageWithMetadata.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_InstallDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_InstallDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPackageWithMetadata*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPackageWithMetadata*)Unsafe.AsPointer(ref this), value); } /// @@ -99,7 +99,7 @@ public HRESULT Launch(HSTRING parameters) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_InstallDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_InstallDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT GetThumbnailToken(HSTRING* value); @@ -131,7 +131,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_InstallDate; + public delegate* unmanaged[MemberFunction] get_InstallDate; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetThumbnailToken; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/ISuspendingOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/ISuspendingOperation.cs index d00ce69b8f..ace9eaaa79 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/ISuspendingOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.applicationmodel/ISuspendingOperation.cs @@ -82,9 +82,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::ISus /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISuspendingOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISuspendingOperation*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::ApplicationModel::ISuspendingDeferral **")] ISuspendingDeferral** deferral); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementReceivedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementReceivedEventArgs.cs index 9a91012eae..f052954d5a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementReceivedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.advertisement/IBluetoothLEAdvertisementReceivedEventArgs.cs @@ -98,9 +98,9 @@ public HRESULT get_AdvertisementType([NativeTypeName("ABI::Windows::Devices::Blu /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IBluetoothLEAdvertisementReceivedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IBluetoothLEAdvertisementReceivedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT get_AdvertisementType([NativeTypeName("ABI::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType *")] BluetoothLEAdvertisementType* value); [VtblIndex(9)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(10)] HRESULT get_Advertisement([NativeTypeName("ABI::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement **")] IBluetoothLEAdvertisement** value); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_AdvertisementType; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Advertisement; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattValueChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattValueChangedEventArgs.cs index d9473ed46a..5e9544ab3d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattValueChangedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.bluetooth.genericattributeprofile/IGattValueChangedEventArgs.cs @@ -82,9 +82,9 @@ public HRESULT get_CharacteristicValue([NativeTypeName("ABI::Windows::Storage::S /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* timestamp) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* timestamp) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IGattValueChangedEventArgs*)Unsafe.AsPointer(ref this), timestamp); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IGattValueChangedEventArgs*)Unsafe.AsPointer(ref this), timestamp); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_CharacteristicValue([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer **")] IBuffer** value); [VtblIndex(7)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* timestamp); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* timestamp); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CharacteristicValue; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/ICivicAddress.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/ICivicAddress.cs index 5d7968a176..623da0a2fc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/ICivicAddress.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/ICivicAddress.cs @@ -106,9 +106,9 @@ public HRESULT get_PostalCode(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ICivicAddress*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ICivicAddress*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -126,7 +126,7 @@ public interface Interface : IInspectable.Interface HRESULT get_PostalCode(HSTRING* value); [VtblIndex(10)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -163,6 +163,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_PostalCode; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeocoordinate.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeocoordinate.cs index 76decc965e..e77bdaf8b9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeocoordinate.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeocoordinate.cs @@ -133,9 +133,9 @@ public HRESULT get_Speed([NativeTypeName("ABI::Windows::Foundation::__FIReferenc /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IGeocoordinate*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IGeocoordinate*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -165,7 +165,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Speed([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_double_t **")] IReference** value); [VtblIndex(13)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -214,6 +214,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Speed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } 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 5d5afdbd93..e3de305b8f 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")] DateTime 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")] DateTime 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")] DateTime 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")] DateTime 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/IGeovisit.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisit.cs index 4669fcd450..10fff69fb0 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisit.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.geolocation/IGeovisit.cs @@ -90,9 +90,9 @@ public HRESULT get_StateChange([NativeTypeName("ABI::Windows::Devices::Geolocati /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IGeovisit*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IGeovisit*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface HRESULT get_StateChange([NativeTypeName("ABI::Windows::Devices::Geolocation::VisitStateChange *")] VisitStateChange* value); [VtblIndex(8)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_StateChange; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeCount.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeCount.cs index 099371af54..214a260b7f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeCount.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeCount.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.devices.gpio.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeRecord.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeRecord.cs index eab5985e65..b0c9d5fb29 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeRecord.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.gpio/GpioChangeRecord.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.devices.gpio.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfigurationSaveRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfigurationSaveRequest.cs index 194499065f..67f81afc95 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfigurationSaveRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers.extensions/IPrintTaskConfigurationSaveRequest.cs @@ -98,9 +98,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Devices::Printers::Ext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IPrintTaskConfigurationSaveRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IPrintTaskConfigurationSaveRequest*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral **")] IPrintTaskConfigurationSaveRequestedDeferral** deferral); [VtblIndex(9)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; } } 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 0cf6df4df6..48ede9341d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.printers/IIppAttributeValueStatics.cs @@ -162,9 +162,9 @@ public HRESULT CreateOctetStringArray([NativeTypeName("ABI::Windows::Foundation: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) + public HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), value, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((IIppAttributeValueStatics*)Unsafe.AsPointer(ref this), value, result); } /// @@ -419,7 +419,7 @@ public interface Interface : IInspectable.Interface 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")] DateTime value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); + HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); [VtblIndex(18)] HRESULT CreateDateTimeArray([NativeTypeName("ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CDateTime_t *")] IIterable* values, [NativeTypeName("ABI::Windows::Devices::Printers::IIppAttributeValue **")] IIppAttributeValue** result); @@ -558,7 +558,7 @@ public partial struct Vtbl 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; + public delegate* unmanaged[MemberFunction] CreateDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIIterable_1_Windows__CFoundation__CDateTime_t *, ABI::Windows::Devices::Printers::IIppAttributeValue **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]*, IIppAttributeValue**, int> CreateDateTimeArray; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading.cs index a3952187db..f10f72a958 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAccelerometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAccelerometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_AccelerationZ(double* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_AccelerationX(double* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AccelerationX; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerShakenEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerShakenEventArgs.cs index 2695bd4854..e6359a2f72 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerShakenEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAccelerometerShakenEventArgs.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAccelerometerShakenEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAccelerometerShakenEventArgs*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorReading.cs index cdcd4f51c6..3769019f4a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IActivitySensorReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IActivitySensorReading*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_Confidence([NativeTypeName("ABI::Windows::Devices::Sensors::A public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_Activity([NativeTypeName("ABI::Windows::Devices::Sensors::ActivityType *")] ActivityType* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::ActivityType *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Activity; 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 566572fed5..26d100cb78 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IActivitySensorStatics.cs @@ -98,17 +98,17 @@ public HRESULT FromIdAsync(HSTRING deviceId, [NativeTypeName("ABI::Windows::Foun /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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 @@ -123,10 +123,10 @@ public interface Interface : IInspectable.Interface 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")] DateTime 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")] DateTime 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 @@ -160,9 +160,9 @@ public partial struct Vtbl 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/IAltimeterReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading.cs index 8b9100efbb..565ed34cfe 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IAltimeterReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAltimeterReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAltimeterReading*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_AltitudeChangeInMeters(double* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_AltitudeChangeInMeters(double* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AltitudeChangeInMeters; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading.cs index 6f66685c96..58915b006e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IBarometerReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IBarometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IBarometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_StationPressureInHectopascals(double* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_StationPressureInHectopascals(double* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_StationPressureInHectopascals; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading.cs index cde92564da..614c845589 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ICompassReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ICompassReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ICompassReading*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_HeadingTrueNorth([NativeTypeName("ABI::Windows::Foundation::_ public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_HeadingMagneticNorth(double* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_HeadingMagneticNorth; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading.cs index 282c97e0f6..92457f7f16 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IGyrometerReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IGyrometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IGyrometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_AngularVelocityZ(double* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_AngularVelocityX(double* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AngularVelocityX; 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 f69bc85e63..d9f798db64 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHingeAngleReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IHingeAngleReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IHingeAngleReading*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_Properties([NativeTypeName("ABI::Windows::Foundation::Collect public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_AngleInDegrees(double* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (DOUBLE *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_AngleInDegrees; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading.cs index aae25fcb36..2911008a21 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IHumanPresenceSensorReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IHumanPresenceSensorReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IHumanPresenceSensorReading*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_DistanceInMillimeters([NativeTypeName("ABI::Windows::Foundati public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_Presence([NativeTypeName("ABI::Windows::Devices::Sensors::HumanPresence *")] HumanPresence* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::HumanPresence *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Presence; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading.cs index 51a7fd357d..5a0c5d7c59 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IInclinometerReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IInclinometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IInclinometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_YawDegrees(float* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_PitchDegrees(float* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (FLOAT *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PitchDegrees; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading.cs index f065e16820..02536b8584 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ILightSensorReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ILightSensorReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ILightSensorReading*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_IlluminanceInLux(float* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_IlluminanceInLux(float* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (FLOAT *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IlluminanceInLux; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading.cs index b4696ba1f7..9f35c3a421 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IMagnetometerReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IMagnetometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IMagnetometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -114,7 +114,7 @@ public HRESULT get_DirectionalAccuracy([NativeTypeName("ABI::Windows::Devices::S public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_MagneticFieldX(float* value); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (FLOAT *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_MagneticFieldX; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading.cs index 28039f4c51..cc3c67595f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IOrientationSensorReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IOrientationSensorReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IOrientationSensorReading*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_Quaternion([NativeTypeName("ABI::Windows::Devices::Sensors::I public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_RotationMatrix([NativeTypeName("ABI::Windows::Devices::Sensors::ISensorRotationMatrix **")] ISensorRotationMatrix** value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::ISensorRotationMatrix **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RotationMatrix; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerReading.cs index 58034eb40f..82f0d6192a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerReading.cs @@ -90,9 +90,9 @@ public HRESULT get_CumulativeSteps([NativeTypeName("INT32 *")] int* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IPedometerReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IPedometerReading*)Unsafe.AsPointer(ref this), value); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_CumulativeSteps([NativeTypeName("INT32 *")] int* value); [VtblIndex(8)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT get_CumulativeStepsDuration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_CumulativeSteps; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CumulativeStepsDuration; 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 3356beb2cd..0f401a31c4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IPedometerStatics.cs @@ -98,17 +98,17 @@ public HRESULT GetDeviceSelector(HSTRING* result) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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 @@ -123,10 +123,10 @@ public interface Interface : IInspectable.Interface HRESULT GetDeviceSelector(HSTRING* result); [VtblIndex(9)] - HRESULT GetSystemHistoryAsync([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime 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 @@ -160,9 +160,9 @@ public partial struct Vtbl 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/IProximitySensorReading.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorReading.cs index 21c858fce8..d8456d0e01 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorReading.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/IProximitySensorReading.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProximitySensorReading*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProximitySensorReading*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT get_DistanceInMillimeters([NativeTypeName("ABI::Windows::Foundati public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_IsDetected([NativeTypeName("boolean *")] byte* value); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_IsDetected; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorOrientationChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorOrientationChangedEventArgs.cs index 9154b30935..d6864a2918 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorOrientationChangedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sensors/ISimpleOrientationSensorOrientationChangedEventArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISimpleOrientationSensorOrientationChangedEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISimpleOrientationSensorOrientationChangedEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_Orientation([NativeTypeName("ABI::Windows::Devices::Sensors:: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_Orientation([NativeTypeName("ABI::Windows::Devices::Sensors::SimpleOrientation *")] SimpleOrientation* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (ABI::Windows::Devices::Sensors::SimpleOrientation *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Orientation; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramMaterialPackageCharacteristics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramMaterialPackageCharacteristics.cs index f172ab7c31..add20c95c4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramMaterialPackageCharacteristics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramMaterialPackageCharacteristics.cs @@ -90,9 +90,9 @@ public HRESULT get_StorageKeyName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_DateImported([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DateImported([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ISmartCardCryptogramMaterialPackageCharacteristics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ISmartCardCryptogramMaterialPackageCharacteristics*)Unsafe.AsPointer(ref this), value); } /// @@ -112,7 +112,7 @@ public interface Interface : IInspectable.Interface HRESULT get_StorageKeyName(HSTRING* value); [VtblIndex(8)] - HRESULT get_DateImported([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DateImported([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(9)] HRESULT get_PackageFormat([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat *")] SmartCardCryptogramMaterialPackageFormat* value); @@ -146,7 +146,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_StorageKeyName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DateImported; + public delegate* unmanaged[MemberFunction] get_DateImported; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PackageFormat; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramStorageKeyCharacteristics.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramStorageKeyCharacteristics.cs index 2282017469..230c428087 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramStorageKeyCharacteristics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardCryptogramStorageKeyCharacteristics.cs @@ -82,9 +82,9 @@ public HRESULT get_StorageKeyName(HSTRING* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISmartCardCryptogramStorageKeyCharacteristics*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISmartCardCryptogramStorageKeyCharacteristics*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_StorageKeyName(HSTRING* value); [VtblIndex(7)] - HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT get_Algorithm([NativeTypeName("ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm *")] SmartCardCryptogramStorageKeyAlgorithm* value); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_StorageKeyName; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DateCreated; + public delegate* unmanaged[MemberFunction] get_DateCreated; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Algorithm; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardPinResetRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardPinResetRequest.cs index 7d731832bb..8dca3d8e10 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardPinResetRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.smartcards/ISmartCardPinResetRequest.cs @@ -82,9 +82,9 @@ public HRESULT get_Challenge([NativeTypeName("ABI::Windows::Storage::Streams::IB /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISmartCardPinResetRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ISmartCardPinResetRequest*)Unsafe.AsPointer(ref this), value); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Challenge([NativeTypeName("ABI::Windows::Storage::Streams::IBuffer **")] IBuffer** value); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT GetDeferral([NativeTypeName("ABI::Windows::Devices::SmartCards::ISmartCardPinResetDeferral **")] ISmartCardPinResetDeferral** result); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Challenge; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (ABI::Windows::Devices::SmartCards::ISmartCardPinResetDeferral **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeferral; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsAppMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsAppMessage.cs index 2824ab9be7..1b58a12d0e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsAppMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsAppMessage.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsAppMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsAppMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -250,7 +250,7 @@ public HRESULT put_BinaryBody([NativeTypeName("ABI::Windows::Storage::Streams::I public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_To(HSTRING* value); @@ -338,7 +338,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_To; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsBroadcastMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsBroadcastMessage.cs index 776cee7250..a656b71037 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsBroadcastMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsBroadcastMessage.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsBroadcastMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsBroadcastMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -154,7 +154,7 @@ public HRESULT get_IsUserPopupRequested([NativeTypeName("boolean *")] byte* valu public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_To(HSTRING* value); @@ -206,7 +206,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_To; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsStatusMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsStatusMessage.cs index 57f11ee069..fe8bad0081 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsStatusMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsStatusMessage.cs @@ -114,17 +114,17 @@ public HRESULT get_MessageReferenceNumber([NativeTypeName("INT32 *")] int* value /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HRESULT get_ServiceCenterTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_ServiceCenterTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ISmsStatusMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ISmsStatusMessage*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HRESULT get_DischargeTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DischargeTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ISmsStatusMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ISmsStatusMessage*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -145,10 +145,10 @@ public interface Interface : IInspectable.Interface HRESULT get_MessageReferenceNumber([NativeTypeName("INT32 *")] int* value); [VtblIndex(11)] - HRESULT get_ServiceCenterTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_ServiceCenterTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(12)] - HRESULT get_DischargeTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DischargeTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -188,9 +188,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MessageReferenceNumber; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_ServiceCenterTimestamp; + public delegate* unmanaged[MemberFunction] get_ServiceCenterTimestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DischargeTime; + public delegate* unmanaged[MemberFunction] get_DischargeTime; } } 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 1826f63bed..c4a077b0d5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage.cs @@ -76,9 +76,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsTextMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsTextMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -193,7 +193,7 @@ public interface Interface : IInspectable.Interface { [VtblIndex(6)] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] @@ -267,7 +267,7 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] [Obsolete("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.")] diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage2.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage2.cs index 61f018d746..b0ea0c47cd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsTextMessage2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsTextMessage2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsTextMessage2*)Unsafe.AsPointer(ref this), value); } /// @@ -202,7 +202,7 @@ public HRESULT get_ProtocolId([NativeTypeName("INT32 *")] int* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_To(HSTRING* value); @@ -272,7 +272,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_To; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsVoicemailMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsVoicemailMessage.cs index 653b854907..b2922a22cf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsVoicemailMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsVoicemailMessage.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsVoicemailMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsVoicemailMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_MessageCount([NativeTypeName("ABI::Windows::Foundation::__FIR public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_To(HSTRING* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_To; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsWapMessage.cs b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsWapMessage.cs index 77428aa055..e23b3586ef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsWapMessage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.devices.sms/ISmsWapMessage.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsWapMessage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISmsWapMessage*)Unsafe.AsPointer(ref this), value); } /// @@ -130,7 +130,7 @@ public HRESULT get_Headers([NativeTypeName("ABI::Windows::Foundation::Collection public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_To(HSTRING* value); @@ -173,7 +173,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; [NativeTypeName("HRESULT (HSTRING *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_To; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix3x2.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix3x2.cs deleted file mode 100644 index f7fb0a301c..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix3x2.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Matrix3x2 -{ - /// - public float M11; - - /// - public float M12; - - /// - public float M21; - - /// - public float M22; - - /// - public float M31; - - /// - public float M32; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix4x4.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix4x4.cs deleted file mode 100644 index 5a0e73e552..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Matrix4x4.cs +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Matrix4x4 -{ - /// - public float M11; - - /// - public float M12; - - /// - public float M13; - - /// - public float M14; - - /// - public float M21; - - /// - public float M22; - - /// - public float M23; - - /// - public float M24; - - /// - public float M31; - - /// - public float M32; - - /// - public float M33; - - /// - public float M34; - - /// - public float M41; - - /// - public float M42; - - /// - public float M43; - - /// - public float M44; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Plane.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Plane.cs deleted file mode 100644 index 75de232477..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Plane.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Plane -{ - /// - [NativeTypeName("ABI::Windows::Foundation::Numerics::Vector3")] - public Vector3 Normal; - - /// - public float D; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Quaternion.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Quaternion.cs deleted file mode 100644 index d7e402e0d6..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Quaternion.cs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Quaternion -{ - /// - public float X; - - /// - public float Y; - - /// - public float Z; - - /// - public float W; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector2.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector2.cs deleted file mode 100644 index 0f118f0f66..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector2.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Vector2 -{ - /// - public float X; - - /// - public float Y; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector3.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector3.cs deleted file mode 100644 index ec855d32d3..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector3.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Vector3 -{ - /// - public float X; - - /// - public float Y; - - /// - public float Z; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector4.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector4.cs deleted file mode 100644 index a625b8a5cf..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation.numerics/Vector4.cs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.numerics.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct Vector4 -{ - /// - public float X; - - /// - public float Y; - - /// - public float Z; - - /// - public float W; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.xml b/sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.xml deleted file mode 100644 index 4100d45e3e..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Represents an instant in time, typically expressed as a date and time of day. - - - - The number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 1601 CE, UTC time. - - \ No newline at end of file diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValue.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValue.cs index 1c8f573b50..fad6a837ea 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValue.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValue.cs @@ -196,9 +196,9 @@ public HRESULT GetGuid(Guid* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IPropertyValue*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IPropertyValue*)Unsafe.AsPointer(ref this), value); } /// @@ -348,9 +348,9 @@ public HRESULT GetGuidArray([NativeTypeName("UINT32 *")] uint* valueLength, Guid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HRESULT GetDateTimeArray([NativeTypeName("UINT32 *")] uint* valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime **")] DateTime** value) + public HRESULT GetDateTimeArray([NativeTypeName("UINT32 *")] uint* valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime **")] WinRTDateTime** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((IPropertyValue*)Unsafe.AsPointer(ref this), valueLength, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((IPropertyValue*)Unsafe.AsPointer(ref this), valueLength, value); } /// @@ -433,7 +433,7 @@ public interface Interface : IInspectable.Interface HRESULT GetGuid(Guid* value); [VtblIndex(21)] - HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(22)] HRESULT GetTimeSpan([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -490,7 +490,7 @@ public interface Interface : IInspectable.Interface HRESULT GetGuidArray([NativeTypeName("UINT32 *")] uint* valueLength, Guid** value); [VtblIndex(40)] - HRESULT GetDateTimeArray([NativeTypeName("UINT32 *")] uint* valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime **")] DateTime** value); + HRESULT GetDateTimeArray([NativeTypeName("UINT32 *")] uint* valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime **")] WinRTDateTime** value); [VtblIndex(41)] HRESULT GetTimeSpanArray([NativeTypeName("UINT32 *")] uint* valueLength, [NativeTypeName("ABI::Windows::Foundation::TimeSpan **")] TimeSpan** value); @@ -572,7 +572,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetGuid; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] GetDateTime; + public delegate* unmanaged[MemberFunction] GetDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetTimeSpan; @@ -629,7 +629,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetGuidArray; [NativeTypeName("HRESULT (UINT32 *, ABI::Windows::Foundation::DateTime **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] GetDateTimeArray; + public delegate* unmanaged[MemberFunction] GetDateTimeArray; [NativeTypeName("HRESULT (UINT32 *, ABI::Windows::Foundation::TimeSpan **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetTimeSpanArray; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValueStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValueStatics.cs index 8e51e38535..9a72423489 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValueStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.foundation/IPropertyValueStatics.cs @@ -196,9 +196,9 @@ public HRESULT CreateGuid(Guid value, IInspectable** propertyValue) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value, IInspectable** propertyValue) + public HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value, IInspectable** propertyValue) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IPropertyValueStatics*)Unsafe.AsPointer(ref this), value, propertyValue); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[21]))((IPropertyValueStatics*)Unsafe.AsPointer(ref this), value, propertyValue); } /// @@ -348,9 +348,9 @@ public HRESULT CreateGuidArray([NativeTypeName("UINT32")] uint valueLength, Guid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HRESULT CreateDateTimeArray([NativeTypeName("UINT32")] uint valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value, IInspectable** propertyValue) + public HRESULT CreateDateTimeArray([NativeTypeName("UINT32")] uint valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value, IInspectable** propertyValue) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((IPropertyValueStatics*)Unsafe.AsPointer(ref this), valueLength, value, propertyValue); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[40]))((IPropertyValueStatics*)Unsafe.AsPointer(ref this), valueLength, value, propertyValue); } /// @@ -433,7 +433,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateGuid(Guid value, IInspectable** propertyValue); [VtblIndex(21)] - HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value, IInspectable** propertyValue); + HRESULT CreateDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value, IInspectable** propertyValue); [VtblIndex(22)] HRESULT CreateTimeSpan([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan value, IInspectable** propertyValue); @@ -490,7 +490,7 @@ public interface Interface : IInspectable.Interface HRESULT CreateGuidArray([NativeTypeName("UINT32")] uint valueLength, Guid* value, IInspectable** propertyValue); [VtblIndex(40)] - HRESULT CreateDateTimeArray([NativeTypeName("UINT32")] uint valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value, IInspectable** propertyValue); + HRESULT CreateDateTimeArray([NativeTypeName("UINT32")] uint valueLength, [NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value, IInspectable** propertyValue); [VtblIndex(41)] HRESULT CreateTimeSpanArray([NativeTypeName("UINT32")] uint valueLength, [NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value, IInspectable** propertyValue); @@ -572,7 +572,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateGuid; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, IInspectable **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateDateTime; + public delegate* unmanaged[MemberFunction] CreateDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan, IInspectable **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateTimeSpan; @@ -629,7 +629,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] CreateGuidArray; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::DateTime *, IInspectable **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateDateTimeArray; + public delegate* unmanaged[MemberFunction] CreateDateTimeArray; [NativeTypeName("HRESULT (UINT32, ABI::Windows::Foundation::TimeSpan *, IInspectable **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreateTimeSpanArray; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.cs deleted file mode 100644 index 9f4b508b12..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from winrt/windows.foundation.h in the Windows SDK for Windows 10.0.22621.0 -// Original source is Copyright © Microsoft. All rights reserved. - -namespace TerraFX.Interop.WinRT; - -/// -public partial struct TimeSpan -{ - /// - [NativeTypeName("INT64")] - public long Duration; -} diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.xml b/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.xml deleted file mode 100644 index bc7d1fe48f..0000000000 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/TimeSpan.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Represents a time interval. - - - - The time interval, in 100-nanosecond units. - - \ No newline at end of file diff --git a/sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.cs b/sources/Interop/Windows/WinRT/winrt/windows.foundation/WinRTDateTime.cs similarity index 64% rename from sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.cs rename to sources/Interop/Windows/WinRT/winrt/windows.foundation/WinRTDateTime.cs index f5d9dbcb84..97871c6a6c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.foundation/DateTime.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.foundation/WinRTDateTime.cs @@ -5,10 +5,10 @@ namespace TerraFX.Interop.WinRT; -/// -public partial struct DateTime +/// +public partial struct WinRTDateTime { - /// + /// [NativeTypeName("INT64")] public long UniversalTime; } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.globalization/ICalendar.cs b/sources/Interop/Windows/WinRT/winrt/windows.globalization/ICalendar.cs index e912805e72..4e56a56958 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.globalization/ICalendar.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.globalization/ICalendar.cs @@ -154,17 +154,17 @@ public HRESULT ChangeClock(HSTRING value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* result) + public HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ICalendar*)Unsafe.AsPointer(ref this), result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ICalendar*)Unsafe.AsPointer(ref this), result); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT SetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT SetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ICalendar*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ICalendar*)Unsafe.AsPointer(ref this), value); } /// @@ -778,9 +778,9 @@ public HRESULT Compare([NativeTypeName("ABI::Windows::Globalization::ICalendar * /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(94)] - public HRESULT CompareDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime other, [NativeTypeName("INT32 *")] int* result) + public HRESULT CompareDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime other, [NativeTypeName("INT32 *")] int* result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[94]))((ICalendar*)Unsafe.AsPointer(ref this), other, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[94]))((ICalendar*)Unsafe.AsPointer(ref this), other, result); } /// @@ -888,10 +888,10 @@ public interface Interface : IInspectable.Interface HRESULT ChangeClock(HSTRING value); [VtblIndex(16)] - HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* result); + HRESULT GetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* result); [VtblIndex(17)] - HRESULT SetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT SetDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(18)] HRESULT SetToNow(); @@ -1122,7 +1122,7 @@ public interface Interface : IInspectable.Interface HRESULT Compare([NativeTypeName("ABI::Windows::Globalization::ICalendar *")] ICalendar* other, [NativeTypeName("INT32 *")] int* result); [VtblIndex(94)] - HRESULT CompareDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime other, [NativeTypeName("INT32 *")] int* result); + HRESULT CompareDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime other, [NativeTypeName("INT32 *")] int* result); [VtblIndex(95)] HRESULT CopyTo([NativeTypeName("ABI::Windows::Globalization::ICalendar *")] ICalendar* other); @@ -1204,10 +1204,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ChangeClock; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] GetDateTime; + public delegate* unmanaged[MemberFunction] GetDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] SetDateTime; + public delegate* unmanaged[MemberFunction] SetDateTime; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetToNow; @@ -1438,7 +1438,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Compare; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, INT32 *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CompareDateTime; + public delegate* unmanaged[MemberFunction] CompareDateTime; [NativeTypeName("HRESULT (ABI::Windows::Globalization::ICalendar *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CopyTo; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskRequest.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskRequest.cs index b8bf0ad48f..792e79c225 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskRequest.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskRequest.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPrintTaskRequest*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPrintTaskRequest*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Graphics::Printing::IP public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT CreatePrintTask(HSTRING title, [NativeTypeName("ABI::Windows::Graphics::Printing::IPrintTaskSourceRequestedHandler *")] IPrintTaskSourceRequestedHandler* handler, [NativeTypeName("ABI::Windows::Graphics::Printing::IPrintTask **")] IPrintTask** task); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Graphics::Printing::IPrintTaskSourceRequestedHandler *, ABI::Windows::Graphics::Printing::IPrintTask **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CreatePrintTask; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskSourceRequestedArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskSourceRequestedArgs.cs index d146da77db..d4f97834ca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskSourceRequestedArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.printing/IPrintTaskSourceRequestedArgs.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPrintTaskSourceRequestedArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPrintTaskSourceRequestedArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -98,7 +98,7 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Graphics::Printing::IP public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT SetSource([NativeTypeName("ABI::Windows::Graphics::Printing::IPrintDocumentSource *")] IPrintDocumentSource* source); @@ -129,7 +129,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (ABI::Windows::Graphics::Printing::IPrintDocumentSource *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] SetSource; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeEmitter.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeEmitter.cs index 9f6cf3c28c..385c026e83 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeEmitter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeEmitter.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeListener.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeListener.cs index 7019f1801e..4311851fa5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeListener.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.audio/IAudioNodeListener.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamVideoHeader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamVideoHeader.cs index 4966f017a8..2ae7876782 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamVideoHeader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastPreviewStreamVideoHeader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastPreviewStreamVideoHeader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastPreviewStreamVideoHeader*)Unsafe.AsPointer(ref this), value); } /// @@ -106,7 +106,7 @@ public HRESULT get_FrameId([NativeTypeName("UINT64 *")] ulong* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_RelativeTimestamp([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -140,7 +140,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; + public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RelativeTimestamp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamAudioHeader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamAudioHeader.cs index 86c0489c23..435c427e3d 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamAudioHeader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamAudioHeader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastStreamAudioHeader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastStreamAudioHeader*)Unsafe.AsPointer(ref this), value); } /// @@ -114,7 +114,7 @@ public HRESULT get_FrameId([NativeTypeName("UINT64 *")] ulong* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_RelativeTimestamp([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -151,7 +151,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; + public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RelativeTimestamp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamVideoHeader.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamVideoHeader.cs index 9d60d3ce4d..ca419b45f8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamVideoHeader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppBroadcastStreamVideoHeader.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastStreamVideoHeader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IAppBroadcastStreamVideoHeader*)Unsafe.AsPointer(ref this), value); } /// @@ -122,7 +122,7 @@ public HRESULT get_FrameId([NativeTypeName("UINT64 *")] ulong* value) public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_AbsoluteTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_RelativeTimestamp([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -162,7 +162,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; + public delegate* unmanaged[MemberFunction] get_AbsoluteTimestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RelativeTimestamp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureServices.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureServices.cs index 84aee6081f..b522e70464 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureServices.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.capture/IAppCaptureServices.cs @@ -82,9 +82,9 @@ public HRESULT Record([NativeTypeName("ABI::Windows::Media::Capture::IAppCapture /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT RecordTimeSpan([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureRecordOperation **")] IAppCaptureRecordOperation** operation) + public HRESULT RecordTimeSpan([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureRecordOperation **")] IAppCaptureRecordOperation** operation) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppCaptureServices*)Unsafe.AsPointer(ref this), startTime, duration, operation); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IAppCaptureServices*)Unsafe.AsPointer(ref this), startTime, duration, operation); } /// @@ -109,7 +109,7 @@ public interface Interface : IInspectable.Interface HRESULT Record([NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureRecordOperation **")] IAppCaptureRecordOperation** operation); [VtblIndex(7)] - HRESULT RecordTimeSpan([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureRecordOperation **")] IAppCaptureRecordOperation** operation); + HRESULT RecordTimeSpan([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan duration, [NativeTypeName("ABI::Windows::Media::Capture::IAppCaptureRecordOperation **")] IAppCaptureRecordOperation** operation); [VtblIndex(8)] HRESULT get_CanCapture([NativeTypeName("boolean *")] byte* value); @@ -143,7 +143,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] Record; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, ABI::Windows::Media::Capture::IAppCaptureRecordOperation **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] RecordTimeSpan; + public delegate* unmanaged[MemberFunction] RecordTimeSpan; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_CanCapture; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.core/MseTimeRange.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.core/MseTimeRange.cs index 1b3892833b..7fc241885a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.core/MseTimeRange.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.core/MseTimeRange.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.media.core.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics.cs index 3b14c10776..66f04f10bf 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics2.cs index 7b2f9b41b9..3047bfffb8 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsics2.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsicsFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsicsFactory.cs index 0b72950c35..fc6a4656d2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsicsFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/ICameraIntrinsicsFactory.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IDepthCorrelatedCoordinateMapper.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IDepthCorrelatedCoordinateMapper.cs index 4ed052f095..a41dce1285 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IDepthCorrelatedCoordinateMapper.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.devices.core/IDepthCorrelatedCoordinateMapper.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IVideoTransformSphericalProjection.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IVideoTransformSphericalProjection.cs index b6423e4f6e..f91d814639 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IVideoTransformSphericalProjection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.effects/IVideoTransformSphericalProjection.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSphericalVideoProjection.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSphericalVideoProjection.cs index d9ea546b1f..1afec5756e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSphericalVideoProjection.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.playback/IMediaPlaybackSphericalVideoProjection.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult2.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult2.cs index 0ca63769a5..df0027777a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.speechrecognition/ISpeechRecognitionResult2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_PhraseStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_PhraseStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISpeechRecognitionResult2*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ISpeechRecognitionResult2*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_PhraseDuration([NativeTypeName("ABI::Windows::Foundation::Tim public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_PhraseStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_PhraseStartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_PhraseDuration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_PhraseStartTime; + public delegate* unmanaged[MemberFunction] get_PhraseStartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PhraseDuration; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/PositionInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/PositionInformation.cs index 15b8714bcd..3500e938bc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/PositionInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/PositionInformation.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.media.streaming.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/TrackInformation.cs b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/TrackInformation.cs index 06156cdcec..04a9c01625 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/TrackInformation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media.streaming/TrackInformation.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.media.streaming.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.media/MediaTimeRange.cs b/sources/Interop/Windows/WinRT/winrt/windows.media/MediaTimeRange.cs index 7b69b6a4fd..ac7d7ac210 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.media/MediaTimeRange.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.media/MediaTimeRange.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.media.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile.cs index 821b262e2b..d3e6c061d9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectionProfile.cs @@ -123,18 +123,18 @@ public HRESULT get_NetworkAdapter([NativeTypeName("ABI::Windows::Networking::Con [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - public HRESULT GetLocalUsage([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value) + public HRESULT GetLocalUsage([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IConnectionProfile*)Unsafe.AsPointer(ref this), StartTime, EndTime, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((IConnectionProfile*)Unsafe.AsPointer(ref this), StartTime, EndTime, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - public HRESULT GetLocalUsagePerRoamingStates([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::RoamingStates")] RoamingStates States, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value) + public HRESULT GetLocalUsagePerRoamingStates([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::RoamingStates")] RoamingStates States, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IConnectionProfile*)Unsafe.AsPointer(ref this), StartTime, EndTime, States, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[13]))((IConnectionProfile*)Unsafe.AsPointer(ref this), StartTime, EndTime, States, value); } /// @@ -167,11 +167,11 @@ public interface Interface : IInspectable.Interface [VtblIndex(12)] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - HRESULT GetLocalUsage([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value); + HRESULT GetLocalUsage([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value); [VtblIndex(13)] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - HRESULT GetLocalUsagePerRoamingStates([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::RoamingStates")] RoamingStates States, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value); + HRESULT GetLocalUsagePerRoamingStates([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime StartTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime EndTime, [NativeTypeName("ABI::Windows::Networking::Connectivity::RoamingStates")] RoamingStates States, [NativeTypeName("ABI::Windows::Networking::Connectivity::IDataUsage **")] IDataUsage** value); [VtblIndex(14)] HRESULT get_NetworkSecuritySettings([NativeTypeName("ABI::Windows::Networking::Connectivity::INetworkSecuritySettings **")] INetworkSecuritySettings** value); @@ -218,11 +218,11 @@ public partial struct Vtbl [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::IDataUsage **) __attribute__((stdcall))")] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - public delegate* unmanaged[MemberFunction] GetLocalUsage; + public delegate* unmanaged[MemberFunction] GetLocalUsage; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::DateTime, ABI::Windows::Networking::Connectivity::RoamingStates, ABI::Windows::Networking::Connectivity::IDataUsage **) __attribute__((stdcall))")] [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")] - public delegate* unmanaged[MemberFunction] GetLocalUsagePerRoamingStates; + public delegate* unmanaged[MemberFunction] GetLocalUsagePerRoamingStates; [NativeTypeName("HRESULT (ABI::Windows::Networking::Connectivity::INetworkSecuritySettings **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_NetworkSecuritySettings; 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 b7cacf50cc..4c6a7f243f 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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 343de0a70d..b24ece7cd2 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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 961ea82c62..c81be0cbb9 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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")] DateTime startTime, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime 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/IConnectivityInterval.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityInterval.cs index 872990ba2f..dc40308e52 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityInterval.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IConnectivityInterval.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* startTime) + public HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* startTime) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IConnectivityInterval*)Unsafe.AsPointer(ref this), startTime); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IConnectivityInterval*)Unsafe.AsPointer(ref this), startTime); } /// @@ -90,7 +90,7 @@ public HRESULT get_ConnectionDuration([NativeTypeName("ABI::Windows::Foundation: public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* startTime); + HRESULT get_StartTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* startTime); [VtblIndex(7)] HRESULT get_ConnectionDuration([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* duration); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_StartTime; + public delegate* unmanaged[MemberFunction] get_StartTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_ConnectionDuration; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IDataPlanUsage.cs b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IDataPlanUsage.cs index 44504eefee..396ff30c86 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IDataPlanUsage.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.networking.connectivity/IDataPlanUsage.cs @@ -82,9 +82,9 @@ public HRESULT get_MegabytesUsed([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_LastSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_LastSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDataPlanUsage*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IDataPlanUsage*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_MegabytesUsed([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(7)] - HRESULT get_LastSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_LastSyncTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_MegabytesUsed; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_LastSyncTime; + public delegate* unmanaged[MemberFunction] get_LastSyncTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorRawCoordinateSystemAdjustedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorRawCoordinateSystemAdjustedEventArgs.cs index 78a2e93b8a..5927272b8a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorRawCoordinateSystemAdjustedEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorRawCoordinateSystemAdjustedEventArgs.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStatics.cs index fbe1a16ff4..a70e5633ec 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialAnchorStatics.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialCoordinateSystem.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialCoordinateSystem.cs index 3978a9a961..2bc632da4b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialCoordinateSystem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialCoordinateSystem.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation.cs index 0b9d587d06..9e2b4a02f4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation2.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation2.cs index dbe5f20a51..368345c1ca 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocation2.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; 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 d3a66206a9..f163b181c9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocator.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocatorAttachedFrameOfReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocatorAttachedFrameOfReference.cs index 8bc225279f..8a118d9104 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocatorAttachedFrameOfReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialLocatorAttachedFrameOfReference.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReference.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReference.cs index 21312e99b0..d6895b1481 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReference.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/ISpatialStageFrameOfReference.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingBox.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingBox.cs index b69235b515..7669e7b1a6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingBox.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingBox.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.perception.spatial.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System.Numerics; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingFrustum.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingFrustum.cs index f2bbcf4c90..423ff3dab9 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingFrustum.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingFrustum.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.perception.spatial.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System.Numerics; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingOrientedBox.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingOrientedBox.cs index 236aeb3032..f34e797c1b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingOrientedBox.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingOrientedBox.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.perception.spatial.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System.Numerics; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingSphere.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingSphere.cs index a52345768c..18b5af86d2 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingSphere.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialBoundingSphere.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.perception.spatial.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System.Numerics; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialRay.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialRay.cs index 60b144df1e..86bb0d93af 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialRay.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception.spatial/SpatialRay.cs @@ -3,6 +3,8 @@ // Ported from winrt/windows.perception.spatial.h in the Windows SDK for Windows 10.0.22621.0 // Original source is Copyright © Microsoft. All rights reserved. +using System.Numerics; + namespace TerraFX.Interop.WinRT; /// diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestamp.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestamp.cs index 9cfd970491..bbce6a00f4 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestamp.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestamp.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT get_TargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_TargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPerceptionTimestamp*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPerceptionTimestamp*)Unsafe.AsPointer(ref this), value); } /// @@ -90,7 +90,7 @@ public HRESULT get_PredictionAmount([NativeTypeName("ABI::Windows::Foundation::T public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT get_TargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_TargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(7)] HRESULT get_PredictionAmount([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -118,7 +118,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_TargetTime; + public delegate* unmanaged[MemberFunction] get_TargetTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_PredictionAmount; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestampHelperStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestampHelperStatics.cs index c5cc8bfe9d..7470dd853c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestampHelperStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.perception/IPerceptionTimestampHelperStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT FromHistoricalTargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime targetTime, [NativeTypeName("ABI::Windows::Perception::IPerceptionTimestamp **")] IPerceptionTimestamp** value) + public HRESULT FromHistoricalTargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime targetTime, [NativeTypeName("ABI::Windows::Perception::IPerceptionTimestamp **")] IPerceptionTimestamp** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPerceptionTimestampHelperStatics*)Unsafe.AsPointer(ref this), targetTime, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IPerceptionTimestampHelperStatics*)Unsafe.AsPointer(ref this), targetTime, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT FromHistoricalTargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime targetTime, [NativeTypeName("ABI::Windows::Perception::IPerceptionTimestamp **")] IPerceptionTimestamp** value); + HRESULT FromHistoricalTargetTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime targetTime, [NativeTypeName("ABI::Windows::Perception::IPerceptionTimestamp **")] IPerceptionTimestamp** 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::Perception::IPerceptionTimestamp **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] FromHistoricalTargetTime; + public delegate* unmanaged[MemberFunction] FromHistoricalTargetTime; } } 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 ec0ea39272..22236d1443 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 @@ -90,17 +90,17 @@ public HRESULT get_ProviderResponses([NativeTypeName("ABI::Windows::Foundation:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT put_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IWebAccountProviderTokenOperation*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -112,10 +112,10 @@ public interface Interface : IInspectable.Interface 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")] DateTime value); + HRESULT put_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(9)] - HRESULT get_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_CacheExpirationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -146,9 +146,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_ProviderResponses; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_CacheExpirationTime; + public delegate* unmanaged[MemberFunction] put_CacheExpirationTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_CacheExpirationTime; + public delegate* unmanaged[MemberFunction] get_CacheExpirationTime; } } 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 1c07d4cb9f..6aa4cd486b 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 @@ -154,17 +154,17 @@ public HRESULT get_IsStronglyProtected([NativeTypeName("boolean *")] byte* value /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HRESULT get_ValidFrom([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_ValidFrom([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ICertificate*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[16]))((ICertificate*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HRESULT get_ValidTo([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_ValidTo([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ICertificate*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[17]))((ICertificate*)Unsafe.AsPointer(ref this), value); } /// @@ -224,10 +224,10 @@ public interface Interface : IInspectable.Interface HRESULT get_IsStronglyProtected([NativeTypeName("boolean *")] byte* value); [VtblIndex(16)] - HRESULT get_ValidFrom([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_ValidFrom([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(17)] - HRESULT get_ValidTo([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_ValidTo([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(18)] HRESULT get_EnhancedKeyUsages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t **")] IVectorView** value); @@ -291,10 +291,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_IsStronglyProtected; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_ValidFrom; + public delegate* unmanaged[MemberFunction] get_ValidFrom; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_ValidTo; + public delegate* unmanaged[MemberFunction] get_ValidTo; [NativeTypeName("HRESULT (ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_EnhancedKeyUsages; 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 f2049347b8..8c4f1f5527 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 @@ -82,17 +82,17 @@ public HRESULT get_EnhancedKeyUsages([NativeTypeName("ABI::Windows::Foundation:: /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT put_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IChainBuildingParameters*)Unsafe.AsPointer(ref this), value); } /// @@ -173,10 +173,10 @@ public interface Interface : IInspectable.Interface HRESULT get_EnhancedKeyUsages([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(7)] - HRESULT get_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT put_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_ValidationTimestamp([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(9)] HRESULT get_RevocationCheckEnabled([NativeTypeName("boolean *")] byte* value); @@ -231,10 +231,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_EnhancedKeyUsages; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_ValidationTimestamp; + public delegate* unmanaged[MemberFunction] get_ValidationTimestamp; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_ValidationTimestamp; + public delegate* unmanaged[MemberFunction] put_ValidationTimestamp; [NativeTypeName("HRESULT (boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_RevocationCheckEnabled; 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 418e290161..c88dbddb7d 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 @@ -90,9 +90,9 @@ public HRESULT get_Certificates([NativeTypeName("ABI::Windows::Foundation::Colle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ICmsTimestampInfo*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ICmsTimestampInfo*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -104,7 +104,7 @@ public interface Interface : IInspectable.Interface 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 *")] DateTime* value); + HRESULT get_Timestamp([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -135,6 +135,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Certificates; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Timestamp; + public delegate* unmanaged[MemberFunction] get_Timestamp; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectedAccessSuspendingEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectedAccessSuspendingEventArgs.cs index 60a70c0d0e..d372fbda17 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectedAccessSuspendingEventArgs.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectedAccessSuspendingEventArgs.cs @@ -82,9 +82,9 @@ public HRESULT get_Identities([NativeTypeName("ABI::Windows::Foundation::Collect /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProtectedAccessSuspendingEventArgs*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IProtectedAccessSuspendingEventArgs*)Unsafe.AsPointer(ref this), value); } /// @@ -101,7 +101,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Identities([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVectorView_1_HSTRING_t **")] IVectorView** value); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT GetDeferral([NativeTypeName("ABI::Windows::Foundation::IDeferral **")] IDeferral** result); @@ -132,7 +132,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Identities; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IDeferral **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] GetDeferral; 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 5b490fa084..fc2d81f6dc 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.security.enterprisedata/IProtectionPolicyManagerStatics2.cs @@ -74,9 +74,9 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT HasContentBeenRevokedSince(HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime since, [NativeTypeName("boolean *")] byte* result) + public HRESULT HasContentBeenRevokedSince(HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime since, [NativeTypeName("boolean *")] byte* result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProtectionPolicyManagerStatics2*)Unsafe.AsPointer(ref this), identity, since, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IProtectionPolicyManagerStatics2*)Unsafe.AsPointer(ref this), identity, since, result); } /// @@ -146,7 +146,7 @@ public HRESULT get_IsProtectionEnabled([NativeTypeName("boolean *")] byte* value public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT HasContentBeenRevokedSince(HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime since, [NativeTypeName("boolean *")] byte* result); + HRESULT HasContentBeenRevokedSince(HSTRING identity, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime since, [NativeTypeName("boolean *")] byte* result); [VtblIndex(7)] HRESULT CheckAccessForApp(HSTRING sourceIdentity, HSTRING appPackageFamilyName, [NativeTypeName("ABI::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult *")] ProtectionPolicyEvaluationResult* result); @@ -195,7 +195,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (HSTRING, ABI::Windows::Foundation::DateTime, boolean *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] HasContentBeenRevokedSince; + public delegate* unmanaged[MemberFunction] HasContentBeenRevokedSince; [NativeTypeName("HRESULT (HSTRING, HSTRING, ABI::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] CheckAccessForApp; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IBasicProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IBasicProperties.cs index 7d13a5bb3d..9316226f7e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IBasicProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IBasicProperties.cs @@ -82,17 +82,17 @@ public HRESULT get_Size([NativeTypeName("UINT64 *")] ulong* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_DateModified([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DateModified([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IBasicProperties*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IBasicProperties*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HRESULT get_ItemDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_ItemDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IBasicProperties*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((IBasicProperties*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -101,10 +101,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Size([NativeTypeName("UINT64 *")] ulong* value); [VtblIndex(7)] - HRESULT get_DateModified([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DateModified([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] - HRESULT get_ItemDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_ItemDate([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -132,9 +132,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Size; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DateModified; + public delegate* unmanaged[MemberFunction] get_DateModified; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_ItemDate; + public delegate* unmanaged[MemberFunction] get_ItemDate; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IImageProperties.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IImageProperties.cs index d5dce34fd9..954a6cb361 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IImageProperties.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.fileproperties/IImageProperties.cs @@ -98,17 +98,17 @@ public HRESULT get_Keywords([NativeTypeName("ABI::Windows::Foundation::Collectio /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IImageProperties*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IImageProperties*)Unsafe.AsPointer(ref this), value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HRESULT put_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT put_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IImageProperties*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((IImageProperties*)Unsafe.AsPointer(ref this), value); } /// @@ -219,10 +219,10 @@ public interface Interface : IInspectable.Interface HRESULT get_Keywords([NativeTypeName("ABI::Windows::Foundation::Collections::__FIVector_1_HSTRING_t **")] IVector** value); [VtblIndex(9)] - HRESULT get_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(10)] - HRESULT put_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT put_DateTaken([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(11)] HRESULT get_Width([NativeTypeName("UINT32 *")] uint* value); @@ -292,10 +292,10 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction]**, int> get_Keywords; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DateTaken; + public delegate* unmanaged[MemberFunction] get_DateTaken; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] put_DateTaken; + public delegate* unmanaged[MemberFunction] put_DateTaken; [NativeTypeName("HRESULT (UINT32 *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] get_Width; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IPickerClosingOperation.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IPickerClosingOperation.cs index bcb573c182..3b539ba92a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IPickerClosingOperation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.pickers.provider/IPickerClosingOperation.cs @@ -82,9 +82,9 @@ public HRESULT GetDeferral([NativeTypeName("ABI::Windows::Storage::Pickers::Prov /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IPickerClosingOperation*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IPickerClosingOperation*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT GetDeferral([NativeTypeName("ABI::Windows::Storage::Pickers::Provider::IPickerClosingDeferral **")] IPickerClosingDeferral** value); [VtblIndex(7)] - HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_Deadline([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetDeferral; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_Deadline; + public delegate* unmanaged[MemberFunction] get_Deadline; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageLibraryContentChangedTriggerDetails.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageLibraryContentChangedTriggerDetails.cs index 5b8b1f8c00..c14a84bc35 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageLibraryContentChangedTriggerDetails.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.search/IStorageLibraryContentChangedTriggerDetails.cs @@ -82,9 +82,9 @@ public HRESULT get_Folder([NativeTypeName("ABI::Windows::Storage::IStorageFolder /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateModifiedSinceQuery([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime lastQueryTime, [NativeTypeName("ABI::Windows::Storage::Search::IStorageItemQueryResult **")] IStorageItemQueryResult** result) + public HRESULT CreateModifiedSinceQuery([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime lastQueryTime, [NativeTypeName("ABI::Windows::Storage::Search::IStorageItemQueryResult **")] IStorageItemQueryResult** result) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IStorageLibraryContentChangedTriggerDetails*)Unsafe.AsPointer(ref this), lastQueryTime, result); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IStorageLibraryContentChangedTriggerDetails*)Unsafe.AsPointer(ref this), lastQueryTime, result); } public interface Interface : IInspectable.Interface @@ -93,7 +93,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Folder([NativeTypeName("ABI::Windows::Storage::IStorageFolder **")] IStorageFolder** value); [VtblIndex(7)] - HRESULT CreateModifiedSinceQuery([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime lastQueryTime, [NativeTypeName("ABI::Windows::Storage::Search::IStorageItemQueryResult **")] IStorageItemQueryResult** result); + HRESULT CreateModifiedSinceQuery([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime lastQueryTime, [NativeTypeName("ABI::Windows::Storage::Search::IStorageItemQueryResult **")] IStorageItemQueryResult** result); } public partial struct Vtbl @@ -121,6 +121,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Folder; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime, ABI::Windows::Storage::Search::IStorageItemQueryResult **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateModifiedSinceQuery; + public delegate* unmanaged[MemberFunction] CreateModifiedSinceQuery; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataReader.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataReader.cs index 96879db7b7..61a4b7b18b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataReader.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataReader.cs @@ -242,9 +242,9 @@ public HRESULT ReadString([NativeTypeName("UINT32")] uint codeUnitCount, HSTRING /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public HRESULT ReadDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT ReadDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IDataReader*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[27]))((IDataReader*)Unsafe.AsPointer(ref this), value); } /// @@ -345,7 +345,7 @@ public interface Interface : IInspectable.Interface HRESULT ReadString([NativeTypeName("UINT32")] uint codeUnitCount, HSTRING* value); [VtblIndex(27)] - HRESULT ReadDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT ReadDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(28)] HRESULT ReadTimeSpan([NativeTypeName("ABI::Windows::Foundation::TimeSpan *")] TimeSpan* value); @@ -445,7 +445,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] ReadString; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] ReadDateTime; + public delegate* unmanaged[MemberFunction] ReadDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] ReadTimeSpan; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataWriter.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataWriter.cs index 80b274a29a..2b54bb44ef 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataWriter.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage.streams/IDataWriter.cs @@ -226,9 +226,9 @@ public HRESULT WriteDouble(double value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HRESULT WriteDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value) + public HRESULT WriteDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IDataWriter*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[25]))((IDataWriter*)Unsafe.AsPointer(ref this), value); } /// @@ -347,7 +347,7 @@ public interface Interface : IInspectable.Interface HRESULT WriteDouble(double value); [VtblIndex(25)] - HRESULT WriteDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime value); + HRESULT WriteDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime value); [VtblIndex(26)] HRESULT WriteTimeSpan([NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan value); @@ -450,7 +450,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] WriteDouble; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] WriteDateTime; + public delegate* unmanaged[MemberFunction] WriteDateTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::TimeSpan) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] WriteTimeSpan; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs index 5a29bad72e..68a7516974 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.storage/IStorageItem.cs @@ -138,9 +138,9 @@ public HRESULT get_Attributes([NativeTypeName("ABI::Windows::Storage::FileAttrib /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IStorageItem*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((IStorageItem*)Unsafe.AsPointer(ref this), value); } /// @@ -178,7 +178,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Attributes([NativeTypeName("ABI::Windows::Storage::FileAttributes *")] FileAttributes* value); [VtblIndex(14)] - HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DateCreated([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(15)] HRESULT IsOfType([NativeTypeName("ABI::Windows::Storage::StorageItemTypes")] StorageItemTypes type, [NativeTypeName("boolean *")] byte* value); @@ -230,7 +230,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Attributes; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DateCreated; + public delegate* unmanaged[MemberFunction] get_DateCreated; [NativeTypeName("HRESULT (ABI::Windows::Storage::StorageItemTypes, boolean *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] IsOfType; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.system/IDateTimeSettingsStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.system/IDateTimeSettingsStatics.cs index 6604d130c5..7b99bb3239 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.system/IDateTimeSettingsStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.system/IDateTimeSettingsStatics.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT SetSystemDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime utcDateTime) + public HRESULT SetSystemDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime utcDateTime) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDateTimeSettingsStatics*)Unsafe.AsPointer(ref this), utcDateTime); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDateTimeSettingsStatics*)Unsafe.AsPointer(ref this), utcDateTime); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT SetSystemDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime utcDateTime); + HRESULT SetSystemDateTime([NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime utcDateTime); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] SetSystemDateTime; + public delegate* unmanaged[MemberFunction] SetSystemDateTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionAnimation.cs index 92136ef457..346f99487b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionClip2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionClip2.cs index 0cd25f7517..1c59be5df5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionClip2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionClip2.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEasingFunctionStatics.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEasingFunctionStatics.cs index 2f215b3822..eefe8318f6 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEasingFunctionStatics.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEasingFunctionStatics.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEllipseGeometry.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEllipseGeometry.cs index b0e4f62c44..57251c990a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEllipseGeometry.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionEllipseGeometry.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGradientBrush.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGradientBrush.cs index c95427f3a2..e97a18b874 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGradientBrush.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionGradientBrush.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLineGeometry.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLineGeometry.cs index bc70ddd4bc..7e8000377e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLineGeometry.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLineGeometry.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLinearGradientBrush.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLinearGradientBrush.cs index d883ecb3c4..42a4c45843 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLinearGradientBrush.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionLinearGradientBrush.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionPropertySet.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionPropertySet.cs index 60994bc746..3ae21d766b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionPropertySet.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionPropertySet.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRadialGradientBrush.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRadialGradientBrush.cs index 8397baa990..46e2d6901e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRadialGradientBrush.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRadialGradientBrush.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRectangleGeometry.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRectangleGeometry.cs index bb1589e10a..1c4054217c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRectangleGeometry.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRectangleGeometry.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRoundedRectangleGeometry.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRoundedRectangleGeometry.cs index f367c7e2fc..dbbd1ec542 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRoundedRectangleGeometry.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionRoundedRectangleGeometry.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionShape.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionShape.cs index 618352401d..165cbba544 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionShape.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionShape.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionSurfaceBrush2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionSurfaceBrush2.cs index 574783ee12..778d7107af 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionSurfaceBrush2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionSurfaceBrush2.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionViewBox.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionViewBox.cs index bb4068ffac..477098d68a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionViewBox.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionViewBox.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionVisualSurface.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionVisualSurface.cs index 62a69718dc..6ccd3b84fd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionVisualSurface.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositionVisualSurface.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor.cs index 5c74ba2cb8..d250576d57 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor7.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor7.cs index bb6a6fdbf8..b102df8c07 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor7.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICompositor7.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICubicBezierEasingFunction.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICubicBezierEasingFunction.cs index 0ee75c41ee..6038fae827 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICubicBezierEasingFunction.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ICubicBezierEasingFunction.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDistantLight.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDistantLight.cs index 367fd57628..849f74c35e 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDistantLight.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDistantLight.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDropShadow.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDropShadow.cs index b4505f3aae..2ec0837211 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDropShadow.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IDropShadow.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IPointLight.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IPointLight.cs index b690c205a5..5644a9ed10 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IPointLight.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IPointLight.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IQuaternionKeyFrameAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IQuaternionKeyFrameAnimation.cs index 3196f217f4..367a6deb98 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IQuaternionKeyFrameAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IQuaternionKeyFrameAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IRectangleClip.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IRectangleClip.cs index 8f26404b4f..dc3f2f7c72 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IRectangleClip.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IRectangleClip.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ISpotLight.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ISpotLight.cs index e5f90ca075..b3fa4be437 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ISpotLight.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/ISpotLight.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2KeyFrameAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2KeyFrameAnimation.cs index bb7f7e1be4..44a707ca7a 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2KeyFrameAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2KeyFrameAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2NaturalMotionAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2NaturalMotionAnimation.cs index b5d12cb452..0e11aedc23 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2NaturalMotionAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector2NaturalMotionAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3KeyFrameAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3KeyFrameAnimation.cs index 12e6cb13ba..0ca1c4493c 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3KeyFrameAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3KeyFrameAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3NaturalMotionAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3NaturalMotionAnimation.cs index dbe9aaa077..538b0f4889 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3NaturalMotionAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector3NaturalMotionAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector4KeyFrameAnimation.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector4KeyFrameAnimation.cs index 8104197399..dd93bd6134 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector4KeyFrameAnimation.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVector4KeyFrameAnimation.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual.cs index 47e02f06aa..2a0a856ab5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual2.cs index 77358abb84..241635b9ee 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual2.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition/IVisual2.cs @@ -4,6 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. using System; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop.Windows; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IBadgeUpdater.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IBadgeUpdater.cs index 5058b6c0ab..84f2915e37 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IBadgeUpdater.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IBadgeUpdater.cs @@ -98,9 +98,9 @@ public HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IU /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* badgeContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) + public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* badgeContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IBadgeUpdater*)Unsafe.AsPointer(ref this), badgeContent, startTime, requestedInterval); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IBadgeUpdater*)Unsafe.AsPointer(ref this), badgeContent, startTime, requestedInterval); } /// @@ -123,7 +123,7 @@ public interface Interface : IInspectable.Interface HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* badgeContent, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(9)] - HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* badgeContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); + HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* badgeContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(10)] HRESULT StopPeriodicUpdate(); @@ -160,7 +160,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StartPeriodicUpdate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; + public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] StopPeriodicUpdate; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotification.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotification.cs index 6d35d67283..52ded4c4dd 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotification.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotification.cs @@ -82,9 +82,9 @@ public HRESULT get_Content([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledTileNotification*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledTileNotification*)Unsafe.AsPointer(ref this), value); } /// @@ -141,7 +141,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Content([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument **")] IXmlDocument** value); [VtblIndex(7)] - HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT put_ExpirationTime([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *")] IReference* value); @@ -187,7 +187,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Content; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DeliveryTime; + public delegate* unmanaged[MemberFunction] get_DeliveryTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CDateTime_t *) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]*, int> put_ExpirationTime; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotificationFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotificationFactory.cs index 64d01d3b26..3445ec292f 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotificationFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledTileNotificationFactory.cs @@ -74,15 +74,15 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateScheduledTileNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledTileNotification **")] IScheduledTileNotification** value) + public HRESULT CreateScheduledTileNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledTileNotification **")] IScheduledTileNotification** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IScheduledTileNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IScheduledTileNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateScheduledTileNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledTileNotification **")] IScheduledTileNotification** value); + HRESULT CreateScheduledTileNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledTileNotification **")] IScheduledTileNotification** value); } public partial struct Vtbl @@ -107,6 +107,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Data::Xml::Dom::IXmlDocument *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::IScheduledTileNotification **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateScheduledTileNotification; + public delegate* unmanaged[MemberFunction] CreateScheduledTileNotification; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotification.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotification.cs index 8d40e0c49d..16deb8c6b5 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotification.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotification.cs @@ -82,9 +82,9 @@ public HRESULT get_Content([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDo /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledToastNotification*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledToastNotification*)Unsafe.AsPointer(ref this), value); } /// @@ -125,7 +125,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Content([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument **")] IXmlDocument** value); [VtblIndex(7)] - HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_DeliveryTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); [VtblIndex(8)] HRESULT get_SnoozeInterval([NativeTypeName("ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **")] IReference** value); @@ -165,7 +165,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Content; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_DeliveryTime; + public delegate* unmanaged[MemberFunction] get_DeliveryTime; [NativeTypeName("HRESULT (ABI::Windows::Foundation::__FIReference_1_Windows__CFoundation__CTimeSpan_t **) __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction]**, int> get_SnoozeInterval; diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotificationFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotificationFactory.cs index c2389dc064..5bdd0e7f73 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotificationFactory.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IScheduledToastNotificationFactory.cs @@ -74,26 +74,26 @@ public HRESULT GetTrustLevel(TrustLevel* trustLevel) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HRESULT CreateScheduledToastNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value) + public HRESULT CreateScheduledToastNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IScheduledToastNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IScheduledToastNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, value); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HRESULT CreateScheduledToastNotificationRecurring([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan snoozeInterval, [NativeTypeName("UINT32")] uint maximumSnoozeCount, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value) + public HRESULT CreateScheduledToastNotificationRecurring([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan snoozeInterval, [NativeTypeName("UINT32")] uint maximumSnoozeCount, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledToastNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, snoozeInterval, maximumSnoozeCount, value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((IScheduledToastNotificationFactory*)Unsafe.AsPointer(ref this), content, deliveryTime, snoozeInterval, maximumSnoozeCount, value); } public interface Interface : IInspectable.Interface { [VtblIndex(6)] - HRESULT CreateScheduledToastNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value); + HRESULT CreateScheduledToastNotification([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value); [VtblIndex(7)] - HRESULT CreateScheduledToastNotificationRecurring([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime deliveryTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan snoozeInterval, [NativeTypeName("UINT32")] uint maximumSnoozeCount, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value); + HRESULT CreateScheduledToastNotificationRecurring([NativeTypeName("ABI::Windows::Data::Xml::Dom::IXmlDocument *")] IXmlDocument* content, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime deliveryTime, [NativeTypeName("ABI::Windows::Foundation::TimeSpan")] TimeSpan snoozeInterval, [NativeTypeName("UINT32")] uint maximumSnoozeCount, [NativeTypeName("ABI::Windows::UI::Notifications::IScheduledToastNotification **")] IScheduledToastNotification** value); } public partial struct Vtbl @@ -118,9 +118,9 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] GetTrustLevel; [NativeTypeName("HRESULT (ABI::Windows::Data::Xml::Dom::IXmlDocument *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::IScheduledToastNotification **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateScheduledToastNotification; + public delegate* unmanaged[MemberFunction] CreateScheduledToastNotification; [NativeTypeName("HRESULT (ABI::Windows::Data::Xml::Dom::IXmlDocument *, ABI::Windows::Foundation::DateTime, ABI::Windows::Foundation::TimeSpan, UINT32, ABI::Windows::UI::Notifications::IScheduledToastNotification **) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] CreateScheduledToastNotificationRecurring; + public delegate* unmanaged[MemberFunction] CreateScheduledToastNotificationRecurring; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileFlyoutUpdater.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileFlyoutUpdater.cs index b9240f2640..a79ebb808b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileFlyoutUpdater.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileFlyoutUpdater.cs @@ -98,9 +98,9 @@ public HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IU /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileFlyoutContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) + public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileFlyoutContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ITileFlyoutUpdater*)Unsafe.AsPointer(ref this), tileFlyoutContent, startTime, requestedInterval); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((ITileFlyoutUpdater*)Unsafe.AsPointer(ref this), tileFlyoutContent, startTime, requestedInterval); } /// @@ -131,7 +131,7 @@ public interface Interface : IInspectable.Interface HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileFlyoutContent, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(9)] - HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileFlyoutContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); + HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileFlyoutContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(10)] HRESULT StopPeriodicUpdate(); @@ -171,7 +171,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StartPeriodicUpdate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; + public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] StopPeriodicUpdate; 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 1c60cc4dd1..5fe04a7e0b 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/ITileUpdater.cs @@ -138,9 +138,9 @@ public HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IU /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) + public HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContent, startTime, requestedInterval); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[14]))((ITileUpdater*)Unsafe.AsPointer(ref this), tileContent, startTime, requestedInterval); } /// @@ -162,9 +162,9 @@ public HRESULT StartPeriodicUpdateBatch([NativeTypeName("ABI::Windows::Foundatio /// [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")] DateTime 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]*, DateTime, 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 @@ -194,7 +194,7 @@ public interface Interface : IInspectable.Interface HRESULT StartPeriodicUpdate([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(14)] - HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] DateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); + HRESULT StartPeriodicUpdateAtTime([NativeTypeName("ABI::Windows::Foundation::IUriRuntimeClass *")] IUriRuntimeClass* tileContent, [NativeTypeName("ABI::Windows::Foundation::DateTime")] WinRTDateTime startTime, [NativeTypeName("ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence")] PeriodicUpdateRecurrence requestedInterval); [VtblIndex(15)] HRESULT StopPeriodicUpdate(); @@ -203,7 +203,7 @@ public interface Interface : IInspectable.Interface 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")] DateTime 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 @@ -252,7 +252,7 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] StartPeriodicUpdate; [NativeTypeName("HRESULT (ABI::Windows::Foundation::IUriRuntimeClass *, ABI::Windows::Foundation::DateTime, ABI::Windows::UI::Notifications::PeriodicUpdateRecurrence) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; + public delegate* unmanaged[MemberFunction] StartPeriodicUpdateAtTime; [NativeTypeName("HRESULT () __attribute__((stdcall))")] public delegate* unmanaged[MemberFunction] StopPeriodicUpdate; @@ -261,6 +261,6 @@ public partial struct Vtbl 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]*, DateTime, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatchAtTime; + public delegate* unmanaged[MemberFunction]*, WinRTDateTime, PeriodicUpdateRecurrence, int> StartPeriodicUpdateBatchAtTime; } } diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IUserNotification.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IUserNotification.cs index 3859035a1e..2897d15902 100644 --- a/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IUserNotification.cs +++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.notifications/IUserNotification.cs @@ -98,9 +98,9 @@ public HRESULT get_Id([NativeTypeName("UINT32 *")] uint* value) /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HRESULT get_CreationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value) + public HRESULT get_CreationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserNotification*)Unsafe.AsPointer(ref this), value); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[9]))((IUserNotification*)Unsafe.AsPointer(ref this), value); } public interface Interface : IInspectable.Interface @@ -115,7 +115,7 @@ public interface Interface : IInspectable.Interface HRESULT get_Id([NativeTypeName("UINT32 *")] uint* value); [VtblIndex(9)] - HRESULT get_CreationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] DateTime* value); + HRESULT get_CreationTime([NativeTypeName("ABI::Windows::Foundation::DateTime *")] WinRTDateTime* value); } public partial struct Vtbl @@ -149,6 +149,6 @@ public partial struct Vtbl public delegate* unmanaged[MemberFunction] get_Id; [NativeTypeName("HRESULT (ABI::Windows::Foundation::DateTime *) __attribute__((stdcall))")] - public delegate* unmanaged[MemberFunction] get_CreationTime; + public delegate* unmanaged[MemberFunction] get_CreationTime; } }